/* --- ROOT & VARIABLES --- */
:root {
  --primary-color: #00e0ff;
  --secondary-color: #4effb5;
  --primary-grad: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  --bg-dark: #020409;
  --bg-light: #0d1117;
  --bg-glass: rgba(13, 17, 23, 0.7);
  --text: #f0f6fc;
  --muted: #a0acb8;
  --border-color: rgba(255, 255, 255, 0.08);
  --radius: 16px;
  --maxw: 1200px;
}

/* --- BASE & SCROLLBAR --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  scroll-behavior: smooth;
  /* Fix: Force scrollbar track to prevent layout shift on modal open */
  overflow-y: scroll;
}

body {
  font-family: 'Poppins', sans-serif;
  background: var(--bg-dark);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Fix: Modal open state */
body.modal-open {
  overflow: hidden;
  /* padding-right is set by JS to match scrollbar width */
}


::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-color);
}
::selection {
  background: rgba(0, 224, 255, 0.3);
  color: var(--text);
}

/* --- ACCESSIBILITY: KEYBOARD FOCUS --- */
:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 3px;
  border-radius: 4px;
}

/* --- HEADER --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 2.5rem;
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 999;
  border-bottom: 1px solid var(--border-color);
  transition: all 0.3s ease;
}
header h1 {
  background: var(--primary-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 1.5rem;
  font-weight: 700;
}
header nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}
header nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  transition: .3s;
}
header nav a:hover {
  color: var(--primary-color);
}
header nav a.nav-cta {
  background: var(--primary-color);
  color: var(--bg-dark);
  padding: 0.5rem 1rem;
  border-radius: 30px;
  font-weight: 600;
  transition: .3s;
}
header nav a.nav-cta:hover {
  color: var(--bg-dark);
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(0, 224, 255, 0.4);
}
header nav a.active {
  color: var(--primary-color);
  font-weight: 600;
}
header nav a.nav-cta.active {
  color: var(--bg-dark);
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(0, 224, 255, 0.6);
}

/* --- MOBILE NAV --- */
.mobile-nav-toggle {
  display: none;
  font-size: 1.8rem;
  color: var(--text);
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 300px;
  height: 100vh;
  background: var(--bg-light);
  border-left: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  z-index: 1000;
  transition: right 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}
.mobile-nav.open {
  right: 0;
}
.mobile-nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 500;
}
.mobile-nav .nav-cta {
  background: var(--primary-color);
  color: var(--bg-dark);
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  font-weight: 600;
}
.mobile-nav a.active {
  color: var(--primary-color);
  font-weight: 600;
}
.mobile-nav .nav-cta.active {
  color: var(--bg-dark);
  transform: scale(1.05);
}
.mobile-nav-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 2rem;
  color: var(--muted);
  background: none;
  border: none;
  cursor: pointer;
  transition: .3s;
}
.mobile-nav-close:hover {
  color: var(--primary-color);
  transform: rotate(90deg);
}

/* --- HERO --- */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 100vh;
  padding: 0 1rem;
  background: radial-gradient(circle at 50% 10%, #0a1220 0%, #020409 80%);
  overflow: hidden;
}

/* BUG FIX 1: Hero Animation (Mobile & Desktop) */
.hero::before {
  content: "";
  position: absolute;
  /* This calculation centers the 200vmax square perfectly */
  top: calc(50% - 100vmax);
  left: calc(50% - 100vmax);
  width: 200vmax;
  height: 200vmax;
  background: conic-gradient(from 90deg at 50% 50%, rgba(0, 224, 255, 0.08), transparent 40%);
  /* A simple rotate is more performant and stable */
  animation: spin 20s linear infinite;
}
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.hero h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  background: var(--primary-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 1rem;
  font-weight: 700;
  z-index: 1; /* Keep above animation */
}
.hero p {
  color: var(--muted);
  max-width: 650px;
  margin-bottom: 2.5rem;
  z-index: 1;
  font-size: 1.15rem;
}

/* --- BUTTONS --- */
.btn {
  display: inline-block;
  background: var(--primary-grad);
  color: #020409;
  padding: .9rem 2.2rem;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: .3s;
  z-index: 1;
  border: none;
  font-size: 1rem;
  cursor: pointer;
}
.btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 0 25px rgba(0, 224, 255, 0.5);
}

/* --- SECTIONS --- */
section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 6rem 1.5rem;
  position: relative;
  z-index: 1;
}
/* Anchor link offset */
section[id] {
  padding-top: 0;
  scroll-margin-top: 6rem;
}
/* This is the fix to make Hero full-width */
section.hero[id] {
  padding-top: 0;
  scroll-margin-top: 0;
  max-width: none;
  margin: 0;
}
section h2.section-title {
  text-align: center;
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  background: var(--primary-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
section p.section-subtitle {
  text-align: center;
  color: var(--muted);
  max-width: 750px;
  margin: 0 auto 3rem;
  font-size: 1.1rem;
}

/* --- LOGO SCROLLER --- */
.logo-scroller {
  padding: 2rem 0;
  background: var(--bg-light);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
  position: relative;
  z-index: 2;
  margin-bottom: 3rem;
  max-width: none; /* Make scroller full-width */
}
.logo-scroller::before, .logo-scroller::after {
  content: "";
  position: absolute;
  top: 0;
  width: 150px;
  height: 100%;
  z-index: 2;
  /* BUG FIX: Add pointer-events: none; to allow hover */
  pointer-events: none;
}
.logo-scroller::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-light), transparent);
}
.logo-scroller::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-light), transparent);
}
.logo-scroller-inner {
  display: flex;
  width: max-content;
  flex-wrap: nowrap;
  animation: scroll 40s linear infinite;
  z-index: 1; /* Sit behind the fades */
}
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.logo-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--muted);
  margin: 0 2rem;
  filter: grayscale(100%) opacity(0.4);
  transition: .3s;
}
.logo-item i {
  font-size: 1.8rem;
  color: var(--primary-color);
}
.logo-item:hover {
  filter: grayscale(0%) opacity(1);
  color: var(--text);
}

/* --- BENTO GRID & CARDS --- */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: auto;
  gap: 1.5rem;
}
/* New grid for tools section */
.tools-grid {
  /* BUG FIX: Use auto-fit for responsive tools grid */
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.bento-card,
.process-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
  z-index: 1;
  will-change: transform, opacity;
}
.bento-card:hover,
.process-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 224, 255, 0.3);
  box-shadow: 0 10px 30px rgba(0, 224, 255, 0.07);
}
.process-card:hover {
  border-color: rgba(78, 255, 181, 0.3);
  box-shadow: 0 10px 30px rgba(78, 255, 181, 0.07);
}
.bento-card[data-modal-target],
.process-card[data-modal-target],
.pricing-card[data-modal-target] {
  cursor: pointer;
}
.bento-card.span-2 { grid-column: span 2; }
.bento-card.span-3 { grid-column: span 3; }
.bento-card.row-2 { grid-row: span 2; }
.bento-card .icon,
.process-card .icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  background: var(--primary-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
  position: relative;
  z-index: 2;
}
/* BUG FIX: Style for Tool Icons */
.card-tool.bento-card .icon {
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  color: var(--secondary-color);
}
.bento-card h3,
.process-card h3 {
  font-size: 1.5rem;
  color: var(--text);
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 2;
}
.process-card h3 { font-size: 1.3rem; }
.bento-card p,
.process-card p {
  color: var(--muted);
  font-size: 0.95rem;
  flex-grow: 1;
  position: relative;
  z-index: 2;
}
.bento-card .learn-more,
.process-card .learn-more {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 1rem;
  display: inline-block;
  position: relative;
  z-index: 2;
}
.bento-card .learn-more::after,
.process-card .learn-more::after {
  content: ' \f061';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  transition: transform 0.3s ease;
  display: inline-block;
}
.bento-card:hover .learn-more::after,
.process-card:hover .learn-more::after {
  transform: translateX(5px);
}
/* BUG FIX: Add .pricing-card to spotlight hover */
.bento-card::before,
.process-card::before,
.pricing-card::before {
  content: "";
  position: absolute;
  top: -1px; left: -1px; right: -1px; bottom: -1px;
  border-radius: var(--radius);
  background: radial-gradient(circle at var(--mouse-x) var(--mouse-y), rgba(0, 224, 255, 0.15), transparent 40%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
  pointer-events: none; /* Allow clicks to pass through */
}
.process-card::before {
  background: radial-gradient(circle at var(--mouse-x) var(--mouse-y), rgba(78, 255, 181, 0.15), transparent 40%);
}
.bento-card:hover::before,
.process-card:hover::before,
.pricing-card:hover::before {
  opacity: 1;
}

/* --- "OUR TOOLS" SECTION --- */
.card-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: var(--primary-color);
  color: var(--bg-dark);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  border-radius: 20px;
}

/* --- PROCESS SECTION --- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}
.process-card .step-number {
  font-size: 3rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.05);
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  line-height: 1;
  z-index: 1;
}

/* --- PRICING SECTION --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}
.pricing-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  position: relative; /* Needed for spotlight */
  overflow: hidden; /* Needed for spotlight */
}
.pricing-card .learn-more {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 2rem;
  display: inline-block;
  position: relative;
  z-index: 2;
  text-align: center;
}
.pricing-card .learn-more::after {
  content: ' \f061';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  transition: transform 0.3s ease;
  display: inline-block;
}
.pricing-card:hover .learn-more::after {
  transform: translateX(5px);
}
.pricing-card.popular {
  border-color: var(--primary-color);
  box-shadow: 0 0 30px rgba(0, 224, 255, 0.2);
  transform: scale(1.03);
}
.pricing-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.pricing-card .price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.25rem;
}
.pricing-card .price-freq {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}
.pricing-card p.desc {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}
.pricing-card ul {
  list-style: none;
  margin-bottom: 0;
  flex-grow: 1;
}
.pricing-card ul li {
  color: var(--muted);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.pricing-card ul li i {
  color: var(--secondary-color);
  font-size: 1.1rem;
}

/* --- FAQ SECTION --- */
.faq-container {
  max-width: 750px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--border-color);
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 1.5rem 0;
  background: none;
  border: none;
  color: var(--text);
  font-family: 'Poppins', sans-serif;
  font-size: 1.15rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
}
.faq-question i {
  color: var(--primary-color);
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}
.faq-item.active .faq-question i {
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}
.faq-answer p {
  color: var(--muted);
  padding: 0 0 1.5rem 0;
  line-height: 1.7;
}

@keyframes pulse-glow-premium {
  0% {
    /* Start with no shadow */
    box-shadow: 0 0 0 0 rgba(0, 224, 255, 0.5);
  }
  70% {
    /* Pulse expands to 12px and fades out */
    box-shadow: 0 0 0 12px rgba(0, 224, 255, 0);
  }
  100% {
    /* Animation loop resets */
    box-shadow: 0 0 0 0 rgba(0, 224, 255, 0);
  }
}

/* --- FOUNDER SECTION --- */
.founder {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  text-align: left;
  background: var(--bg-light);
  padding: 4rem;
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
}
.founder img,
.founder picture {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  
  /* A subtle border by default */
  border: 2px solid rgba(0, 224, 255, 0.2); 

  /* Only transition the zoom and border, not the shadow */
  transition: transform 0.4s ease-in-out, border-color 0.4s ease-in-out;
  cursor: pointer;
}

.founder img:hover,
.founder picture:hover,
.founder img:active,
.founder picture:active {
  transform: scale(1.05); /* Keep the zoom */
  border-color: var(--primary-color); /* Make the border bright */
  
  /* --- NEW: Apply the pulse animation on hover or click --- */
  animation: pulse-glow-premium 1.7s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

/* Rest of your .founder and .founder-text styles remain the same */
.founder-text {
  max-width: 500px;
}
.founder-text h3 {
  color: var(--text);
  margin-bottom: .5rem;
  font-size: 1.8rem;
}
.founder-text .role {
  color: var(--secondary-color);
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}
.founder-text p {
  color: var(--muted);
  text-align: left;
  margin: 0;
  font-size: 1.05rem;
}

/* --- CONTACT SECTION --- */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  text-align: left;
  margin-top: 4rem;
}
.contact-info h3 {
  font-size: 2rem;
  background: var(--primary-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 1rem;
}
.contact-info p {
  color: var(--muted);
  font-size: 1.1rem;
  text-align: left;
  margin-bottom: 2rem;
}
.contact-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}
.contact-info .btn-whatsapp {
  background: #25d366;
  color: #fff;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  min-width: 200px;
  text-align: center;
}
.contact-info .btn-whatsapp:hover {
  background: #1da851;
  box-shadow: 0 0 20px rgba(37, 211, 102, 0.4);
}
.contact-info .btn-email {
  background: var(--bg-light);
  color: var(--text);
  border: 1px solid var(--border-color);
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  min-width: 200px;
  text-align: center;
}
.contact-info .btn-email:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  box-shadow: 0 0 20px rgba(0, 224, 255, 0.2);
}
.contact-form {
  background: var(--bg-glass);
  padding: 2.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
}
.form-group {
  margin-bottom: 1.5rem;
}
.form-group label {
  display: block;
  margin-bottom: .5rem;
  color: var(--muted);
  font-weight: 500;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.9rem;
  background: var(--bg-dark);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text);
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  transition: .3s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 10px rgba(0, 224, 255, 0.2);
}
.form-group .btn {
  width: 100%;
  font-size: 1.1rem;
}

/* --- FOOTER --- */
footer {
  text-align: center;
  padding: 3rem 1.5rem;
  color: var(--muted);
  font-size: .9rem;
  border-top: 1px solid var(--border-color);
  background: var(--bg-dark);
}
.footer-links {
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer-links a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer-links a:hover {
  color: var(--primary-color);
}
.social-links {
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}
.social-links a {
  color: var(--muted);
  font-size: 1.5rem;
  transition: .3s;
}
.social-links a:hover {
  color: var(--primary-color);
  transform: translateY(-3px);
}

/* --- SCROLL ANIMATIONS --- */
[data-anim] {
  opacity: 0;
  transform: translateY(30px) scale(0.98);
  transition: all .8s cubic-bezier(0.165, 0.84, 0.44, 1);
}
[data-anim].visible {
  opacity: 1;
  transform: none;
}

/* --- TYPEWRITER --- */
.typewrite > .wrap {
  border-right: .1em solid var(--primary-color);
}

/* --- SCROLL TO TOP --- */
.scroll-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--bg-glass);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  text-decoration: none;
  z-index: 998;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
  visibility: hidden;
  border: 1px solid var(--border-color);
}
.scroll-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}
.scroll-to-top:hover {
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(0, 224, 255, 0.5);
  background: rgba(0, 224, 255, 0.1);
}
.scroll-to-top svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.scroll-to-top .scroll-track {
  stroke: var(--border-color);
}
.scroll-to-top .scroll-progress {
  stroke: var(--primary-color);
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  transition: stroke-dashoffset 0.1s linear;
}
.scroll-to-top i {
  position: absolute;
  font-size: 1.2rem;
  color: var(--primary-color);
}

/* --- MODAL --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(2, 4, 9, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.4s ease, visibility 0.4s;
}
.modal-overlay.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.modal-content {
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 2.5rem;
  width: 90%;
  max-width: 600px;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  opacity: 1;
  transform: scale(1) translate(0, 0);
  will-change: transform, opacity;
}
.modal-content h3 {
  font-size: 2rem;
  background: var(--primary-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 1rem;
}
.modal-body {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}
.modal-body p {
  margin-bottom: 1rem;
}
.modal-body img {
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius) / 2);
  margin-bottom: 1rem;
}
.modal-body .btn {
  margin-top: 1.5rem;
  color: var(--bg-dark) !important; /* Ensure text is dark */
}
.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 2rem;
  color: var(--muted);
  background: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}
.modal-close:hover {
  color: var(--primary-color);
  transform: rotate(90deg);
}

/* --- RESPONSIVE STYLES --- */

/* Laptops / Desktops (992px) */
@media (max-width: 992px) {
  header {
    padding: 1rem 1.5rem;
  }
  header nav {
    display: none;
  }
  .mobile-nav-toggle {
    display: block;
  }
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bento-card.span-2,
  .bento-card.span-3,
  .bento-card.row-2 {
    grid-column: span 1;
    grid-row: span 1;
  }
  .contact-container {
    grid-template-columns: 1fr;
  }
  .contact-info {
    text-align: center;
  }
  .contact-info p {
    text-align: left; /* Keep readable */
  }
  .contact-buttons {
    align-items: center;
  }
}

/* Tablets / Large Phones (768px) */
@media (max-width: 768px) {
  .bento-grid {
    grid-template-columns: 1fr; /* Stack all bento cards */
  }
  .founder {
    flex-direction: column;
    text-align: center;
    padding: 2.5rem;
  }
  .founder-text {
    text-align: center;
  }
  .founder-text p {
    text-align: left; /* Keep readable */
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .pricing-card.popular {
    transform: scale(1);
  }
  .logo-scroller-inner {
    animation-duration: 60s; /* Slow down for mobile */
  }
  .logo-item {
    font-size: 0.9rem;
    margin: 0 1.5rem;
  }
  .logo-item i {
    font-size: 1.5rem;
  }
  .scroll-to-top {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
  }
  .scroll-to-top i {
    font-size: 1rem;
  }
  .modal-content {
    padding: 2rem;
  }
  .modal-close {
    top: 1rem;
    right: 1rem;
  }
}

/* --- WIDEN CONTENT ON LARGE DESKTOPS --- */
@media (min-width: 1600px) {
  :root {
    --maxw: 1400px; /* From 1200px */
  }
  .founder-text {
    max-width: 600px; /* From 500px */
  }
}
@media (min-width: 2000px) {
  :root {
    --maxw: 1600px; /* From 1400px */
  }
  .founder-text {
    max-width: 700px; /* From 600px */
  }
}

/* --- ACCESSIBILITY: REDUCE MOTION --- */
@media (prefers-reduced-motion: reduce) {
  html,
  body {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero::before {
    animation: none;
  }
  .logo-scroller-inner {
    animation: none;
  }
  .faq-answer {
    max-height: none !important;
  }
  .faq-item:not(.active) .faq-answer {
    display: none;
  }
  .modal-content {
    /* Disable open/close animation */
    transition: none !important;
  }
}
