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

/* Skip to main content link for accessibility */
.skip-link {
  position: absolute;
  top: -100px;
  left: -100px;
  background: #000;
  color: #fff;
  padding: 8px;
  text-decoration: none;
  z-index: 10000;
  white-space: nowrap;
}

.skip-link:focus {
  top: 10px;
  left: 10px;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
}

h2 {
  font-size: 2rem;
}

/* Header */
.header {
  background: white;
  padding: 0.8rem 2rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1440px;
  margin: 0 auto;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-size: 0.8rem;
  font-weight: 700;
  transition: color 0.3s;
}

.nav-links a.btn {
  transition: all 0.3s ease;
}

.nav-links .btn {
  padding: 0.35rem 1.2rem;
}

.header-buttons {
  display: flex;
  gap: 1rem;
}

.product-name {
  font-size: 1.2rem;
  font-weight: bold;
  color: #1e293b;
  text-decoration: none;
}

.product-name:hover {
  opacity: 0.8;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 24px;
  position: relative;
  transition: opacity 0.3s;
}

.hamburger:hover {
  opacity: 1;
}

.hamburger:focus {
  outline: none;
}

.hamburger .item {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #333;
  position: absolute;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.hamburger .item:nth-child(1) {
  top: 0;
}

.hamburger .item:nth-child(2) {
  top: 10.5px;
  /* (24px - 3px) / 2 = 10.5px for exact center */
}

.hamburger .item:nth-child(3) {
  bottom: 0;
}

/* Hamburger active state - X */
.hamburger.active .item:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

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

.hamburger.active .item:nth-child(3) {
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg);
}

.btn {
  padding: 0.55rem 2.5rem;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  transform: translateY(0);
}

.btn-primary {
  background: #0066b3;
  color: white;
  border: 2px solid #0066b3;
}

.btn-primary:hover {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transform: translateY(2px);
}

.btn-secondary {
  background-color: #ffe203;
  color: #000;
  border: 2px solid #ffe203;
}

.btn-secondary:hover {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transform: translateY(2px);
}

/* Focus states for accessibility */
.btn:focus {
  outline: 2px solid #0066b3;
  outline-offset: 2px;
}

/* Link Hover Effects */
a:not(.btn):not(.company-logo) {
  transition: opacity 0.4s ease;
  opacity: 1;
}

a:hover:not(.btn):not(.company-logo) {
  opacity: 0.7;
}

/* Main Content */
.main {
  margin-top: 80px;
}

.section {
  padding: 3rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section:nth-child(even) {
  background: #f1f1f1;
}

.full-width-bg {
  background: #f1f1f1;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}

.full-width-bg .section {
  background: transparent;
  padding: 2rem;
  margin: 0 auto;
}

.section.hero {
  padding-bottom: 0;
}

/* Section 1 - Hero */
.hero {
  display: flex;
  align-items: center;
}

.hero-content {
  flex: 1;
  margin-right: -350px;
  margin-bottom: 90px;
  z-index: 10;
}

h1 {
  font-size: 3rem;
  margin-block: 0rem;
  margin-bottom: 1rem;
  color: #1e293b;
}

.hero p {
  font-size: 1.15rem;
  margin-bottom: 0.3rem;
  color: #333;
}

.hero-image {
  max-width: 75%;
  aspect-ratio: 899 / 565;
}

picture.hero-image img {
  height: auto;
  display: block;
  width: 100%;
}

/* Section 2 - Benefits */
.benefits {
  text-align: center;
}

.benefits-images.desktop-only {
  display: flex;
}

.benefits-images.mobile-only {
  display: none;
}

.benefits-images {
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
}

.benefits-images img:not(.arrow-horizontal):not(.arrow-vertical) {
  max-width: 525px;
  width: 100%;
  height: auto;
  aspect-ratio: 860 / 980;
}

.benefits-images .arrow-horizontal {
  width: auto;
  max-width: 60px;
}

.benefits-images .arrow-vertical {
  width: auto;
  max-width: 40px;
}

@media (max-width: 768px) {
  .benefits-images.desktop-only {
    display: none;
  }

  .benefits-images.mobile-only {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .benefits-images.mobile-only img:not(.arrow-vertical) {
    max-width: 400px;
    aspect-ratio: 400 / 456;
  }
}

.benefits h2 {
  margin-bottom: 1rem;
  color: #1e293b;
}

.benefits-message {
  margin-top: 2rem;
  text-align: center;
  font-size: 1.65rem;
  font-weight: 700;
  color: #0066b3;
  padding: 1.5rem 2rem;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 102, 179, 0.1);
  max-width: 600px;
  margin-inline: auto;
}

@media (max-width: 768px) {
  .benefits-message {
    font-size: 1.25rem;
    padding: 1rem;
    margin-top: 1rem;
  }
}

/* Section 3 - Features */
.features h2 {
  text-align: center;
  margin-bottom: 3rem;
  color: #1e293b;
}

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

.feature:nth-child(even) {
  flex-direction: row-reverse;
}

.feature-content {
  flex: 1;
  max-width: 500px;
}

.feature-image {
  flex: 0 0 45%;
}

.feature h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: #1e293b;
}

.feature p {
  color: #333;
  font-size: 1.1rem;
  line-height: 1.8;
}

.feature-image img {
  width: 100%;
  height: auto;
  max-height: 300px;
  object-fit: contain;
}

/* Section 4 - CTA */
.cta {
  text-align: center;
}

.cta h2 {
  margin-bottom: 1rem;
  color: #1e293b;
}

.cta p {
  font-size: 1rem;
  margin-bottom: 2rem;
}

.cta p:last-of-type {
  margin-bottom: 4rem;
}

.cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Section 5 - Forms with Tabs */
.section.download {
  padding-bottom: 4rem;
}

.download {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.download h2 {
  text-align: center;
  margin-bottom: 2rem;
}

/* Tab Navigation */
.tab-navigation {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 2rem;
  border-bottom: 2px solid #e5e7eb;
  position: relative;
}

.tab-button {
  background: none;
  border: none;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  color: #6b7280;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
}

.tab-button:hover {
  color: #0066b3;
  background: rgba(0, 102, 179, 0.05);
}

.tab-button.active {
  color: #0066b3;
  border-bottom-color: #0066b3;
}

.tab-button:focus {
  outline: 2px solid #0066b3;
  outline-offset: -2px;
  border-radius: 4px 4px 0 0;
}

/* Tab Panels */
.tab-panels {
  position: relative;
}

.tab-panel {
  display: none;
  animation: fadeIn 0.3s ease-in-out;
}

.tab-panel.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Form Layout */
.download-wrapper {
  display: flex;
  gap: 4rem;
}

.download-form {
  flex: 1;
}

.download-info {
  flex: 1;
}

.download-info img {
  width: 100%;
  max-width: 440px;
  padding: 1.5rem;
}

.info-section {
  margin-bottom: 1rem;
}

.info-section h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: #1e293b;
}

.info-section p {
  color: #4b5563;
  margin-bottom: 0.3rem;
  font-size: 0.9rem;
}

.info-section ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0.3rem;
}

.info-section li {
  color: #4b5563;
  font-size: 0.9rem;
}

/* Tablet responsive adjustments */
@media (max-width: 1170px) {
  .hero-content {
    margin-right: -180px;
  }

  .hero h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 990px) {
  .hero-content {
    margin-right: -80px;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

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

  .btn {
    padding: 0.5rem 2rem;
  }
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
  h2 {
    font-size: 1.6rem;
  }

  .header {
    padding: 0.8rem 1rem;
  }

  .hamburger {
    display: block;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    gap: 1rem;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    font-size: 1rem;
    padding: 0.5rem 0;
    width: 100%;
    text-align: center;
  }

  .header-buttons {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

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

  .section {
    padding: 2rem 1rem;
  }

  .section.download {
    padding-bottom: 2rem;
  }

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

  .hero-content {
    margin-right: 0;
    margin-bottom: 0;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-image {
    max-width: 100%;
    aspect-ratio: 768 / 452;
  }

  .full-width-bg .section {
    padding: 1rem 0.5rem;
  }

  .feature,
  .feature:nth-child(even) {
    flex-direction: column;
    text-align: left;
    gap: 2rem;
    margin-bottom: 1rem;
  }

  .feature p {
    font-size: 1rem;
    line-height: 1.6;
  }

  .download {
    flex-direction: column;
    gap: unset;
  }

  .download-wrapper {
    flex-direction: column;
    gap: unset;
  }

  /* Mobile tab styles */
  .tab-navigation {
    flex-direction: row;
    overflow-x: visible;
    margin-bottom: 1.5rem;
  }

  .tab-button {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    white-space: nowrap;
    flex: 1;
  }

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

  .cta-buttons .btn {
    width: 100%;
    max-width: 300px;
  }
}

/* Footer */
.footer {
  background: #f1f1f1;
  padding: 3rem 5% 2rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  margin-bottom: 1.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4rem;
}

.footer-product-name {
  font-size: 1.6rem;
  font-weight: bold;
  margin: 0;
}

.footer-product-name-suffix {
  font-size: 1.1rem;
  font-weight: bold;
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.footer-links li {
  list-style: none;
  position: relative;

  &::before {
    position: absolute;
    top: -2px;
    left: -10px;
    content: url("assets/arrow-1.svg");
  }
}

.footer-links a {
  color: #1e293b;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.footer-middle {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-info {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.company-info h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.company-info p {
  font-size: 0.95rem;
}

.company-logo img {
  width: 90px;
  height: 25px;
}

.p-mark {
  width: 70px;
  height: 70px;
}

.footer-contact {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.footer-copyrights {
  display: flex;
  justify-content: center;
}

.phone-number {
  text-decoration: none;
  color: #333;
  font-size: 1.5rem;
  font-weight: bold;
}

.phone-number::before {
  margin-right: 10px;
  content: url("assets/tel.svg");
}

.availability {
  font-size: 0.9rem;
  margin: -7px 0 0 40px;
}

.footer-bottom p {
  color: #333;
  font-size: 0.9rem;
}

/* Footer Responsive */
@media (max-width: 768px) {
  .footer {
    padding: 2rem 1rem;
  }

  .footer-brand {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .footer-product-name {
    font-size: 1.5rem;
    align-self: flex-start;
  }

  .footer-product-name-suffix {
    font-size: 1.2rem;
  }

  .footer-links {
    justify-content: center;
    gap: 0.9rem;
    padding: 0;
  }

  .footer-links li {
    &::before {
      display: none;
    }
  }

  .footer-links a {
    font-size: 0.9rem;
  }

  .footer-middle {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }

  .footer-info {
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
    gap: 1.5rem;
    width: 100%;
  }

  .company-info {
    order: 1;
    text-align: left;
  }

  .company-info p {
    font-size: 0.85rem;
  }

  .company-logo {
    display: inline-block;
  }

  .p-mark {
    order: 2;
    width: 60px;
    height: 60px;
    flex-shrink: 0;
  }

  .footer-contact {
    flex-direction: column;
    text-align: center;
    width: 100%;
  }

  .phone-number {
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .phone-number::before {
    margin-right: 8px;
  }

  .availability {
    text-align: left;
    font-size: 0.85rem;
  }

  .footer-copyrights {
    align-self: center;
    text-align: center;
    font-size: 0.8rem;
  }
}
