/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Grandstander:ital,wght@0,100..900;1,100..900&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

/* Brand Color Palette Variables */
:root {
  /* Primary Colors (Blue) */
  --bp-blue-50: #f2f8fd;
  --bp-blue-100: #e5f0f9;
  --bp-blue-200: #c5e0f2;
  --bp-blue-300: #92c7e7;
  --bp-blue-400: #57a9d9;
  --bp-blue-500: #328ec5;
  --bp-blue-600: #2374ab; /* Main Blue Color */
  --bp-blue-700: #1d5a87;
  --bp-blue-800: #1c4e70;
  --bp-blue-900: #1c425e;
  --bp-blue-950: #132a3e;

  /* Secondary Colors (Green) */
  --bp-green-50: #f4f9f7;
  --bp-green-100: #d9eee7;
  --bp-green-200: #b2ddcf;
  --bp-green-300: #80c2af; /* Main Green Color */
  --bp-green-400: #5aa793;
  --bp-green-500: #418b79;
  --bp-green-600: #326f62;
  --bp-green-700: #2b5a50;
  --bp-green-800: #264942;
  --bp-green-900: #233e38;
  --bp-green-950: #102321;

  /* Tertiary Colors (Blush) */
  --bp-blush-50: #fbf4f7;
  --bp-blush-100: #f8ebf0;
  --bp-blush-200: #f2d8e4;
  --bp-blush-300: #e9b8cd;
  --bp-blush-400: #da8cac;
  --bp-blush-500: #cb698d;
  --bp-blush-600: #aa4465; /* Main Blush Color */
  --bp-blush-700: #9d3957;
  --bp-blush-800: #823248;
  --bp-blush-900: #6e2d3f;
  --bp-blush-950: #411622;

  /* Semantic Color Mappings (using your brand colors) */
  --primary-brand-color: var(--bp-blue-600);
  --secondary-accent-color: var(--bp-green-400);
  --tertiary-accent-color: var(--bp-blush-500);

  /* Text Colors */
  --darkest-text-color: var(--bp-blue-950);
  --dark-text-color: var(--bp-blue-900);
  --medium-text-color: var(--bp-blue-700);
  --light-text-color: var(--bp-blue-500);

  --background-light: var(--bp-blue-50);
  --background-medium: var(--bp-blue-300);
  --background-dark: var(--bp-blue-950);

  --card-background: #ffffff;
  --border-color: var(--bp-blue-200);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  background-color: var(--background-light);
  color: var(--medium-text-color);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

.nav-container {
  padding: 15px 25px;
}

.section {
  padding: 80px 0;
}

.section#problem-solution {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: 20px;
  margin: 4rem auto;
  max-width: 1200px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.problem-solution-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

.problem-card,
.solution-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.problem-card:hover,
.solution-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.card-header {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.card-header i {
  font-size: 1.5rem;
  margin-right: 0.75rem;
  color: var(--bp-blue-600);
}

.card-header h3 {
  margin: 0;
  font-size: 1.5rem;
  color: var(--bp-blue-900);
}

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

.problem-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
  padding: 0.75rem;
  background: var(--bp-blue-50);
  border-radius: 8px;
  transition: all 0.2s ease;
}

.problem-list li:hover {
  background: var(--bp-blue-100);
  transform: translateX(5px);
}

.problem-list .icon-list {
  margin-right: 0.75rem;
  color: var(--bp-blue-500);
  min-width: 24px;
  text-align: center;
  margin-top: 2px;
}

.solution-content {
  padding: 0.5rem 0;
}

.highlight-text {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--bp-blue-800);
  margin-bottom: 1.5rem;
}

.solution-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.solution-features li {
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  color: var(--bp-blue-700);
}

.solution-features i {
  color: var(--bp-green-500);
  margin-right: 0.75rem;
  font-size: 1.1rem;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
}

.section-subtitle {
  display: block;
  color: var(--bp-blue-600);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.section-intro {
  font-size: 1.2rem;
  color: var(--bp-blue-700);
  margin-top: 0.8rem;
  line-height: 1.6;
}

.rounded-box {
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Typography */
h1 {
  font-family: 'Inter', sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--dark-text-color);
}

h2 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 2.5em;
  text-align: center;
  color: var(--primary-brand-color);
  margin-bottom: 1rem;
}

h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1.8em;
  color: var(--dark-text-color);
  margin-bottom: 0.75em;
}

p {
  margin-bottom: 1.2em;
}

ul {
  list-style: none;
  padding: 0;
  margin-bottom: 1.2em;
}

/* Navigation */
.main-nav {
  background-color: var(--background-light);
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}

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

.nav-brand a {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-brand a:hover {
  text-decoration: none;
}

.nav-logo {
  height: 32px;
  width: auto;
}

.nav-title {
  font-family: 'Grandstander', 'Inter', sans-serif;
  font-size: 1.5rem;
  font-style: normal;
  font-weight: 700;
  text-align: center;
  color: var(--bp-blue-600);
  border-radius: 10px;
  padding: 3px 6px;
}

.nav-cta {
  margin-left: auto;
}

/* Benefits Section */
#benefits {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

#benefits::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 10px;
  background: linear-gradient(90deg, var(--bp-blue-400), var(--bp-green-400));
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.card {
  background: white;
  border-radius: 12px;
  padding: 2.5rem 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  border-color: var(--bp-blue-200);
}

/* .benefit-card inherits all .card styles */

.benefit-icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease;
}

.benefit-card:hover .benefit-icon {
  transform: scale(1.1);
}

.benefit-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--bp-blue-900);
  position: relative;
  padding-bottom: 0.75rem;
}

.benefit-card h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--bp-blue-400), var(--bp-green-400));
  border-radius: 3px;
  transition: width 0.3s ease;
}

.benefit-card:hover h3::after {
  width: 70px;
}

.benefit-card p {
  color: var(--bp-blue-700);
  line-height: 1.7;
  margin-top: auto;
}

/* In Action Section */
#in-action {
  padding: 6rem 0;
  position: relative;
}

.screenshot-container {
  max-width: 1000px;
  margin: 3rem auto 2rem;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.screenshot {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
  transform-origin: center center;
}

.screenshot-caption {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  color: var(--bp-blue-700);
  font-size: 1.1rem;
  line-height: 1.7;
}

/* Hover Effects */
.screenshot-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

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

/* Header */
header {
  background-color: var(--background-light);
  padding: 60px 0;
}

.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.hero-text {
  flex: 3;
}

.hero-image {
  flex: 1;
}

.hero-image img {
  max-width: 280px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.headline {
  font-size: 3.5em;
  font-weight: 700;
  color: var(--dark-text-color);
  margin-bottom: 0.75em;
}

.hero-line-1 {
  display: block;
  font-size: 5rem;
  margin-bottom: 0.8rem;
}

.hero-line-2 {
  font-size: 3.5rem;
  border: 3px solid var(--bp-blush-500);
}

.hero-highlight {
  color: var(--bp-green-500);
  transition: color 0.3s ease;
}

.hero-highlight:hover {
  color: var(--bp-green-600);
}

.hero-line-2 > span {
  padding: 0 10px;
}

.hero-line-2 > .hero-highlight {
  border: 3px solid var(--bp-blue-400);
}

.subheadline {
  font-size: 22px;
  color: var(--medium-text-color);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.cta-description {
  font-size: 1.1em;
  color: var(--light-text-color);
  margin-bottom: 1.5em;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  margin-bottom: 2em;
}

/* Buttons */
.button {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease, color 0.3s ease,
    border-color 0.3s ease;
  font-size: 1em;
  border: none;
  cursor: pointer;
  text-align: center;
}

.primary-button {
  background-color: var(--secondary-accent-color);
  color: var(--bp-green-100);
}

.primary-button:hover {
  background-color: var(--bp-green-500);
}

.secondary-button {
  background-color: var(--bp-green-100);
  color: var(--bp-green-500);
}

.secondary-button:hover {
  background-color: var(--bp-green-200);
}

.nav-button {
  /* font-size: 0.9rem; */
  padding: 5px 15px;
  background-color: var(--tertiary-accent-color);
  color: var(--bp-blush-50);
}

.nav-button:hover {
  background-color: var(--bp-blush-700);
}

.large-button {
  font-size: 1.2em;
  padding: 16px 40px;
}

.note {
  font-size: 0.9em;
  color: var(--medium-text-color);
  margin-top: 1em;
  display: block;
}

/* Grid Layouts */
.grid-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 3em;
}

.grid-two-col:last-of-type {
  margin-bottom: 0;
}

.grid-two-col.reversed {
  grid-template-columns: 1fr 1fr;
  direction: rtl;
}

.grid-two-col.reversed > * {
  direction: ltr;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 3em;
}

/* .feature-item inherits all .card styles */

.feature-emoji {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease;
}

.feature-item:hover .feature-emoji {
  transform: scale(1.1);
}

.feature-item h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--bp-blue-900);
  position: relative;
  padding-bottom: 0.75rem;
  width: 100%;
  text-align: left;
}

.feature-item h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--bp-blue-400), var(--bp-green-400));
  border-radius: 3px;
  transition: width 0.3s ease;
}

.feature-item:hover h3::after {
  width: 70px;
}

.feature-item p {
  color: var(--bp-blue-700);
  line-height: 1.7;
  margin-top: auto;
  text-align: left;
  width: 100%;
}

/* Call to Action Section */
.cta-section {
  background-color: var(--primary-brand-color);
  color: #fff;
  padding: 100px 0;
  text-align: center;
}

.cta-section h2 {
  color: #fff;
}

.cta-section p {
  color: var(--bp-blue-100);
  font-size: 1.2em;
  margin-bottom: 2em;
}

/* Footer */
footer {
  background-color: var(--background-dark);
  color: #fff;
  text-align: center;
  padding: 30px 0;
  font-size: 0.9em;
}

footer a {
  color: var(--bp-blue-300);
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* Changelog Styles */
main ul {
  list-style-type: disc;
  margin-left: 2rem;
  margin-bottom: 1.5rem;
}

main ul li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

main h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--bp-blue-800);
}

main h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--bp-blue-700);
}

/* Responsive Design */
@media (max-width: 960px) {
  .container {
    padding: 30px;
  }

  .hero {
    flex-direction: column;
    text-align: center;
  }

  .hero-text {
    padding-right: 0;
    margin-bottom: 40px;
  }

  .hero-image {
    max-width: 80%;
  }

  .grid-two-col,
  .grid-two-col.reversed {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .grid-two-col img,
  .grid-two-col.reversed img {
    order: -1;
    margin-bottom: 20px;
    max-width: 60%;
  }
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
  #in-action {
    padding: 4rem 0;
  }

  .screenshot-container {
    max-width: 90%;
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  #benefits {
    padding: 4rem 0;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .benefit-card {
    padding: 2rem 1.5rem;
  }

  .screenshot-caption {
    padding: 0 1.5rem;
    font-size: 1rem;
  }
}

@media (max-width: 600px) {
  h1 {
    font-size: 2.8em;
  }

  h2 {
    font-size: 2em;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .button {
    width: 100%;
  }

  .feature-item {
    padding: 20px;
  }
}
