/* ============================================================
   BOOTSTRAP GUTTER RESTORATION
   reset.css zeroes all padding via * { padding: 0 }.
   Using !important + hard values so the reset can't win.
   ============================================================ */
.container,
.container-fluid,
.container-sm,
.container-md,
.container-lg,
.container-xl,
.container-xxl {
  padding-right: 15px !important;
  padding-left: 15px !important;
}

@media (min-width: 576px) {
  .container,
  .container-sm {
    padding-right: 20px !important;
    padding-left: 20px !important;
  }
}

.row {
  margin-right: -12px !important;
  margin-left: -12px !important;
}

.row > * {
  padding-right: 12px !important;
  padding-left: 12px !important;
}

/* Container & Layout - Removed custom container to use Bootstrap defaults */

/* Header */
.header-wrapper {
  position: sticky;
  top: 1rem;
  z-index: 100;
  padding: 0 1rem;
}

.app-header {
  max-width: 1300px;
  margin: 0 auto;
  padding: 1.25rem 2rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  background-color: rgba(252, 251, 247, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
  transition: all 0.3s ease;
}

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

.logo-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: transform 0.2s ease;
}

.logo-container:hover {
  transform: scale(1.02);
}

.logo-icon {

  align-items: center;
  justify-content: center;
}

.logo-text {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.5px;
  color: var(--text-primary);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--text-primary);
}

.btn {
  padding: 0.6rem 1.5rem;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-primary {
  background-color: var(--accent-orange);
  color: var(--bg-white);
  box-shadow: 0 4px 14px rgba(216, 125, 34, 0.2);
}

.btn-primary:hover {
  background-color: var(--accent-orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(216, 125, 34, 0.3);
}

.btn-outline {
  border: 1px solid #DCD8CF;
  color: var(--text-primary);
  background-color: transparent;
}

.btn-outline:hover {
  background-color: rgba(0, 0, 0, 0.03);
  transform: translateY(-2px);
}

.btn-dark {
  background-color: var(--footer-bg);
  color: var(--bg-white);
}

.btn-dark:hover {
  background-color: #222;
  transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
  padding: 6rem 0 6rem;
  position: relative;
  overflow: hidden;
  view-timeline: --hero-section;
}

@keyframes parallax-down {
  from {
    transform: translateY(-50px) rotate(0deg);
  }

  to {
    transform: translateY(150px) rotate(45deg);
  }
}

@keyframes parallax-up {
  from {
    transform: translateY(100px) rotate(45deg);
  }

  to {
    transform: translateY(-100px) rotate(90deg);
  }
}

.hero-background {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(circle at 60% 50%, rgba(216, 125, 34, 0.08) 0%, transparent 60%);
}

.hero-circle {
  position: absolute;
  right: 5%;
  top: 10%;
  width: 600px;
  height: 600px;
  border: 1px solid rgba(216, 125, 34, 0.15);
  border-radius: 50%;
  animation: parallax-down linear both;
  animation-timeline: --hero-section;
}

.hero-diamond {
  position: absolute;
  right: 15%;
  bottom: 0%;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(216, 125, 34, 0.15);
  transform: rotate(45deg);
  animation: parallax-up linear both;
  animation-timeline: --hero-section;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  animation: fade-in-up 1s ease-out both;
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--accent-orange);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  display: block;
}

.hero-title {
  font-size: 5rem;
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 2rem;
  letter-spacing: -1px;
}

.text-orange {
  color: var(--accent-orange);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  max-width: 600px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 1rem;
}

/* Ecosystem Section */
.ecosystem-section {
  padding: 6rem 0;
}

.section-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
  letter-spacing: -0.5px;
}

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

/* App Card Styling */
.ecosystem-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  height: 500px;
  display: flex;
  flex-direction: column;
  padding: 2.5rem;
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.4s ease;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.ecosystem-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12), inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.card-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
  transition: transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.ecosystem-card:hover .card-bg {
  transform: scale(1.08);
}

.card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  transition: background 0.5s ease;
}

.overlay-dark {
  background: linear-gradient(to right, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 100%);
}

.ecosystem-card:hover .overlay-dark {
  background: linear-gradient(to right, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.1) 100%);
}

.overlay-light {
  background: linear-gradient(to right, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.4) 100%);
}

.ecosystem-card:hover .overlay-light {
  background: linear-gradient(to right, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.1) 100%);
}

.card-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.text-light {
  color: var(--bg-white);
}

.text-dark {
  color: var(--text-primary);
}

.card-badge {
  display: inline-flex;
  align-items: center;
  background-color: var(--accent-orange);
  color: white;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  align-self: flex-start;
  margin-bottom: auto;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.text-dark .card-badge {
  background-color: #F1EFE9;
  color: var(--text-secondary);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.card-text-content {
  margin-bottom: 2rem;
  max-width: 85%;
}

.card-subtitle {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--accent-orange);
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: block;
}

.card-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.1;
}

.card-description {
  font-size: 1.1rem;
  opacity: 0.9;
  line-height: 1.5;
}

.card-link {
  font-weight: 600;
  color: var(--accent-orange);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.arrow {
  transition: transform 0.3s ease;
}

.ecosystem-card:hover .arrow {
  transform: translateX(8px);
}

.more-apps {
  text-align: center;
  margin-top: 4rem;
  padding: 4rem 0;
  background-color: #F6F5EF;
  border-radius: 24px;
}

.more-apps-icon {
  width: 48px;
  height: 48px;
  background-color: #EAE8E1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--text-secondary);
  transition: transform 0.5s ease;
}

.more-apps:hover .more-apps-icon {
  transform: rotate(180deg);
}

.more-apps-title {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.more-apps-subtitle {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Why Tredient Section */
.why-section {
  padding: 5rem 0;
  text-align: center;
}

.why-section .section-title {
  font-size: 4.5rem;
  line-height: 1.1;
  max-width: 1000px;
  margin: 0 auto 3rem;
}

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

.stat-card {
  background-color: var(--bg-white);
  padding: 2.5rem 1.5rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--accent-orange);
  margin-bottom: 1rem;
}

.stat-title {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.stat-description {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Scroll Reveals */
@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translateY(60px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal-on-scroll {
  animation: reveal-up linear both;
  animation-timeline: view();
  animation-range: entry 5% cover 25%;
}

.reveal-stagger-1 {
  animation-range: entry 5% cover 20%;
}

.reveal-stagger-2 {
  animation-range: entry 10% cover 25%;
}

.reveal-stagger-3 {
  animation-range: entry 15% cover 30%;
}

/* Investors Banner */
.investors-banner {
  background: linear-gradient(135deg, #F39324 0%, #C56F1D 100%);
  padding: 6rem 0;
  color: var(--bg-white);
  position: relative;
  overflow: hidden;
}

.investors-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  position: relative;
  z-index: 1;
  align-items: center;
}

.investors-banner .section-label {
  color: rgba(255, 255, 255, 0.9);
}

.investors-title {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.1;
  color: white;
}

.investors-text {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.investors-banner::after {
  content: '';
  position: absolute;
  right: -5%;
  top: -20%;
  width: 500px;
  height: 500px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  pointer-events: none;
}

/* Footer */
.app-footer {
  background-color: var(--footer-bg);
  color: var(--text-light);
  padding: 5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 2rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.footer-logo .logo-text {
  color: white;
}

.footer-mission {
  color: #999;
  max-width: 400px;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.footer-tagline {
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #666;
  font-weight: 600;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  color: white;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-links a {
  color: #999;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: white;
}

/* Reduced Motion Fallback */
@media (prefers-reduced-motion: reduce) {

  .hero-circle,
  .hero-diamond,
  .reveal-on-scroll {
    animation: none !important;
  }
}

/* Responsive */
@media (max-width: 992px) {
  .hero-title {
    font-size: 4rem;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .why-section .section-title {
    font-size: 3.5rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .investors-container {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 992px) {
  .app-header {
    padding: 1rem;
  }
  
  .header-container {
    flex-direction: column;
    gap: 1.2rem;
  }
  
  .main-nav {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
  }
  
  .main-nav .btn {
    width: 100%;
    margin-left: 0 !important;
    margin-top: 0.5rem;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding: 4rem 0 3rem !important;
  }

  .hero-title {
    font-size: 2.4rem !important;
  }

  .feature-title {
    font-size: 2.25rem !important;
  }

  .feature-image {
    height: 350px !important;
  }

  .section-title {
    font-size: 2.5rem !important;
  }

  /* Buttons: stay inline side-by-side, don't go full-width */
  .hero-actions {
    flex-direction: row !important;
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .hero-actions .btn {
    width: auto !important;
    flex: 1 1 auto;
    min-width: 140px;
  }

  .ecosystem-section {
    padding: 2rem 0;
  }

  /* Stat cards: compact on mobile */
  .why-section {
    padding: 3rem 0 !important;
  }

  .why-section .section-title {
    font-size: 1.8rem !important;
    margin-bottom: 1.5rem !important;
  }

  .stat-card {
    padding: 1.25rem 0.75rem !important;
    border-radius: 12px !important;
  }

  .stat-number {
    font-size: 2rem !important;
    margin-bottom: 0.25rem !important;
  }

  .stat-title {
    font-size: 0.75rem !important;
    line-height: 1.3;
  }
}

/* About Page Specifics */
.about-hero {
  padding: 6rem 0 4rem;
  max-width: 800px;
}

.about-hero .hero-title {
  font-size: 4rem;
}

.story-section {
  padding: 4rem 0 6rem;
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.story-image-wrapper {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.story-image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.8s ease;
}

.story-image-wrapper:hover .story-image {
  transform: scale(1.05);
}

.story-text {
  color: var(--text-secondary);
  font-size: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.principles-section {
  padding: 6rem 0;
}

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

.principle-card {
  background: var(--bg-white);
  border-radius: 16px;
  padding: 3rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.principle-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
}

.principle-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.principle-num {
  font-family: var(--font-heading);
  font-style: italic;
  color: var(--accent-orange);
  font-size: 1.25rem;
  font-weight: 600;
}

.principle-title {
  font-size: 1.25rem;
  font-weight: 700;
}

.principle-desc {
  color: var(--text-secondary);
  line-height: 1.6;
}

.platform-section {
  padding: 6rem 0 8rem;
}

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

.platform-card {
  background: #F9F8F4;
  border-radius: 16px;
  padding: 3rem;
  border: 1px solid rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease, background 0.3s ease;
}

.platform-card:hover {
  transform: translateY(-5px);
  background: var(--bg-white);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
}

.platform-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.platform-card-title {
  font-size: 1.5rem;
  font-weight: 700;
}

.badge-light {
  background-color: #F1EFE9;
  color: var(--accent-orange);
  box-shadow: none;
}

.platform-card-desc {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 2rem;
}

/* Centered Investors Banner */
.centered-investors-banner {
  background: linear-gradient(135deg, #F39324 0%, #C56F1D 100%);
  padding: 8rem 0;
  color: var(--bg-white);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.centered-investors-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

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

.border-white {
  border-color: rgba(255, 255, 255, 0.4);
}

.border-white:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.8);
}

.text-white {
  color: white;
}

.centered-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 3rem;
}

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

  .principles-grid {
    grid-template-columns: 1fr;
  }

  .platform-grid {
    grid-template-columns: 1fr;
  }
}

/* App Feature Sections (New Homepage Layout) */
.features-container {
  display: flex;
  flex-direction: column;
  gap: 8rem;
  padding: 4rem 0;
}

.app-feature-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

@media (max-width: 992px) {
  .app-feature-section {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .layout-image-left .feature-image-wrapper {
    order: -1;
  }
}

.feature-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.feature-live-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.feature-app-name {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: #666;
  text-transform: uppercase;
}

.feature-title {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: #111;
}

.feature-desc {
  font-size: 1.15rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 2.5rem;
}

.feature-tags {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 3rem;
}

.feature-tag {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background-color: #FDFDFD;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #333;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.01);
}

.feature-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.feature-btn {
  color: white;
  border: none;
  padding: 0.8rem 2rem;
  font-size: 1rem;
  border-radius: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}

.feature-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.feature-image-wrapper {
  position: relative;
  border-radius: 24px;
}

.feature-image {
  width: 100%;
  height: 600px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
}

.feature-floating-badge {
  position: absolute;
  bottom: -20px;
  background: white;
  padding: 1.5rem 2rem;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  z-index: 10;
}

.badge-left {
  left: -20px;
}

.badge-right {
  right: -20px;
}

.floating-title {
  font-size: 0.8rem;
  color: #666;
  font-weight: 600;
}

.floating-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111;
}

/* Contact Section */
.contact-section {
  padding: 8rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: flex-start;
}

.contact-label {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--accent-orange);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  display: block;
}

.contact-title {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: #111;
}

.contact-subtitle {
  font-size: 1.25rem;
  color: #555;
  line-height: 1.6;
}

.contact-form-card {
  background-color: #F8F9FB;
  border-radius: 24px;
  padding: 3rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 600;
  font-size: 0.95rem;
  color: #111;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 1rem 1.25rem;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background-color: white;
  font-family: var(--font-body);
  font-size: 1rem;
  color: #333;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #888;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-orange);
  box-shadow: 0 0 0 3px rgba(216, 125, 34, 0.15);
}

.contact-btn {
  background-color: var(--accent-orange);
  color: white;
  border: none;
  padding: 1.25rem;
  border-radius: 30px;
  font-size: 1.05rem;
  font-weight: 600;
  margin-top: 1rem;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(216, 125, 34, 0.2);
}

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

/* Carousel Styles */
.carousel-container {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0,0,0,0.5);
  color: white;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 15;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s, transform 0.2s;
}

.carousel-btn:hover {
  background-color: rgba(255, 215, 0, 0.9);
  color: black;
  transform: translateY(-50%) scale(1.1);
}

.prev-btn {
  left: 15px;
}

.next-btn {
  right: 15px;
}

/* --- Huddle Case Study Page --- */

.case-study-hero {
  background-color: #050505;
  padding: 8rem 0 4rem;
  overflow: hidden;
  position: relative;
}

.cs-hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.cs-badge {
  display: inline-block;
  padding: 0.4rem 1.2rem;
  background-color: rgba(255, 215, 0, 0.1);
  color: #FFD700;
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 2rem;
}

.cs-title {
  font-size: 5rem;
  font-weight: 800;
  color: white;
  margin-bottom: 1rem;
  letter-spacing: -1px;
}

.cs-subtitle {
  font-size: 1.5rem;
  color: #999;
  line-height: 1.5;
  margin-bottom: 4rem;
  max-width: 600px;
}

.cs-hero-image-wrapper {
  width: 100%;
  max-width: 800px;
  border-radius: 30px 30px 0 0;
  overflow: hidden;
  box-shadow: 0 -20px 60px rgba(255, 215, 0, 0.1);
}

.cs-hero-image {
  width: 100%;
  display: block;
}

.cs-overview-section {
  padding: 8rem 0;
}

.cs-overview-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: start;
}

.cs-overview-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
}

.cs-overview-content p {
  font-size: 1.2rem;
  color: #555;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.cs-features-section {
  padding: 4rem 0 8rem;
  background-color: #F8F9FB;
}

.cs-feature-row {
  display: flex;
  align-items: center;
  gap: 6rem;
  margin-bottom: 8rem;
}

.cs-feature-row.reverse {
  flex-direction: row-reverse;
}

.cs-feature-image-col {
  flex: 1;
}

.cs-feature-image-col img {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  display: block;
  border-radius: 24px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.1);
}

.cs-feature-text-col {
  flex: 1;
}

.cs-feature-text-col h3 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #111;
}

.cs-feature-text-col p {
  font-size: 1.2rem;
  color: #555;
  line-height: 1.7;
}

.cs-cta-section {
  padding: 8rem 0;
  background-color: #050505;
  color: white;
}

.cs-cta-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cs-cta-subtitle {
  font-size: 1.25rem;
  color: #999;
  margin-bottom: 3rem;
}

.cs-btn-gold {
  background-color: #FFD700;
  color: #111;
  font-weight: 700;
  padding: 1.2rem 3rem;
  font-size: 1.1rem;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s;
}

.cs-btn-gold:hover {
  transform: translateY(-3px);
}

@media (max-width: 992px) {
  .cs-overview-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .cs-feature-row, .cs-feature-row.reverse {
    flex-direction: column;
    gap: 3rem;
    text-align: center;
  }
}

/* ============================================================
   MOBILE-FIRST RESPONSIVE FIXES (Bootstrap overrides)
   ============================================================ */

/* Give the header breathing room on small screens */
@media (max-width: 991px) {
  .header-wrapper {
    padding: 0 0.5rem;
    top: 0.5rem;
  }

  .app-header {
    padding: 0.85rem 1rem;
  }
}

/* Hero section: shrink top/bottom padding on mobile */
@media (max-width: 767px) {
  /* ---- Padding & spacing ---- */
  .hero-section {
    padding: 5rem 0 4rem;
  }

  .ecosystem-section {
    padding: 3rem 0;
  }

  .features-container {
    gap: 4rem;
    padding: 2rem 0;
  }

  /* ---- Typography ---- */
  .hero-title {
    font-size: 2.4rem !important;
    letter-spacing: -0.5px;
    margin-bottom: 1.25rem;
  }

  /* Bootstrap display-* utility overrides for mobile */
  .display-4 {
    font-size: 2.2rem !important;
  }

  .display-5 {
    font-size: 1.9rem !important;
  }

  h1, .hero-title {
    font-size: 2.4rem !important;
  }

  h2, .section-title, .feature-title, .investors-title, .contact-title {
    font-size: 1.85rem !important;
  }

  h3 {
    font-size: 1.4rem !important;
  }

  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  /* ---- Images ---- */
  .feature-image,
  .story-image {
    height: auto !important;
    max-height: 300px;
    object-fit: cover;
    width: 100%;
  }

  /* Huddle phone images */
  .hero-phone {
    max-height: 380px;
    object-fit: contain;
  }

  /* Feature card images inside Bootstrap sections */
  .ui-snippet img,
  .crop-chat,
  .crop-event,
  .crop-settle,
  .crop-theme {
    max-height: 300px;
    object-fit: contain;
  }

  /* ---- Investors banner ---- */
  .investors-title {
    font-size: 2rem !important;
  }

  /* ---- Stats bar inside huddle ---- */
  .stats-bar {
    padding: 1.5rem 0;
  }

  /* ---- About hero ---- */
  .about-hero {
    padding: 3rem 0 2rem;
  }

  .about-hero .hero-title {
    font-size: 2.2rem !important;
  }

  /* ---- Floating badge on feature images ---- */
  .feature-floating-badge {
    padding: 0.75rem 1rem;
  }

  .floating-value {
    font-size: 1.1rem !important;
  }

  /* ---- Footer ---- */
  .app-footer {
    padding: 3rem 0 1.5rem;
  }
}

/* Extra-small phones (iPhone SE, etc.) */
@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem !important;
  }

  h2, .section-title, .feature-title {
    font-size: 1.65rem !important;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 0.75rem;
  }

  .store-btn {
    width: 100%;
    justify-content: center;
  }

  .hero-actions {
    flex-direction: column;
    gap: 0.75rem;
  }

  .btn {
    width: 100%;
    text-align: center;
  }
}