/*
 * Uptech Studio landing page styles
 * Derived from uptechstudio.com Webflow design tokens (June 2026).
 */

:root {
  --blue-deep: #002133;
  --blue-100: #2eb4ff;
  --us-new-blue: #2e51ab;
  --uptech-blue: #2f33ba;
  --uptech-light-blue: #5284d9;
  --gray-100: #444d5a;
  --gray-200: #e5e7eb;
  --gray-400: #9ca3af;
  --gray-5-51: #f6f6f7;
  --gray-50: #f9fafb;
  --purple-100: #7551f8;
  --white: #fff;
  --black: #000;

  --font-body: "Mulish", system-ui, sans-serif;
  --font-heading: "Mulish", system-ui, sans-serif;

  --container-max: 1140px;
  --nav-max: 1200px;
  --radius-button: 8px;
  --radius-tag: 20px;

  --hero-pattern: url("https://cdn.prod.website-files.com/6222b1faf83d05669ca63972/67e46213c1964e7b265608e0_home.svg");
}

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

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

body {
  margin: 0;
  color: var(--gray-100);
  background-color: var(--white);
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.45;
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 900;
  line-height: 1.15;
  color: var(--gray-100);
}

h1 {
  margin: 10px 0 20px;
  font-size: clamp(2.25rem, 5vw, 4.375rem);
}

h2 {
  margin: 10px 0;
  font-size: clamp(1.75rem, 3.5vw, 2.625rem);
}

h3 {
  margin: 10px 0;
  font-size: clamp(1.375rem, 2.5vw, 2.25rem);
}

h4 {
  margin: 10px 0;
  font-size: clamp(1.25rem, 2vw, 2rem);
}

p {
  margin: 0 0 1rem;
}

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

.text-accent {
  color: var(--blue-100);
}

.text-white {
  color: var(--white);
}

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

.label {
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}

/* Navigation */

.site-nav {
  background-color: var(--blue-deep);
  padding: 30px 50px;
}

.site-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: var(--nav-max);
  margin: 0 auto;
}

.site-nav__logo img {
  width: 192px;
}

.site-nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav__link {
  opacity: 0.6;
  color: var(--white);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 16px;
  line-height: 1.25;
  text-decoration: none;
  transition: opacity 0.3s;
}

.site-nav__link:hover {
  opacity: 1;
}

.site-nav__toggle {
  display: none;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.site-nav__toggle img {
  width: 22px;
}

/* Buttons */

.button {
  display: inline-block;
  background-color: var(--blue-100);
  color: var(--white);
  border: 1px solid var(--blue-100);
  border-radius: var(--radius-button);
  padding: 12px 25px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.25;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.4s, color 0.4s, border-color 0.4s;
}

.button:hover {
  background-color: var(--blue-deep);
  border-color: var(--blue-deep);
  color: var(--white);
}

.button--small {
  padding: 8px 16px;
  font-size: 14px;
}

.button--inverted {
  background-color: transparent;
  color: var(--blue-100);
}

.button--inverted:hover {
  background-color: transparent;
  border-color: var(--blue-100);
  color: var(--white);
}

.button--jumbo {
  padding: 16px 35px;
  font-size: 20px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.button-row--center {
  justify-content: center;
}

/* Hero */

.hero {
  background-color: var(--blue-deep);
  background-image: var(--hero-pattern);
  background-position: 100% 100%;
  background-repeat: no-repeat;
  background-size: auto 90%;
  color: var(--white);
  min-height: 520px;
  display: flex;
  align-items: center;
  padding: 60px 50px 80px;
}

.hero__content {
  max-width: 850px;
}

.hero h1 {
  color: var(--white);
  text-transform: none;
}

.hero__subhead {
  max-width: 850px;
  margin-bottom: 35px;
  font-size: 17px;
  line-height: 1.45;
}

/* Sections */

.section {
  padding: 80px 0;
}

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

.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--white);
}

.section--muted {
  background-color: var(--gray-5-51);
}

.section__intro {
  text-align: center;
  max-width: 850px;
  margin: 0 auto 48px;
}

.section__intro p {
  margin-bottom: 0;
}

/* Expertise columns (How We Help) */

.columns-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}

.column-card img {
  width: auto;
  height: 80px;
  margin: 0 auto 20px;
}

.column-card h4 {
  color: inherit;
  margin-bottom: 12px;
}

.column-card p {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
}

/* Proof / case study */

.proof-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.proof-card__image {
  border-radius: 4px;
  overflow: hidden;
}

.proof-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.tag {
  border-radius: var(--radius-tag);
  padding: 2px 12px 3px;
  font-size: 14px;
  font-weight: 500;
  display: inline-block;
}

.tag--product {
  color: #3730a3;
  background-color: #e0e7ff;
}

.tag--development {
  color: #065f46;
  background-color: #d1fae5;
}

.tag--design {
  color: #991b1b;
  background-color: #fee2e2;
}

.proof-card__client {
  margin-bottom: 8px;
}

.proof-card__subtitle {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--gray-100);
}

.proof-card__link {
  color: var(--us-new-blue);
  font-weight: 600;
  text-decoration: none;
}

.proof-card__link:hover {
  text-decoration: underline;
}

/* Why list */

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 48px;
}

.why-item h4 {
  margin-bottom: 8px;
}

.why-item p {
  margin: 0;
}

/* FAQ */

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--gray-200);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 24px 0;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--gray-100);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  float: right;
  font-weight: 400;
  color: var(--blue-100);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item__answer {
  padding: 0 0 24px;
}

.faq-item__answer p:last-child {
  margin-bottom: 0;
}

/* CTA band */

.cta-band {
  padding: 110px 0 120px;
  text-align: center;
}

.cta-band h2 {
  font-size: clamp(1.75rem, 3vw, 3.75rem);
  margin-bottom: 15px;
}

.cta-band__subhead {
  max-width: 700px;
  margin: 0 auto 32px;
  font-size: 20px;
  line-height: 1.5;
}

/* Footer */

.site-footer {
  background-color: var(--blue-deep);
  color: var(--gray-200);
  padding: 60px 0 40px;
}

.site-footer a {
  color: var(--gray-200);
  text-decoration: none;
}

.site-footer a:hover {
  opacity: 0.8;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  text-align: left;
  margin-bottom: 48px;
}

.footer-grid p {
  font-size: 14px;
  line-height: 1.5;
}

.footer-grid .label {
  color: var(--white);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  font-size: 14px;
}

.subfooter {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  font-size: 12px;
}

.subfooter a {
  margin-left: 16px;
}

/* Responsive */

@media (max-width: 991px) {
  .site-nav {
    padding: 20px 24px;
  }

  .site-nav__toggle {
    display: block;
  }

  .site-nav__links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background-color: var(--blue-deep);
    padding: 16px 24px 24px;
    gap: 0;
  }

  .site-nav__links.is-open {
    display: flex;
  }

  .site-nav__link {
    padding: 15px 0;
    width: 100%;
  }

  .site-nav {
    position: relative;
  }

  .site-nav__inner {
    flex-wrap: wrap;
  }

  .hero {
    padding: 48px 24px 64px;
    background-size: auto 50%;
    min-height: auto;
  }

  .columns-3,
  .proof-card,
  .why-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .proof-card {
    gap: 24px;
  }

  .section {
    padding: 60px 0;
  }

  .cta-band {
    padding: 80px 0 90px;
  }
}

@media (max-width: 767px) {
  body {
    font-size: 16px;
  }

  .button-row {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    text-align: center;
  }
}

/* Solutions index (pages/index.html only) */

.solution-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 24px;
}

.solution-links a {
  display: block;
  padding: 20px 24px;
  border-radius: 8px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  text-decoration: none;
  color: var(--gray-100);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.solution-links a:hover {
  border-color: var(--blue-100);
  box-shadow: 0 4px 16px rgba(0, 33, 51, 0.08);
}

.solution-links__title {
  display: block;
  font-weight: 700;
  color: var(--blue-deep);
  margin-bottom: 4px;
}

.solution-links__desc {
  display: block;
  font-size: 0.9375rem;
  line-height: 1.4;
}

.solution-links + .label {
  margin-top: 32px;
}

@media (max-width: 767px) {
  .solution-links {
    grid-template-columns: 1fr;
  }
}
