:root {
  --tm-primary: #31aee0;
  --tm-primary-dark: #1f93c4;
  --tm-primary-soft: #e8f7fd;
  --tm-text: #4b4b4d;
  --tm-text-dark: #2f3133;
  --tm-muted: #6b7280;
  --tm-bg: #f5f7fa;
  --tm-white: #ffffff;
  --tm-border: #dbe5ec;
  --tm-shadow: 0 18px 50px rgba(31, 147, 196, 0.12);
  --tm-gradient: linear-gradient(135deg, #31aee0 0%, #59c0e8 100%);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background:
    radial-gradient(circle at top left, rgba(49,174,224,0.10), transparent 26%),
    linear-gradient(180deg, #fbfdff 0%, #f5f7fa 100%);
  color: var(--tm-text);
}

a {
  text-decoration: none;
}

.navbar {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(49, 174, 224, 0.10);
  box-shadow: 0 8px 30px rgba(0,0,0,0.03);
}

.navbar-brand {
  color: var(--tm-text-dark) !important;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.nav-link {
  color: var(--tm-text) !important;
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  padding-left: 0.7rem;
  padding-right: 0.7rem;
}

.nav-link:hover,
.nav-link:focus {
  color: var(--tm-primary-dark) !important;
}

.tm-logo {
  height: 46px;
  width: auto;
  display: block;
}

.btn-theme {
  background: var(--tm-gradient);
  border: none;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 14px 30px rgba(49, 174, 224, 0.25);
}

.btn-theme:hover {
  background: linear-gradient(135deg, #2aa5d7 0%, #4fb9e4 100%);
  color: #fff;
  transform: translateY(-1px);
}

.btn-outline-theme {
  border: 1.5px solid var(--tm-primary);
  color: var(--tm-primary-dark);
  background: #fff;
  font-weight: 700;
}

.btn-outline-theme:hover {
  background: var(--tm-primary-soft);
  color: var(--tm-primary-dark);
  border-color: var(--tm-primary-dark);
}

.hero {
  padding: 8.5rem 0 5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  right: -120px;
  top: 40px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(49,174,224,0.16), transparent 68%);
  pointer-events: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.95rem;
  background: var(--tm-primary-soft);
  border: 1px solid rgba(49,174,224,0.18);
  border-radius: 999px;
  color: var(--tm-primary-dark);
  font-size: 0.92rem;
  font-weight: 700;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.4rem);
  line-height: 1.02;
  color: var(--tm-text-dark);
  font-weight: 800;
}

.highlight {
  color: var(--tm-primary-dark);
}

.hero p,
.section-subtitle,
.feature-list li,
.footer-text,
.contact-meta,
.soft-text {
  color: var(--tm-muted);
}

.hero-card,
.contact-card,
.cta-box {
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(219,229,236,0.95);
  box-shadow: var(--tm-shadow);
}

.hero-card {
  border-radius: 28px;
  padding: 1.5rem;
}

.mockup {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid #e4edf3;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbfd 100%);
}

.mockup-topbar {
  padding: 0.9rem 1rem;
  background: #f7fbfd;
  border-bottom: 1px solid #e8eff4;
}

.mockup-dots {
  display: flex;
  gap: 0.45rem;
}

.mockup-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #c7d5df;
  display: inline-block;
}

.service-card,
.product-card,
.process-card,
.contact-box {
  border-radius: 22px;
  border: 1px solid #e5edf3;
  background: #fff;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card:hover,
.product-card:hover,
.process-card:hover,
.contact-box:hover {
  transform: translateY(-5px);
  border-color: rgba(49,174,224,0.30);
  box-shadow: 0 18px 36px rgba(49,174,224,0.12);
}

.section {
  padding: 5rem 0;
}

.section-title {
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 800;
  color: var(--tm-text-dark);
}

.section-subtitle {
  max-width: 760px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.icon-wrap {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--tm-primary-soft);
  color: var(--tm-primary-dark);
  font-size: 1.35rem;
  border: 1px solid rgba(49,174,224,0.15);
}

.service-card,
.product-card,
.process-card,
.contact-card {
  height: 100%;
  padding: 1.8rem;
}

.contact-box {
  padding: 1.2rem;
  height: auto;
}

.service-card h5,
.product-card h5,
.process-card h5,
.contact-card h5,
.contact-box h5 {
  color: var(--tm-text-dark);
  font-weight: 700;
}

.feature-list {
  padding-left: 1.1rem;
  margin-bottom: 0;
}

.feature-list li {
  margin-bottom: 0.45rem;
}

.tag-soft {
  display: inline-block;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: var(--tm-primary-soft);
  color: var(--tm-primary-dark);
  font-size: 0.85rem;
  font-weight: 700;
  border: 1px solid rgba(49,174,224,0.12);
}

.logo-panel {
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 2rem;
  background: radial-gradient(circle at top right, rgba(49,174,224,0.12), transparent 35%), linear-gradient(180deg, #ffffff 0%, #f8fbfd 100%);
}

.logo-panel::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px dashed rgba(49,174,224,0.18);
  border-radius: 24px;
  pointer-events: none;
}

.hero-logo {
  max-width: 510px;
  width: 100%;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 20px 30px rgba(49,174,224,0.12));
}

.stat-tile {
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: #fff;
  border: 1px solid #e7eef4;
  text-align: center;
  height: 100%;
}

.stat-tile h4 {
  font-weight: 800;
  color: var(--tm-primary-dark);
  margin-bottom: 0.25rem;
}

.product-visual {
  height: 210px;
  border-radius: 18px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #eff9fd 0%, #ffffff 60%, #f5f7fa 100%);
  border: 1px solid #e4edf3;
}

.product-visual::before,
.product-visual::after {
  content: "";
  position: absolute;
  left: 20px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #dfe9f0;
  box-shadow: 0 10px 24px rgba(49,174,224,0.08);
}

.product-visual::before {
  top: 22px;
  width: 78%;
  height: 26px;
}

.product-visual::after {
  bottom: 22px;
  width: 62%;
  height: 112px;
}

.floating-label {
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--tm-gradient);
  color: #fff;
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(49,174,224,0.18);
}

.cta-section {
  padding: 5rem 0 6rem;
}

.cta-box {
  border-radius: 32px;
  padding: 3rem;
  background: linear-gradient(135deg, #ffffff 0%, #eef8fc 100%);
}

.contact-card form .form-control,
.contact-card form .form-select {
  background: #fff;
  border: 1px solid #dbe7ef;
  color: var(--tm-text-dark);
  border-radius: 14px;
  padding: 0.95rem 1rem;
}

.contact-card form .form-control::placeholder {
  color: #97a6b2;
}

.contact-card form .form-control:focus,
.contact-card form .form-select:focus {
  border-color: rgba(49,174,224,0.40);
  box-shadow: 0 0 0 0.2rem rgba(49,174,224,0.12);
}

.accordion-item {
  border: 1px solid #e5edf3;
  border-radius: 18px !important;
  overflow: hidden;
  margin-bottom: 1rem;
  box-shadow: 0 12px 24px rgba(49,174,224,0.05);
}

.accordion-button {
  font-weight: 700;
  color: var(--tm-text-dark);
  background: #fff;
}

.accordion-button:not(.collapsed) {
  color: var(--tm-primary-dark);
  background: var(--tm-primary-soft);
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: 0 0 0 0.2rem rgba(49,174,224,0.12);
}

footer {
  background: #fff;
  border-top: 1px solid #e7eef4;
}

.footer-link {
  color: var(--tm-muted);
  font-weight: 600;
}

.footer-link:hover {
  color: var(--tm-primary-dark);
}

.product-visual-img img {
    width: 100%;
    height: 240px;
    object-fit: contain;
    background: #f8fbfd;
    border: 1px solid #e4edf3;
    padding: 12px;
}

@media (max-width: 1199.98px) {
  .navbar-nav .nav-link {
    font-size: 0.9rem;
    padding-left: 0.55rem;
    padding-right: 0.55rem;
  }
}

@media (max-width: 991.98px) {
  .hero {
    padding-top: 7.5rem;
  }

  .cta-box {
    padding: 2rem;
  }

  .logo-panel {
    min-height: 340px;
  }
}

@media (max-width: 767.98px) {
  .section,
  .cta-section {
    padding: 4rem 0;
  }

  .hero-card,
  .cta-box {
    padding: 1.5rem;
  }

  .tm-logo {
    height: 38px;
  }

  .hero-logo {
    max-width: 240px;
  }
}
