/* ============ Byten Technologies — byten.co ============ */
/* Theme: rounded + light, built from the brand logo (navy tiles + teal) */

:root {
  --navy: #0b1c3d;
  --navy-soft: #14294f;
  --teal: #c0862e;
  --teal-bright: #f2b84b;
  --teal-light: #d9a33d;
  --teal-tint: #fbf1e1;
  --bg: #f6f9fb;
  --card: #ffffff;
  --border: #e3ebf2;
  --text: #22324d;
  --dim: #5c6b84;
  --radius: 20px;
  --container: 1120px;
  --font-head: "Baloo 2", "Arial Rounded MT Bold", sans-serif;
  --font-body: "Nunito", -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.12;
  font-weight: 700;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

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

.logo { display: flex; align-items: center; text-decoration: none; }
.logo img { height: 48px; width: auto; display: block; }
.logo-footer img { height: 40px; }

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

.nav-links a {
  color: var(--dim);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.97rem;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--teal); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 22px;
  height: 2.5px;
  background: var(--navy);
  border-radius: 2px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--teal);
  color: #ffffff;
  font-family: var(--font-head);
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 12px;
  text-decoration: none;
  font-size: 1rem;
  transition: transform 0.15s, background 0.15s, box-shadow 0.15s;
}
.btn:hover {
  background: var(--teal-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(192, 134, 46, 0.3);
}
.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--border);
}
.btn-outline:hover {
  background: #ffffff;
  border-color: var(--teal);
  box-shadow: none;
  color: var(--teal);
}
.nav-links .btn-small {
  padding: 10px 24px;
  font-size: 0.92rem;
  color: #ffffff;
}
.nav-links .btn-small:hover { color: #ffffff; }

/* ---------- Hero ---------- */
.hero {
  padding: 100px 0 80px;
  background:
    radial-gradient(ellipse 55% 60% at 85% 10%, rgba(242, 184, 75, 0.10), transparent),
    radial-gradient(ellipse 45% 45% at 8% 85%, rgba(11, 28, 61, 0.05), transparent);
  position: relative;
  overflow: hidden;
}

.hero-tiles {
  position: absolute;
  right: 6%;
  top: 120px;
  display: grid;
  grid-template-columns: repeat(2, 84px);
  gap: 18px;
  transform: rotate(8deg);
}
.hero-tiles span {
  width: 84px;
  height: 84px;
  border-radius: 22px;
  display: block;
}
.hero-tiles span:nth-child(1) { background: var(--navy); }
.hero-tiles span:nth-child(2) { background: var(--teal-bright); transform: translateY(-14px); }
.hero-tiles span:nth-child(3) { background: var(--navy); opacity: 0.92; }
.hero-tiles span:nth-child(4) { background: var(--teal); transform: translateY(-14px); }

.hero-kicker {
  display: inline-block;
  background: var(--teal-tint);
  color: var(--teal);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 999px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.3rem);
  margin-bottom: 20px;
  max-width: 700px;
}
.hero h1 .teal { color: var(--teal); }

.hero-sub {
  color: var(--dim);
  font-size: 1.18rem;
  max-width: 540px;
  margin-bottom: 36px;
}

.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  gap: 20px;
  margin-top: 60px;
  flex-wrap: wrap;
}
.hero-stats div {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 26px;
  display: flex;
  flex-direction: column;
}
.hero-stats strong {
  font-family: var(--font-head);
  font-size: 1.3rem;
  color: var(--navy);
}
.hero-stats span { color: var(--dim); font-size: 0.9rem; }

/* ---------- Sections ---------- */
.section { padding: 90px 0; }
.section-alt { background: #ffffff; }

.section-kicker {
  display: inline-block;
  background: var(--teal-tint);
  color: var(--teal);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.section h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 14px;
}

.section-sub {
  color: var(--dim);
  font-size: 1.08rem;
  max-width: 620px;
  margin-bottom: 48px;
}

/* ---------- Product grid ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 30px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.card:hover {
  transform: translateY(-5px);
  border-color: rgba(192, 134, 46, 0.4);
  box-shadow: 0 18px 40px rgba(11, 28, 61, 0.08);
}
.card.featured { border: 2px solid var(--teal); }

.card-icon {
  width: 54px;
  height: 54px;
  border-radius: 15px;
  background: var(--teal-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.card-icon svg {
  width: 26px;
  height: 26px;
  color: var(--teal);
}
.card h3 { font-size: 1.35rem; margin-bottom: 4px; }
.card-tag {
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.card p:last-child { color: var(--dim); font-size: 0.98rem; }

/* ---------- Mini product strip ---------- */
.mini-strip { margin-top: 48px; }
.mini-title {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--dim);
  font-size: 1rem;
  margin-bottom: 18px;
}
.mini-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}
.mini-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mini-card strong {
  font-family: var(--font-head);
  color: var(--navy);
  font-size: 1rem;
}
.mini-card span { color: var(--dim); font-size: 0.86rem; line-height: 1.5; }

/* ---------- AI ---------- */
.section-ai {
  background: var(--navy);
}
.section-ai h2 { color: #ffffff; }
.kicker-ai { background: rgba(242, 184, 75, 0.15); color: var(--teal-bright); }
.sub-ai { color: #9db0cf; }

.ai-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.ai-card {
  background: var(--navy-soft);
  border: 1px solid #21396a;
  border-radius: var(--radius);
  padding: 30px 28px;
  transition: border-color 0.2s, transform 0.2s;
}
.ai-card:hover { border-color: var(--teal-bright); transform: translateY(-4px); }
.ai-icon {
  width: 52px;
  height: 52px;
  border-radius: 15px;
  background: rgba(242, 184, 75, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.ai-icon svg {
  width: 24px;
  height: 24px;
  color: var(--teal-bright);
}
.ai-card h3 { color: #ffffff; font-size: 1.2rem; margin-bottom: 8px; }
.ai-card p { color: #9db0cf; font-size: 0.96rem; }

/* ---------- Why ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.why-item {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 28px 26px;
}
.why-item .tile-dot {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--teal);
  margin-bottom: 16px;
}
.why-item:nth-child(2) .tile-dot { background: var(--navy); }
.why-item:nth-child(3) .tile-dot { background: var(--teal-bright); }
.why-item:nth-child(4) .tile-dot { background: var(--navy-soft); }
.why-item h3 { font-size: 1.15rem; margin-bottom: 8px; }
.why-item p { color: var(--dim); font-size: 0.96rem; }

/* ---------- About ---------- */
.about-text {
  color: var(--dim);
  font-size: 1.14rem;
  max-width: 720px;
}

/* ---------- Contact ---------- */
.section-contact {
  background: var(--navy);
  border-radius: 40px 40px 0 0;
}
.section-contact .section-kicker { background: rgba(242, 184, 75, 0.15); color: var(--teal-bright); }
.section-contact h2 { color: #ffffff; }
.section-contact .section-sub { color: #9db0cf; }

.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: var(--navy-soft);
  border: 1px solid #21396a;
  border-radius: var(--radius);
  padding: 26px 24px;
  text-decoration: none;
  transition: border-color 0.2s, transform 0.2s;
}
a.contact-card:hover { border-color: var(--teal-bright); transform: translateY(-3px); }

.contact-label {
  color: #8296b8;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.contact-value {
  color: #ffffff;
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 600;
  overflow-wrap: anywhere;
}

/* Contact — two-column: intro left, form right */
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px;
  align-items: start;
}
.contact-intro { padding-top: 6px; }
.contact-intro .section-kicker { margin-bottom: 18px; }
.contact-intro h2 { margin-bottom: 16px; }
.contact-intro .section-sub { margin-bottom: 30px; max-width: 420px; }
.contact-alt p { color: #9db0cf; font-size: 0.98rem; margin: 0; }
.contact-alt a {
  display: inline-block;
  color: var(--teal-bright);
  text-decoration: none;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.05rem;
  margin: 4px 0 18px;
}
.contact-alt a:hover { text-decoration: underline; }
.contact-loc { font-size: 0.92rem !important; opacity: 0.85; }

.contact-form {
  background: #ffffff;
  border-radius: var(--radius);
  padding: 32px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}
.field label {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
  margin-bottom: 7px;
}
.field label span {
  color: var(--dim);
  font-weight: 400;
}
.field input,
.field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 13px 16px;
  width: 100%;
  transition: border-color 0.15s, background 0.15s;
}
.field input::placeholder,
.field textarea::placeholder { color: #9aa8bd; }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--teal);
  background: #ffffff;
}
.field textarea { resize: vertical; min-height: 108px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-submit {
  width: 100%;
  margin-top: 4px;
  border: none;
  cursor: pointer;
  font-size: 1.02rem;
}
.form-submit:disabled { opacity: 0.65; cursor: default; }
.form-status {
  margin: 14px 0 0;
  font-size: 0.94rem;
  font-weight: 600;
  min-height: 1.2em;
}
.form-status.ok { color: #0e9f6e; }
.form-status.err { color: #d64545; }
.contact-alt {
  margin-top: 22px;
  color: #9db0cf;
  font-size: 0.95rem;
}
.contact-alt a { color: var(--teal-bright); text-decoration: none; font-weight: 700; }
.contact-alt a:hover { text-decoration: underline; }
.contact-alt .dot { margin: 0 10px; opacity: 0.5; }

.contact-actions {
  display: flex;
  gap: 14px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.btn-wa {
  background: #25d366;
  color: #0b3d1f;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.wa-glyph {
  width: 19px;
  height: 19px;
}
.btn-wa:hover {
  background: #1fbf5b;
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.35);
}
.section-contact .btn-mail {
  border-color: #21396a;
  color: #ffffff;
}
.section-contact .btn-mail:hover {
  border-color: var(--teal-bright);
  color: var(--teal-bright);
  background: transparent;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--navy);
  border-top: 1px solid #1b3160;
  padding: 34px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer p { color: #8296b8; font-size: 0.9rem; }

/* ---------- Mobile ---------- */
@media (max-width: 900px) {
  .hero-tiles { display: none; }
  .contact-inner { grid-template-columns: 1fr; gap: 32px; }
  .contact-form { padding: 26px; }
}

@media (max-width: 760px) {
  .nav-toggle { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    padding: 12px 24px 20px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 0; font-size: 1.05rem; }
  .nav-links .btn-small { margin-top: 8px; padding: 12px 26px; }

  .hero { padding: 64px 0 56px; }
  .hero-stats { gap: 12px; }
  .hero-stats div { padding: 14px 18px; }
  .section { padding: 64px 0; }
}
