@import "variables.css";

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-primary);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--color-blue);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-blue-light);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.bv-logo-link {
  text-decoration: none;
  display: inline-block;
}

.bv-wordmark {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 24px;
  line-height: 1;
  letter-spacing: -0.01em;
}

.bv-slash-open { color: var(--color-blue); }
.bv-biz { color: #111111; }
.bv-velo { color: var(--color-blue); }
.bv-slash-close { color: var(--color-orange); }

.bv-wordmark.on-dark .bv-biz { color: #FFFFFF; }
.bv-wordmark.on-dark .bv-velo { color: #FFFFFF; }

.site-header {
  background: var(--gradient-blue);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-desktop {
  display: none;
}

.nav-desktop ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-desktop li {
  position: relative;
}

.nav-desktop a {
  color: rgba(255, 255, 255, 0.9);
  padding: 8px 14px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 400;
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}

.nav-desktop a:hover,
.nav-desktop a:focus {
  background: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
}

.nav-desktop .has-dropdown > a::after {
  content: " ▾";
  font-size: 10px;
}

.nav-desktop .dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #FFFFFF;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  min-width: 200px;
  padding: 8px 0;
  z-index: 200;
}

.nav-desktop li:hover > .dropdown,
.nav-desktop li:focus-within > .dropdown {
  display: block;
}

.dropdown a {
  color: var(--color-text);
  padding: 10px 20px;
  display: block;
  font-size: 14px;
}

.dropdown a:hover {
  background: var(--color-bg-subtle);
  color: var(--color-blue);
}

.btn-cta-nav {
  background: var(--color-orange) !important;
  color: var(--color-text) !important;
  font-weight: 600 !important;
  border-radius: var(--radius) !important;
  padding: 8px 20px !important;
}

.btn-cta-nav:hover {
  background: #f5ad42 !important;
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
}

.lang-switcher a {
  color: rgba(255, 255, 255, 0.8);
  padding: 4px 8px;
  border-radius: 4px;
}

.lang-switcher a.active,
.lang-switcher a:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.15);
}

.lang-switcher .separator {
  color: rgba(255, 255, 255, 0.4);
  user-select: none;
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #FFFFFF;
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.nav-mobile {
  display: none;
  background: #FFFFFF;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  box-shadow: var(--shadow);
  z-index: 200;
}

.nav-mobile.open {
  display: block;
}

.nav-mobile ul {
  list-style: none;
  padding: 16px 0;
}

.nav-mobile a {
  display: block;
  padding: 12px 24px;
  color: var(--color-text);
  font-size: 15px;
}

.nav-mobile a:hover {
  background: var(--color-bg-subtle);
}

.nav-mobile .mobile-parent {
  font-weight: 600;
  color: var(--color-blue);
}

.nav-mobile .mobile-child a {
  padding-left: 44px;
  font-size: 14px;
}

@media (min-width: 1024px) {
  .nav-desktop {
    display: block;
  }
  .hamburger {
    display: none;
  }
  .nav-mobile {
    display: none !important;
  }
}

.hero {
  background: var(--gradient-blue);
  color: #FFFFFF;
  padding: 60px 0 80px;
  text-align: center;
}

.hero h1 {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}

.hero .subheadline {
  font-size: 18px;
  font-weight: 300;
  opacity: 0.9;
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  border: none;
  transition: background var(--transition), transform var(--transition);
  text-align: center;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--color-orange);
  color: var(--color-text);
}

.btn-primary:hover {
  background: #f5ad42;
  color: var(--color-text);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.3);
  color: #FFFFFF;
}

@media (min-width: 640px) {
  .hero h1 {
    font-size: 40px;
  }
  .hero .subheadline {
    font-size: 20px;
  }
}

@media (min-width: 1024px) {
  .hero {
    padding: 80px 0 100px;
  }
  .hero h1 {
    font-size: 48px;
  }
}

.pain-points {
  padding: 60px 0;
  background: var(--color-bg);
}

.pain-points h2 {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 40px;
}

.pain-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.pain-card {
  padding: 28px;
  border: 1px solid #E8E8E8;
  border-radius: var(--radius);
  text-align: center;
}

.pain-card .icon {
  font-size: 40px;
  margin-bottom: 16px;
}

.pain-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.pain-card p {
  font-size: 15px;
  color: #555;
  line-height: 1.5;
}

@media (min-width: 640px) {
  .pain-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.solution-section {
  padding: 60px 0;
  background: var(--color-bg-subtle);
}

.solution-section h2 {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
}

.solution-section .section-subtitle {
  text-align: center;
  font-size: 17px;
  color: #555;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.solution-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.solution-card {
  background: #FFFFFF;
  padding: 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.solution-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-blue);
}

.solution-card p {
  font-size: 15px;
  color: #555;
}

@media (min-width: 640px) {
  .solution-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.social-proof {
  padding: 60px 0;
  background: var(--color-bg);
}

.social-proof h2 {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 40px;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 700px;
  margin: 0 auto 48px;
}

.logo-placeholder {
  background: var(--color-bg-subtle);
  border: 1px dashed #DDD;
  border-radius: var(--radius);
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #999;
}

.testimonials {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.testimonial {
  background: var(--color-bg-subtle);
  padding: 28px;
  border-radius: var(--radius);
  border-left: 4px solid var(--color-blue);
}

.testimonial blockquote {
  font-size: 16px;
  font-style: italic;
  margin-bottom: 12px;
  line-height: 1.6;
}

.testimonial cite {
  font-size: 14px;
  color: #777;
  font-style: normal;
}

@media (min-width: 640px) {
  .logo-grid {
    grid-template-columns: repeat(6, 1fr);
  }
  .testimonials {
    grid-template-columns: repeat(2, 1fr);
  }
}

.lead-magnet-section {
  padding: 60px 0;
  background: var(--gradient-blue);
  color: #FFFFFF;
  text-align: center;
}

.lead-magnet-section h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
}

.lead-magnet-section p {
  font-size: 17px;
  opacity: 0.9;
  margin-bottom: 32px;
}

.lead-magnet-form {
  max-width: 460px;
  margin: 0 auto;
}

.lead-magnet-form input[type="email"] {
  width: 100%;
  padding: 14px 18px;
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-primary);
  font-size: 16px;
  margin-bottom: 12px;
}

.lead-magnet-form input[type="email"]:focus {
  outline: 2px solid var(--color-orange);
}

.lead-magnet-form .btn {
  width: 100%;
}

.site-footer {
  background: #111111;
  color: rgba(255, 255, 255, 0.8);
  padding: 48px 0 24px;
}

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

.footer-col h4 {
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
}

.footer-col p,
.footer-col a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
}

.footer-col a:hover {
  color: #FFFFFF;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

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

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 3fr 2fr 2fr 2fr;
  }
}

.page-header {
  background: var(--gradient-blue);
  color: #FFFFFF;
  padding: 40px 0;
  text-align: center;
}

.page-header h1 {
  font-size: 32px;
  font-weight: 700;
}

@media (min-width: 640px) {
  .page-header h1 {
    font-size: 40px;
  }
}

.page-content {
  padding: 48px 0;
}

.page-content .container {
  max-width: 800px;
}

.page-content h2 {
  font-size: 24px;
  font-weight: 700;
  margin: 32px 0 12px;
}

.page-content h3 {
  font-size: 20px;
  font-weight: 600;
  margin: 24px 0 8px;
}

.page-content p {
  margin-bottom: 16px;
  line-height: 1.7;
}

.page-content ul {
  margin-bottom: 16px;
  padding-left: 24px;
}

.page-content li {
  margin-bottom: 8px;
  line-height: 1.6;
}

.page-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
}

.page-content th,
.page-content td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid #EEE;
}

.page-content th {
  font-weight: 600;
  background: var(--color-bg-subtle);
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

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

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--color-text);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #DDD;
  border-radius: var(--radius);
  font-family: var(--font-primary);
  font-size: 15px;
  transition: border-color var(--transition);
}

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

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.blog-list {
  list-style: none;
}

.blog-list li {
  padding: 24px 0;
  border-bottom: 1px solid #EEE;
}

.blog-list li:last-child {
  border-bottom: none;
}

.blog-list a {
  font-size: 20px;
  font-weight: 600;
  color: var(--color-text);
}

.blog-list a:hover {
  color: var(--color-blue);
}

.blog-list .meta {
  font-size: 14px;
  color: #888;
  margin-top: 4px;
}

.blog-list .summary {
  font-size: 15px;
  color: #555;
  margin-top: 8px;
}

.blog-post-header {
  padding: 40px 0;
  text-align: center;
}

.blog-post-header h1 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
}

.blog-post-header .meta {
  font-size: 14px;
  color: #888;
}

.blog-post-body {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px 48px;
}

.blog-post-body h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 32px 0 12px;
}

.blog-post-body h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 24px 0 8px;
}

.blog-post-body p {
  margin-bottom: 16px;
  line-height: 1.7;
}

.blog-post-body ul {
  margin-bottom: 16px;
  padding-left: 24px;
}

.blog-post-body li {
  margin-bottom: 8px;
}

.blog-post-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
}

.blog-post-body th,
.blog-post-body td {
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid #EEE;
  font-size: 14px;
}

.blog-post-body th {
  font-weight: 600;
  background: var(--color-bg-subtle);
}

.related-posts {
  padding: 48px 0;
  background: var(--color-bg-subtle);
}

.related-posts h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 24px;
  text-align: center;
}

.related-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .related-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .blog-post-header h1 {
    font-size: 36px;
  }
}

.leadmagnet-wrap {
  background: var(--color-bg-subtle);
  border: 1px solid #E8E8E8;
  border-radius: var(--radius);
  padding: 32px;
  margin: 32px 0;
  text-align: center;
}

.leadmagnet-wrap h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.leadmagnet-wrap p {
  font-size: 15px;
  color: #555;
  margin-bottom: 16px;
}

.leadmagnet-wrap input[type="email"] {
  width: 100%;
  max-width: 360px;
  padding: 12px 16px;
  border: 1px solid #DDD;
  border-radius: var(--radius);
  font-family: var(--font-primary);
  font-size: 15px;
  margin-bottom: 12px;
}

.leadmagnet-wrap .btn {
  margin-top: 4px;
}
