:root {
  --black: #111111;
  --white: #ffffff;
  --text: #202020;
  --muted: #666666;
  --border: #e5e5e5;
  --light: #f7f7f7;
  --dark: #111111;
  --active-bg: #f2f2f2;
  --max-width: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    Inter,
    Arial,
    Helvetica,
    sans-serif;

  background: var(--white);
  color: var(--text);
  line-height: 1.7;
}

body.no-scroll {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  width: min(
    calc(100% - 40px),
    var(--max-width)
  );

  margin: 0 auto;
}


/* Overlay */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}


/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;

  background: rgba(255, 255, 255, 0.96);

  border-bottom: 1px solid var(--border);

  backdrop-filter: blur(12px);
}

.nav-container {
  min-height: 74px;

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

.brand,
.footer-brand,
.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  font-size: 22px;
  font-weight: 800;
  cursor: pointer;
}

.brand img,
.footer-brand img,
.nav-brand img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.nav-header {
  display: none;
}

.main-nav {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: #555;
  padding: 10px 18px;
  border-radius: 12px;
  transition: all 0.2s ease;
}

.nav-link:hover {
  color: #000;
  background-color: #f7f7f7;
}

/* Selected/Active Menu Item State */
.nav-link.active {
  background-color: var(--active-bg);
  color: #000;
  font-weight: 800;
}

.menu-toggle {
  display: none;

  width: 42px;
  height: 42px;

  border: 1px solid var(--border);
  background: white;

  border-radius: 8px;

  cursor: pointer;
}

.menu-toggle span {
  display: block;

  width: 20px;
  height: 2px;

  background: #111;

  margin: 4px auto;
}


/* Hero */

.hero {
  min-height: 650px;

  display: flex;
  align-items: center;

  border-bottom: 1px solid var(--border);
}

.hero-content {
  max-width: 850px;
}

.eyebrow {
  display: inline-block;

  margin-bottom: 16px;

  font-size: 12px;
  font-weight: 800;

  letter-spacing: 1.8px;

  color: #666;
}

.hero h1 {
  max-width: 900px;

  font-size: clamp(
    44px,
    7vw,
    82px
  );

  line-height: 1.04;

  letter-spacing: -3px;

  margin-bottom: 28px;
}

.hero p {
  max-width: 720px;

  font-size: 19px;

  color: var(--muted);

  margin-bottom: 34px;
}

.hero-buttons,
.contact-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;

  min-height: 48px;

  align-items: center;
  justify-content: center;

  padding: 0 22px;

  border-radius: 8px;

  font-size: 14px;
  font-weight: 700;

  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

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

.btn-primary {
  background: #111;
  color: #fff;
}

.btn-secondary {
  background: #fff;
  color: #111;

  border: 1px solid #d7d7d7;
}


/* Sections */

.section {
  padding: 110px 0;
}

.section-light {
  background: var(--light);
}

.section-dark {
  background: var(--dark);
  color: white;
}

.section-dark .eyebrow {
  color: #aaa;
}

.section-heading {
  max-width: 800px;

  margin-bottom: 55px;
}

.section-heading h2 {
  font-size: clamp(
    32px,
    5vw,
    54px
  );

  line-height: 1.1;

  letter-spacing: -1.8px;

  margin-bottom: 18px;
}

.section-heading p {
  color: var(--muted);

  font-size: 17px;
}

.section-dark p {
  color: #bbb;
}


/* About */

.about-grid {
  display: grid;

  grid-template-columns:
    repeat(3, 1fr);

  gap: 20px;
}

.about-card {
  padding: 30px;

  border: 1px solid var(--border);

  border-radius: 12px;

  background: #fff;
}

.about-card h3 {
  margin-bottom: 12px;

  font-size: 21px;
}

.about-card p {
  color: var(--muted);
}


/* Company Information */

.info-grid {
  display: grid;

  grid-template-columns:
    repeat(3, 1fr);

  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

.info-item {
  padding: 30px;

  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.info-item span {
  display: block;

  margin-bottom: 8px;

  color: var(--muted);

  font-size: 13px;
}

.info-item strong {
  font-size: 17px;
}


/* Services */

.service-grid {
  display: grid;

  grid-template-columns:
    repeat(3, 1fr);

  gap: 20px;
}

.service-card {
  padding: 32px;

  border: 1px solid var(--border);

  border-radius: 12px;

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-5px);

  box-shadow:
    0 15px 40px
    rgba(0, 0, 0, 0.07);
}

.service-icon {
  margin-bottom: 28px;

  font-size: 12px;
  font-weight: 800;

  color: #777;
}

.service-card h3 {
  margin-bottom: 10px;

  font-size: 21px;
}

.service-card p {
  color: var(--muted);
}


/* Core Business */

.core-business {
  display: grid;

  grid-template-columns:
    1.2fr 1fr;

  gap: 80px;

  align-items: center;
}

.core-business h2 {
  max-width: 700px;

  font-size: clamp(
    32px,
    5vw,
    52px
  );

  line-height: 1.1;

  letter-spacing: -1.5px;
}

.core-list {
  display: flex;

  flex-wrap: wrap;

  gap: 10px;
}

.core-list span {
  padding: 10px 14px;

  border: 1px solid #333;

  border-radius: 100px;

  color: #ddd;

  font-size: 14px;
}


/* Products */

.product-grid {
  display: grid;

  grid-template-columns:
    repeat(3, 1fr);

  gap: 20px;
}

.product-card {
  padding: 34px;

  border: 1px solid var(--border);

  border-radius: 12px;
}

.product-label {
  font-size: 11px;

  font-weight: 800;

  letter-spacing: 1.4px;

  color: #777;
}

.product-card h3 {
  margin: 18px 0 12px;

  font-size: 24px;

  line-height: 1.2;
}

.product-card p {
  color: var(--muted);

  margin-bottom: 25px;
}

.product-card a {
  font-weight: 700;

  font-size: 14px;
}


/* Technology */

.technology-grid {
  display: grid;

  grid-template-columns:
    repeat(2, 1fr);

  gap: 20px;
}

.tech-item {
  padding: 30px;

  border: 1px solid var(--border);

  border-radius: 12px;
}

.tech-item h3 {
  margin-bottom: 8px;

  font-size: 21px;
}

.tech-item p {
  color: var(--muted);
}


/* Values */

.values-grid {
  display: grid;

  grid-template-columns:
    repeat(4, 1fr);

  gap: 20px;
}

.value {
  padding-top: 20px;

  border-top: 2px solid #111;
}

.value strong {
  font-size: 13px;

  color: #777;
}

.value h3 {
  margin: 14px 0 8px;

  font-size: 20px;
}

.value p {
  color: var(--muted);

  font-size: 14px;
}


/* Founder */

.founder-section {
  display: flex;

  justify-content: center;
}

.founder-content {
  width: 100%;
  max-width: 800px;
}

.founder-content h2 {
  font-size: clamp(
    42px,
    6vw,
    68px
  );

  line-height: 1;

  letter-spacing: -2px;

  margin-bottom: 10px;
}

.founder-content h3 {
  margin-bottom: 25px;

  color: #666;

  font-size: 18px;
}

.founder-content p {
  max-width: 750px;

  color: var(--muted);

  font-size: 18px;

  margin-bottom: 30px;
}


/* Timeline */

.timeline {
  max-width: 850px;

  border-left: 1px solid #ccc;

  margin-left: 10px;
}

.timeline-item {
  position: relative;

  display: grid;

  grid-template-columns:
    120px 1fr;

  gap: 30px;

  padding:
    0 0 50px 35px;
}

.timeline-item::before {
  content: "";

  position: absolute;

  width: 11px;
  height: 11px;

  border-radius: 50%;

  background: #111;

  left: -6px;
  top: 5px;
}

.timeline-year {
  font-weight: 800;

  font-size: 14px;
}

.timeline-item h3 {
  margin-bottom: 8px;

  font-size: 21px;
}

.timeline-item p {
  color: var(--muted);
}


/* Future */

.future-section {
  max-width: 900px;
}

.future-section h2 {
  font-size: clamp(
    38px,
    6vw,
    65px
  );

  line-height: 1.05;

  letter-spacing: -2px;

  margin-bottom: 25px;
}

.future-section p {
  max-width: 700px;

  font-size: 18px;
}


/* Security */

.security-box {
  display: grid;

  grid-template-columns:
    1fr auto;

  gap: 50px;

  align-items: center;

  padding: 50px;

  border: 1px solid var(--border);

  border-radius: 14px;
}

.security-box h2 {
  margin-bottom: 15px;

  font-size: 38px;

  line-height: 1.1;
}

.security-box p {
  max-width: 700px;

  color: var(--muted);
}


/* Contact */

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

.contact-section .section-heading {
  margin-left: auto;
  margin-right: auto;
}

.contact-buttons {
  justify-content: center;
}


/* Footer */

.site-footer {
  background: #111;

  color: #fff;

  padding-top: 70px;
}

.footer-grid {
  display: grid;

  grid-template-columns:
    2fr 1fr 1fr 1fr;

  gap: 50px;

  padding-bottom: 60px;
}

.footer-brand {
  margin-bottom: 18px;
}

.footer-grid > div:first-child p {
  max-width: 350px;

  color: #999;

  font-size: 14px;
}

.footer-grid h3 {
  margin-bottom: 18px;

  font-size: 14px;
}

.footer-grid a:not(.footer-brand) {
  display: block;

  margin-bottom: 10px;

  color: #999;

  font-size: 14px;

  transition: color 0.2s ease;
}

.footer-grid a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid #292929;

  padding: 22px 0;
}

.footer-bottom p {
  color: #ffffff;

  font-size: 13px;
}


/* Mobile Screen Rules (Card Style Menu) */

@media (max-width: 860px) {

  .main-nav {
    position: fixed;
    top: 16px;
    left: 16px;
    right: 16px;
    background: #ffffff;
    border-radius: 20px;
    padding: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    z-index: 1002;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: calc(100vh - 32px);
    overflow-y: auto;
  }

  .main-nav.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
  }

  .nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 12px;
    margin-bottom: 8px;
    border-bottom: 1px solid var(--border);
  }

  .menu-close {
    background: #f4f4f5;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #333;
  }

  .nav-links {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .nav-link {
    font-size: 15px;
    padding: 12px 16px;
    border-radius: 12px;
    font-weight: 600;
    color: #444;
  }

  /* Screenshot Card Active Style */
  .nav-link.active {
    background-color: var(--active-bg);
    color: #000;
    font-weight: 800;
  }

  .menu-toggle {
    display: block;
  }

  .about-grid,
  .service-grid,
  .product-grid {
    grid-template-columns: 1fr 1fr;
  }

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

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

  .core-business {
    grid-template-columns: 1fr;
    gap: 35px;
  }

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


@media (max-width: 600px) {

  .container {
    width: min(
      calc(100% - 28px),
      var(--max-width)
    );
  }

  .section {
    padding: 75px 0;
  }

  .hero {
    min-height: 580px;
  }

  .hero h1 {
    letter-spacing: -2px;
  }

  .hero p {
    font-size: 17px;
  }

  .about-grid,
  .service-grid,
  .product-grid,
  .technology-grid,
  .info-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }

  .security-box {
    grid-template-columns: 1fr;

    padding: 30px;
  }

  .security-box h2 {
    font-size: 31px;
  }

  .timeline-item {
    grid-template-columns: 1fr;

    gap: 5px;

    padding-left: 25px;
  }

  .footer-grid {
    grid-template-columns: 1fr;

    gap: 35px;
  }

  .hero-buttons,
  .contact-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}
