/* ======================================================
   TABLE OF CONTENTS:
   1. CSS Variables
   2. Base & Reset
   3. Typography
   4. Layout & Grid
   5. Components
     5.1 Header & Navigation
     5.2 Buttons
     5.3 Cards
     5.4 Accordion
     5.5 Play Button
     5.6 Loader & Spinner
   6. Specific Sections
     6.1 Hero Section
     6.2 Waiting List
     6.3 Feature Sections
   7. Utilities
   8. Forms & Inputs
   9. Media Queries
   ====================================================== */

/* ----------------------
   1. CSS VARIABLES
   ---------------------- */
:root {
  /* Colors */
  --color-text-muted: #cccccc;
  --color-primary: #ffd700;
  --color-secondary: #e20e0f;
  --color-accent: darkred;
  --color-background: #000000;
  --color-card: #161616;
  --color-text: #F1F1F1;
  --color-text-dark: #000000;
  --color-border: #888888;
  --color-light-bg: #faf9f9;
  --color-medium-bg: #efefef;
  --color-blog-bg: #f9f9f9;
  --color-blog-bg-dark: #f5f5f5;
  --color-blog-text: #333333;
  --color-blog-heading: #222222;
  --color-blog-caption: #666666;
  --color-dark-grey: #1D1D1D;
  --color-light-grey: #8E8E8E;

  /* Typography */
  --font-size-base: 1rem;
  --font-size-sm: 0.9rem;
  --font-size-md: 1.25rem;
  --font-size-lg: 1.5rem;
  --font-size-xl: 2rem;
  --font-size-xxl: 2.625rem;

  --font-heading: 'Concert One', Arial, sans-serif;
  --font-body: 'Open Sans', Tahoma, Arial, sans-serif;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3rem;
  --spacing-bottom: 1rem;

  /* Border Radius */
  --border-radius-sm: 5px;
  --border-radius-md: 8px;
  --border-radius-lg: 1em;
  --border-radius-round: 100%;

  /* Animations */
  --transition-speed: 0.3s;

  /* Layout */
  --container-width: 880px;
  --header-height: 80px;
  --mobile-nav-height: 60px;

  /* Borders */
  --border: 1px solid var(--color-secondary);

}

/* ----------------------
     2. BASE & RESET
     ---------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  transition: all var(--transition-speed) ease-in-out;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  background-color: var(--color-background);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  line-height: 1.5;
  margin: 0;
  padding: 0;
  animation: fadeIn 3s ease forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

img,
video {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius-sm);
}

#blogs video {
  margin-left: auto;
  margin-right: auto;
  display: block;
  /*max-width: 744px;
  max-height: 418px;*/
}

#blogs .videoContainer {
  background-color: #f0eded;
}

/*#blogs .play-arrow {
  width: 50px;
  height: 50px;
}

#blogs .play-arrow img {
  width: 20px;
  height: 20px;
}*/

.margin-top-0 {
  margin-top: 0 !important;
}

#blogs footer a {
  color: var(--color-secondary);
}

footer {
  padding-top: 2em;
  padding-bottom: calc(var(--mobile-nav-height) + var(--spacing-lg));
}

/* ----------------------
     3. TYPOGRAPHY
     ---------------------- */
h1, h2, h3, h4, h5, h6 {
  text-transform: lowercase;
  margin-top: 0;
  line-height: 1.2;
}

/*.red-bottom-border {
    border-bottom: 1px solid var(--color-secondary);
    padding-bottom: var(--spacing-bottom);
    display: inline-block;
  }*/

.display-block {
  display: block;
}

h1::first-letter,
h2::first-letter,
h3::first-letter,
h4::first-letter {
  text-transform: capitalize;
}

h1,
#message h1 {
  font-size: clamp(1.75rem, 5vw, var(--font-size-xxl));
  font-weight: 800;
  margin-bottom: var(--spacing-sm);
  width: fit-content;
}

h2,
#team h2,
.section h2,
#message h2 {
  font-size: clamp(1.5rem, 4vw, var(--font-size-xl));
  font-weight: bold;
  color: var(--color-primary);
}

#team h2,
#blogs .section h2,
#blogs #message h2 {
  color: #403f39;
}

.wide-section h2 {
  font-family: var(--font-heading);
  text-transform: uppercase;
  text-align: center;
  color: var(--color-text-muted);
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: var(--font-size-lg);
}

p {
  margin-bottom: var(--spacing-md);
}

.uppercase {
  text-transform: uppercase;
}

.large-letter {
  font-size: xx-large;
}

blockquote {
  border-left: 5px solid var(--color-primary);
  padding: var(--spacing-sm) var(--spacing-md);
  background-color: var(--color-light-bg);
  margin: var(--spacing-md) 0;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  margin-right: 5px;
}

a:hover {
  color: var(--color-secondary);
}

a:focus {
  outline: none;
  outline-offset: 0;
}

/* ----------------------
     4. LAYOUT & GRID
     ---------------------- */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

#comment-section {
  display: none;
}

.section,
#message {
  background: var(--color-background);
  max-width: var(--container-width);
  margin: clamp(1.5rem, 8vh, 3.125rem) auto 1rem;
  padding: clamp(1.5rem, 5vw, 2rem);
  border-radius: var(--border-radius-sm);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 4%;
}

#contact-page .container,
#password-reset-page #message,
#about-page #message,
#privacy-page .container,
#terms-page .container,
#investor-join-page #message,
#waiting-list-join-page #message,
#creator-join-page #message {
  display: block;
}

.copy div p {
  margin-top: 0;
}

#bottom-section {
  display: block;
}

.wide-section {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(1rem, 1fr) minmax(auto, var(--container-width)) minmax(1rem, 1fr);
  background-color: var(--color-card);
  padding: clamp(1rem, 4vw, 2%);
  overflow: hidden;
}

/* Grid layouts */
.two-col-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-sm);
}

.about-team {
  grid-template-columns: 30% auto;

}

.three-col-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-sm);
}

.two-row-grid {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: var(--spacing-sm);
}

.two-rows-grid {
  display: grid;
  grid-template-rows: auto auto;
  gap: 1.5em;
}

.copy {
  display: grid;
  grid-template-rows: 20% auto 20%;
}

/* ----------------------
     5. COMPONENTS
     ---------------------- */

/* 5.1 Header & Navigation */
.header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--color-card);
  padding: var(--spacing-sm) var(--spacing-xs);
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: box-shadow 0.3s ease;
}

.header.scrolled {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-left-group {
  display: flex;
  align-items: center;
}

.header .logo {
  margin-right: var(--spacing-md);
}
#logo{
  width:8rem;
}
.logo {
  display: flex;
  align-items: center;
  height: 100%;
}

.logo img {
  vertical-align: middle;
}

.header .logo img {
  height: 3rem;
  width: auto;

}

#header-left {
  display: flex;
  align-items: center;
}

.header-right {
  margin-left: auto;
}

.header a {
  color: var(--color-primary);
  padding: var(--spacing-xs);
  text-decoration: none;
}

.header nav a {
  color: var(--color-primary);
  padding: var(--spacing-xs) var(--spacing-sm);
  text-decoration: none;
  display: inline-block;
  margin-right: var(--spacing-xs);
  font-family: "Concert One", Arial, sans-serif;
}

.header a:hover {
  background-color: var(--color-accent);
  color: var(--color-text);
  border-radius: var(--border-radius-sm);
}

.header a.active {
  background-color: var(--color-primary);
  color: var(--color-text-dark);
  border-radius: var(--border-radius-sm);
}

.header a.logo {
  font-size: var(--font-size-lg);
  font-weight: bold;
  padding: 0;
}

.header a.logo:hover {
  background-color: transparent;
}

/* Mobile Navigation */
#mobile-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: var(--mobile-nav-height);
  background-color: var(--color-card);
  z-index: 1000;
  padding: var(--spacing-sm);
  font-family: var(--font-heading);
}

#mobile-nav div {
  display: grid;
  align-items: center;
  justify-content: center;
}

#mobile-nav div img {
  width: 18px;
  margin: auto;
  display: none;
}

/* 5.2 Buttons */
.button,
.reply-botton,
button,
input[type="submit"] {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: bold;
  font-size: var(--font-size-sm);
  text-transform: uppercase;
  color: var(--color-text-dark);
  background-color: var(--color-primary);
  border: none;
  border-radius: var(--border-radius-sm);
  padding: var(--spacing-xs) var(--spacing-sm);
  min-height: 40px;
  width: auto;
  cursor: pointer;
  text-align: center;
}

.button:hover,
.reply-botton:hover,
button:hover,
input[type="submit"]:hover {
  background-color: var(--color-accent);
  color: var(--color-text);
  box-shadow: 0 10px 18px 0 rgba(0, 0, 0, 0.3);
}

.button:focus,
.reply-botton:focus,
button:focus,
input[type="submit"]:focus {
  outline: 3px solid var(--color-secondary);
  outline-offset: 2px;
}

.button:disabled,
.reply-botton:disabled,
button:disabled,
input[type="submit"]:disabled {
  background-color: var(--color-text-muted) !important;
  color: var(--color-text-dark) !important;
  cursor: not-allowed;
  box-shadow: none;
}

.button.black-button {
  color: var(--color-text);
  background-color: var(--color-card);
  border: 1px solid var(--color-text-muted);
}

.home-join-btn,
.join-btn {
  display: inline-block;
  margin-right: var(--spacing-xs);
}

/* 5.3 Cards */
.about-team {
  background-color: var(--color-card);
  padding: var(--spacing-md);
  border-radius: var(--border-radius-sm);
}

.article-cta {
  padding: var(--spacing-md);
  margin: var(--spacing-sm) 0 var(--spacing-lg);
  text-align: center;
}

/* 5.4 Accordion */
.accordion {
  background-color: var(--color-card);
  color: var(--color-text-muted);
  cursor: pointer;
  padding: var(--spacing-md);
  width: 100%;
  text-align: left;
  border: none;
  border-bottom: 2px solid var(--color-background);
  border-radius: 0;
  transition: background-color 0.4s;
  font-size: var(--font-size-md);
  text-transform: initial;
  height: auto;
  margin-top: .3rem;
}

.accordion span {
  float: right;
}

.accordion.active,
.accordion:hover {
  background-color: #0b0b0b;
  border: none;
}

.user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: black;
  font-weight: bold;
  font-size: 14px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Replace the .panel style with this improved version */
.panel {
  padding: 0 var(--spacing-md);
  background-color: #0b0b0b;
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-speed) ease;
}

.panel.active {
  max-height: 1000px;
  /* A large enough value to accommodate content */
}

/* Add this to properly style panel content */
.panel>* {
  padding: var(--spacing-sm) 0;
}

/* 5.5 Play Button */

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  cursor: pointer;
  z-index: 10;
  background-color: var(--color-secondary);
  border-radius: 50%;

}

/* Style the play button */
.play-arrow {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

/* Style the play icon */
.play-arrow img {
  width: 30px;
  height: 30px;
  filter: brightness(0) invert(1);
  /* Makes the icon white */
}

/* Hover effect */
.play-btn:hover .play-arrow {
  background-color: rgba(4, 222, 4, 0.673);
  transform: scale(1.1);
  border-radius: 50%;
}

.play-arrow:hover img {
  filter: brightness(0) invert(0);

}

/* Video loading indicator */
#loader {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100px;
  /* Default size */
  height: 100px;
  /* Default size */
  z-index: 9999;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: var(--border-radius-md);
  justify-content: center;
  align-items: center;
}

#loader.active {
  display: flex;
}

#loader .spinner {
  width: 40px;
  height: 40px;
  border: 4px solid var(--color-primary);
  border-top: 4px solid var(--color-green);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* ----------------------
     6. SPECIFIC SECTIONS
     ---------------------- */

/* 6.1 Hero Section */
.videoContainer {
  position: relative;
}

.videoContainer .video {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover; /* Use cover to fill space and prevent black bars */
  min-height: 400px; /* Ensure minimum size */
}

/* Hero section video specific styling */
.hero-enhanced .videoContainer .video {
  min-height: 450px; /* Slightly larger for hero section */
}

.full-width {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

#as-seen-on-logos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 8px;
  width: 100%;
  max-width: var(--container-width);
}

.new-user {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px;
  background-color: var(--color-background);
  border-radius: var(--border-radius-md);
  padding: 1rem;
  color: var(--color-text-muted);
  align-items: center;
}

.new-user.active {
  display: grid;
}

.new-user img {
  width: auto;
  object-fit: cover;
}

.new-user p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.3;
  white-space: normal;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 6.3 Feature Sections */
/* Social icons */
.social-icons img {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 1rem;
  border: 1px solid var(--color-primary);
  background-color: var(--color-primary);
  border-radius: 50%;
}

.team-contact .social-icons img {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 0;
}

.team-contact {
  display: flex;
  gap: 1rem;

}

.socials {
  display: flex;
  width: fit-content;
  margin: 1rem auto;
}

.usa-flag-icon {
  width: 20px;
  height: 10px;
  margin: auto;
  border-radius: 0;
}


/* Feature Sections Enhancement */
.feature-card {
  margin: 4rem 0;
  border-radius: 12px;
  overflow: hidden;
  background-color: rgba(30, 30, 30, 0.4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  margin-left: auto;
  margin-right: auto;
}

#about-page .feature-card {
  padding: 2rem;
}

.image-container {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.feature-image {
  transition: transform 0.5s ease;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#message:hover .feature-image,
.form-banner:hover .feature-image,
.feature-card:hover .feature-image {
  transform: scale(1.05);
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 100%);
}

.feature-content {
  padding: 2rem;
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.feature-title {
  font-size: 2rem;
  margin-bottom: 1.2rem;
  position: relative;
}

.feature-title:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 4px;
  background: #E80027;
  border-radius: 2px;
}

.feature-description {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.outline-btn {
  background: transparent;
  border: 2px solid #E80027;
  color: white;
  padding: 10px 24px;
  border-radius: 30px;
  transition: all 0.3s ease;
}

.outline-btn:hover {
  background: rgba(232, 0, 39, 0.2);
  transform: translateY(-2px);
}

/* ----------------------
     7. UTILITIES
     ---------------------- */
.float-left {
  float: none;
}

/* Override instead of using float */
.float-right {
  float: right;
}

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

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

.relative {
  position: relative;
}

.text-right .red-bottom-border:after {
  left: auto;
  right: 0;
}


.mt-0 {
  margin-top: 0;
}

.mt-1 {
  margin-top: var(--spacing-xs);
}

.mt-2 {
  margin-top: var(--spacing-sm);
}

.mt-3 {
  margin-top: var(--spacing-md);
}

.mt-4 {
  margin-top: var(--spacing-lg);
}

.mb-0 {
  margin-bottom: 0;
}

.mb-1 {
  margin-bottom: var(--spacing-xs);
}

.mb-2 {
  margin-bottom: var(--spacing-sm);
}

.mb-3 {
  margin-bottom: var(--spacing-md);
}

.mb-4 {
  margin-bottom: var(--spacing-lg);
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
  display: block;
}

.show-on-mobile {
  display: none;
}

.hide-on-mobile {
  display: block;
}

.gold {
  color: var(--color-primary);
}

.red-text {
  color: var(--color-secondary) !important;
}

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


/* ----------------------
     8. FORMS & INPUTS
     ---------------------- */
input[type="password"],
input[type="tel"],
input[type="number"],
input[type="email"],
input[type="text"],
input[type="url"],
select,
textarea {
  width: 100%;
  height: 40px;
  padding: var(--spacing-xs);
  margin: var(--spacing-sm) 0;
  border: 1px solid var(--color-text-dark);
  border-radius: var(--border-radius-sm);
  background-color: var(--color-light-grey);
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  line-height: 1.5;
  color: var(--color-text-dark);
}

textarea {
  height: auto;
  min-height: 100px;
  resize: vertical;
}

select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23131313%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: right 0.7em top 50%;
  background-size: 0.65em auto;
  padding-right: 2.5em;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.2);
}

fieldset {
  border: none;
  padding: var(--spacing-sm);
  margin: var(--spacing-sm) 0;
  border-radius: var(--border-radius-md);
  background-color: var(--color-dark-grey);
}

input::placeholder {
  color: var(--color-text-muted);
  opacity: 1;
}

select {
  color: var(--color-text-muted);
}

legend {
  font-size: var(--font-size-md);
  font-weight: bold;
  color: var(--color-light-grey);
  margin-bottom: var(--spacing-sm);
}

/* ----------------------
     9. MEDIA QUERIES
     ---------------------- */

/* For screens up to 1024px (Laptops) */
@media (max-width: 1024px) {
  .header {
    padding: var(--spacing-xs);
  }

  .header a {
    font-size: var(--font-size-base);
  }

  .wide-section {
    padding: 3%;
  }
}

@media (max-width: 820px) {
  #message .hero-description {
    text-align: center;
    max-width: inherit;
  }

  #pitch {
    text-align: center;
  }
}

/* For screens up to 768px (Tablets) */
@media (max-width: 768px) {
  :root {
    --container-width: 95vw;
  }

  .header {
    padding: var(--spacing-xs);
  }

  .header nav a {
    padding: var(--spacing-xs);
    margin-right: 0;
  }

  .button {
    width: 100%;
  }

  #message button {
    margin-bottom: var(--font-size-md);
  }

  #header-left {
    margin-left: 0;
  }

  .two-col-grid,
  .three-col-grid {
    grid-template-columns: 1fr;
  }

  .section {
    grid-template-columns: 1fr;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
  }

  .related-grid .related-article img {
    height: 360px;
  }

  .copy {
    display: block;
    text-align: center;
  }

  #blog-tabs a {
    width: auto;
    padding: var(--spacing-xs);
  }

  .article h1 {
    font-size: var(--font-size-lg);
  }

  .article h2 {
    font-size: var(--font-size-md) !important;
  }

  #waiting-list-slide {
    width: 100%;
    /*max-width: 320px;*/
    margin: 0 auto;
    overflow-x: hidden;
  }

  .wide-section {
    grid-template-columns: 1fr;
    padding: 5%;
    height: auto;
    min-height: 200px;
    max-height: 260px;
  }

  footer {
    padding-right: 2em;
    padding-left: 2em;
    padding-top: 2em;
    padding-bottom: calc(var(--mobile-nav-height) + var(--spacing-lg));
  }


  #as-seen-on-logos {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }

  .new-user img {
    width: auto;
    height: 28px;
  }

  .new-user p {
    font-size: 0.8rem;
  }

  .urgency-text {
    text-align: center !important;
    /* Center the text on smaller screens to prevent overflow */
  }
}

/* For screens up to 600px (Mobile) */
@media (max-width: 600px) {
  body {
    border-top: 6px solid var(--color-primary);
  }

  .header {
    display: none;
  }

  .header .logo img {
    height: 1.5rem;
    /* 24px on smaller screens */
  }

  #about #message {
    padding: 0;
  }

  #about .feature-description {
    padding: 2rem;
  }

  #logo {
    margin-bottom: .5rem;
  }

  input[type="submit"], button {
    width: 100%;
  }

  #message h1,
  .center-on-mobile,
  #landing #message * {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .show-on-mobile {
    display: block !important;
  }

  .hide-on-mobile {
    display: none !important;
  }

  #mobile-nav {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
  }

  #landing #message,
  #message {
    display: block !important;
    margin-top: 0;
  }

  #blogs-wrapper {
    grid-template-columns: 1fr !important;
  }

  .feature-title {
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
  }

  .feature-content {
    padding: 0;
  }

  .blog-card {
    padding: 0 !important;
  }

  /*  MY Blog changes */


  #blogs h2 {
    color: var(--color-blog-text)
  }

  .related-articles a {
    color: var(--color-secondary);
  }


  /* Blog article styling with modern color palette */
  #blogs {
    background-color: var(--color-blog-bg-dark);
    color: var(--color-blog-text);
  }

  #blogs .article {
    background-color: var(--color-blog-bg);
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--border-radius-md);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  }

  /* Typography for blog articles */
  #blogs .article h1 {
    color: var(--color-blog-heading);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: var(--spacing-md);
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: var(--spacing-sm);
  }

  #blogs .article h2 {
    color: var(--color-blog-heading);
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    margin-top: var(--spacing-lg);
  }

  #blogs .article h3 {
    color: var(--color-blog-heading);
    font-size: clamp(1.2rem, 2.5vw, 1.4rem);
  }

  #blogs .article p {
    color: var(--color-blog-text);
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
  }

  /* Quote styling */
  #blogs .article blockquote {
    background-color: #f5f5f5;
    border-left: 5px solid var(--color-secondary);
    padding: var(--spacing-md);
    margin: var(--spacing-md) 0;
    font-style: italic;
    color: #555555;
  }

  .user-testimonial {
    background-color: #f5f5f5;
    border-left: 5px solid var(--color-secondary);
    padding: var(--spacing-md);
    margin: var(--spacing-md) 0;
    border-radius: var(--border-radius-sm);
  }

  .user-testimonial p {
    margin-bottom: var(--spacing-xs) !important;
  }

  .testimonial-author {
    color: var(--color-blog-caption);
    font-style: italic;
    text-align: right;
  }

  /* Solution boxes */
  .solution-box,
  .proof-concept-box,
  .investment-highlight {
    background-color: #f9f9f9;
    border: 1px solid #eaeaea;
    border-left: 5px solid var(--color-primary);
    padding: var(--spacing-md);
    border-radius: var(--border-radius-sm);
    margin: var(--spacing-md) 0;
  }

  .solution-box h3,
  .proof-concept-box h3,
  .investment-highlight h3 {
    color: var(--color-blog-heading);
    margin-top: 0;
    margin-bottom: var(--spacing-xs);
  }

  /* Lists in articles */
  .article-list {
    color: var(--color-blog-text);
    margin-bottom: var(--spacing-md);
    padding-left: var(--spacing-md);
  }

  .article-list li {
    margin-bottom: var(--spacing-xs);
    line-height: 1.6;
  }

  /* Article metadata */
  .article-meta {
    display: flex;
    justify-content: space-between;
    color: var(--color-blog-caption);
    margin-bottom: var(--spacing-md);
    font-size: var(--font-size-sm);
    border-bottom: 1px solid #eaeaea;
    padding-bottom: var(--spacing-sm);
  }

  .article-author {
    font-weight: 600;
  }

  .article-date {
    font-style: italic;
  }

  /* Main article image */
  .article-main-img-wrapper {
    margin-bottom: var(--spacing-lg);
    border-radius: var(--border-radius-md);
    overflow: hidden;
  }

  #main-img {
    width: 100%;
    height: auto;
    display: block;
  }

  /* Article links */
  .article-content a {
    color: var(--color-secondary);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
  }

  .article-content a:hover {
    color: #b10000;
    text-decoration-thickness: 2px;
  }

  /* CTA section */
  .article-cta {
    background-color: #f5f5f5;
    padding: var(--spacing-md);
    border-radius: var(--border-radius-md);
    text-align: center;
    margin: var(--spacing-lg) 0;
  }

  .article-cta h2 {
    color: var(--color-blog-heading);
    margin-bottom: var(--spacing-md);
  }

  /* Related articles section */
  .related-articles {
    margin-top: var(--spacing-lg);
    padding-top: var(--spacing-md);
    border-top: 1px solid #eaeaea;
  }

  .related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
  }

  .related-article {
    background-color: white;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .related-article:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }

  .related-article img {
    width: 100%;
    height: 160px;
    object-fit: cover;
  }

  .related-article h3 {
    padding: var(--spacing-sm);
    margin: 0;
    font-size: var(--font-size-md);
    color: var(--color-blog-heading);
  }

  /* Comment section */
  #comment-section {
    margin-top: var(--spacing-lg);
    padding-top: var(--spacing-md);
    border-top: 1px solid #eaeaea;
  }

  .comment-box {
    background-color: white;
    padding: var(--spacing-md);
    border-radius: var(--border-radius-md);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  }

  .comment {
    background-color: #f9f9f9;
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    border-radius: var(--border-radius-sm);
    border-left: 3px solid var(--color-primary);
  }

  .comment-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--spacing-sm);
  }

  .comment-date {
    color: var(--color-blog-caption);
    font-size: var(--font-size-sm);
  }

  .comment-submit-btn {
    background-color: var(--color-primary);
    color: var(--color-text-dark);
    border: none;
    border-radius: var(--border-radius-sm);
    padding: var(--spacing-xs) var(--spacing-md);
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
  }

  .comment-submit-btn:hover {
    background-color: #e6c200;
  }

  /* Responsive adjustments */
  @media (max-width: 768px) {
    #blogs .article {
      padding: var(--spacing-md);
    }

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

    .article-meta {
      flex-direction: column;
    }

    .article-date {
      margin-top: var(--spacing-xs);
    }
  }

  .grid {
    display: block !important;
  }
}

/* Prefer reduced motion */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {

  /* Already dark themed, but can add additional customizations here */
  :root {
    --color-primary: #ffd700;
  }
}

/* ----------------------
     6. NEW CSS
     ---------------------- */

/* Hero Section Enhancements */
.hero-enhanced {
  padding: 3rem 0;
  position: relative;
  overflow: hidden;
}

.hero-enhanced:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at top right, rgba(232, 0, 39, 0.2) 0%, rgba(0, 0, 0, 0) 70%);
  z-index: -1;
}

.headline-animated {
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  position: relative;
}

.pulse-effect {
  position: relative;
  display: inline-block;
 
}

.pulse-effect:after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(255, 215, 0, 0.2);
  border-radius: 50%;
  z-index: -1;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }

  70% {
    transform: scale(1.1);
    opacity: 0;
  }

  100% {
    transform: scale(1);
    opacity: 0;
  }
}

.hero-description {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 550px;
}

.cta-container {
  display: flex;
  align-items: center;
}

.gradient-btn {
  background: linear-gradient(135deg, #E80027 0%, #FF6B6B 100%);
  border: none;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(232, 0, 39, 0.3);
}

.gradient-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 0, 39, 0.4);
}

.enhanced-video {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.video-rounded {
  border-radius: 12px;
  transform: scale(1);
  transition: transform 0.5s ease;
}

.enhanced-video:hover .video-rounded {
  transform: scale(1.02);
}

.glow-effect {
  box-shadow: 0 0 20px rgba(232, 0, 39, 0.6);
}

/* Waiting List Enhancements */
.waiting-list-enhanced {
  background-color: rgba(20, 20, 20, 0.7);
  border-radius: 8px;
  padding: 2rem;
  margin: 3rem 0;
}

.counter-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #E80027;
  display: inline-block;
}

.waiting-indicator {
  margin: 1.5rem 0;
}

.progress-bar {
  height: 10px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  overflow: hidden;
  margin-bottom: 10px;
}

.progress-filled {
  height: 100%;
  width: 75%;
  background: linear-gradient(90deg, #E80027 0%, #FF6B6B 100%);
  border-radius: 5px;
}

.urgency-text {
  font-size: 0.9rem;
  color: #FF6B6B;
  text-align: right;
}

.enhanced-slide {
  margin-top: 1.5rem;
}


/* FAQ Section Enhancements */
.faq-enhanced {
  padding: 4rem 0;
  background: radial-gradient(circle at bottom center, rgba(40, 40, 40, 0.4) 0%, rgba(0, 0, 0, 0) 70%);
}

.faq-title {
  font-size: 2.2rem;
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
}

.faq-title:after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: #E80027;
  border-radius: 2px;
}

.accordion-enhanced {
  max-width: 800px;
  margin: 0 auto;
}

.accordion {
  background-color: rgba(30, 30, 30, 0.6);
  border: none;
  border-radius: 8px;
  margin-bottom: .1rem;
  padding: 1.2rem 1.5rem;
  transition: all 0.3s ease;
}

.accordion:hover {
  background-color: rgba(40, 40, 40, 0.8);
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.question-text {
  font-size: 1.2rem;
  font-weight: 600;
}

.accordion-icon {
  font-size: 1.5rem;
  color: #E80027;
  transition: transform 0.3s ease;
}

.accordion.active .accordion-icon {
  transform: rotate(45deg);
}

.panel {
  background-color: rgba(40, 40, 40, 0.4);
  border-radius: 0 0 8px 8px;
  padding: 1.5rem;
  margin-top: -1rem;
  margin-bottom: 1.5rem;
  border-left: 3px solid #E80027;
}

.final-cta {
  margin-top: 4rem;
  padding: 2rem;
  background-color: rgba(30, 30, 30, 0.6);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.glow-text {
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.7);
}

.pulse-btn {
  animation: pulse-button 2s infinite;
}

/* Add this to your CSS */
.play-btn.pulse-play {

  background-color: rgba(232, 0, 39, 0.8);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(232, 0, 39, 0.7);
  animation: pulse-play-button 2s infinite;
}

@keyframes pulse-play-button {
  0% {
    box-shadow: 0 0 0 0 rgba(232, 0, 39, 0.7);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(232, 0, 39, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(232, 0, 39, 0);
  }
}

.play-btn.pulse-play .play-arrow {
  display: flex;
  justify-content: center;
  align-items: center;
}

.play-btn.pulse-play img {

  margin-left: 3px;
  /* Centers the play arrow visually */
}

@keyframes pulse-button {
  0% {
    box-shadow: 0 0 0 0 rgba(232, 0, 39, 0.7);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(232, 0, 39, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(232, 0, 39, 0);
  }
}

/* Mobile Enhancements */
@media (max-width: 768px) {
  .headline-animated {
    font-size: 2.2rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .feature-card {
    display: flex;
    flex-direction: column;
  }

  #about-page .feature-card {

    text-align: center;
    padding: 1rem;
  }

  #about-page .feature-card ul {
    list-style: none;
    padding-left: 0;
  }

  #about-page .feature-card ul li {
    margin-bottom: 1rem;
  }

  .team-contact {
    justify-content: center;
  }
  #about-page .feature-description{
    text-align: center;
  }
  #about-page #bottom-section{
    padding-top:0;
  }

  .feature-title {
    font-size: 1.8rem;
  }

  .counter-number {
    font-size: 2rem;
  }

  .question-text {
    font-size: 1.1rem;
  }
}

/* Enhanced Accordion Styles */
.faq-enhanced {
  padding: 3rem 0 4rem;
  position: relative;
}

.faq-enhanced:before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 70%;
  background: radial-gradient(circle at center bottom, rgba(30, 30, 30, 0.5) 0%, rgba(0, 0, 0, 0) 70%);
  z-index: -1;
}

.faq-title {
  font-size: 1.8rem;
  position: relative;
  display: inline-block;
  margin-bottom: 2.5rem;
}

.accordion-enhanced .accordion {
  background-color: rgba(30, 30, 30, 0.6);
  color: white;
  cursor: pointer;
  width: 100%;
  border: none;
  border-radius: 8px;
  text-align: left;
  outline: none;
  margin-bottom: .1rem;
  padding: 0;
  transition: all 0.3s ease;
}

.accordion-enhanced .accordion:hover {
  background-color: rgba(40, 40, 40, 0.8);
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 1.2rem 1.5rem;
}

.question-text {
  font-size: 1.1rem;
  font-weight: 500;
}

.accordion-icon {
  font-size: 1.5rem;
  color: #E80027;
  transition: transform 0.3s ease;
}

.accordion-enhanced .accordion.active .accordion-icon {
  transform: rotate(45deg);
}

.accordion-enhanced .panel {
  background-color: rgba(35, 35, 35, 0.4);
  border-radius: 0 0 8px 8px;
  padding: 1.5rem;
  margin-top: -0.5rem;
  margin-bottom: 1.5rem;
  border-left: 3px solid #E80027;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}

.accordion-enhanced .panel.active {
  max-height: 1000px;
  margin-bottom: 1.5rem;
}

.final-cta {
  margin-top: 3rem;
  padding: 2rem 1rem;
}

.glow-text {
  text-shadow: 0 0 8px rgba(255, 215, 0, 0.5);
}