/* =========================================
   Reset & Custom Properties
   ========================================= */

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

:root {
  /* Brand: teal primary, gold accent */
  --accent:         #06B6A4;
  --accent-hover:   #059E8E;
  --accent-light:   #A7F3EC;
  --accent-subtle:  #F0FDF9;

  --gold:           #FCD34D;

  /* Backgrounds */
  --bg:             #FFFFFF;
  --bg-alt:         #F8FAFA;

  /* Text */
  --text:           #1a1a2e;
  --text-secondary: #64748b;
  --text-muted:     #94a3b8;

  /* Borders */
  --border:         #E2E8F0;
  --border-light:   #EEF2F7;

  /* Cards */
  --card-bg:        #FFFFFF;
  --card-shadow:    0 1px 4px rgba(0, 0, 0, 0.04),
                    0 8px 28px rgba(0, 0, 0, 0.07);

  /* Radii */
  --radius-sm:      6px;
  --radius-md:      10px;
  --radius-lg:      18px;

  /* Typography */
  --font:           'Sora', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Layout */
  --container-max:  1140px;
  --navbar-height:  68px;

  /* Transitions */
  --ease:           200ms ease;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

/* =========================================
   Container
   ========================================= */

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

/* =========================================
   Navbar
   ========================================= */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--navbar-height);
  background: rgba(242, 251, 250, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--ease), box-shadow var(--ease);
}

.navbar--scrolled {
  border-bottom-color: var(--border-light);
  box-shadow: 0 1px 16px rgba(0, 0, 0, 0.06);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--navbar-height);
}

.navbar__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.navbar__logo img {
  height: 34px;
  width: auto;
  display: block;
}

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

.navbar__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--ease);
}

.navbar__link:hover {
  color: var(--text);
}

.navbar__cta {
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 18px;
  cursor: not-allowed;
  opacity: 0.65;
  letter-spacing: 0.01em;
}

/* =========================================
   Hero
   ========================================= */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--navbar-height);
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

/* Subtle ambient glow */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(
    ellipse at center,
    rgba(6, 182, 164, 0.07) 0%,
    transparent 65%
  );
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 64px;
  align-items: center;
  padding-top: 80px;
  padding-bottom: 80px;
  width: 100%;
}

.hero__content {
  max-width: 580px;
}

.hero__headline {
  font-size: clamp(40px, 5.5vw, 66px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 28px;
}

.hero__subline {
  font-size: clamp(16px, 1.8vw, 19px);
  color: var(--text-secondary);
  line-height: 1.75;
  font-weight: 400;
}

.hero__mockup {
  flex-shrink: 0;
}

/* =========================================
   About
   ========================================= */

.about {
  padding: 96px 0;
  background: var(--bg-alt);
}

.about__card {
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 60px 64px;
  box-shadow: var(--card-shadow);
  max-width: 840px;
  margin: 0 auto;
}

.about__tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-subtle);
  border: 1px solid var(--accent-light);
  border-radius: var(--radius-sm);
  padding: 5px 11px;
  margin-bottom: 28px;
}

.about__headline {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.13;
  color: var(--text);
  margin-bottom: 20px;
}

.about__body {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

.about__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill {
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  background: var(--accent-subtle);
  border: 1px solid var(--accent-light);
  border-radius: 20px;
  padding: 7px 18px;
  letter-spacing: 0.01em;
}

/* =========================================
   Footer
   ========================================= */

.footer {
  background: #DFF0EE;
  padding: 40px 0 28px;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.footer__contact {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.footer__contact-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-decoration: none;
  color: inherit;
}

.footer__contact-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-hover);
}

.footer__contact-value {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.5;
  transition: color var(--ease);
}

a.footer__contact-item:hover .footer__contact-value {
  color: var(--text);
}

.footer__bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid rgba(6, 182, 164, 0.15);
  gap: 12px;
}

.footer__logo-link {
  display: flex;
  justify-content: center;
}

.footer__logo {
  height: 28px;
  width: auto;
  display: block;
  opacity: 0.75;
  transition: opacity var(--ease);
}

.footer__logo:hover {
  opacity: 1;
}

.footer__legal {
  display: flex;
  gap: 20px;
  justify-self: end;
}

.footer__copy {
  font-size: 12px;
  color: var(--text-muted);
}

.footer__legal-link {
  font-size: 12px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--ease);
}

.footer__legal-link:hover {
  color: var(--text);
}

/* =========================================
   Responsive
   ========================================= */

@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-top: 56px;
    padding-bottom: 64px;
  }

  .hero__mockup {
    display: flex;
    justify-content: center;
  }

  .hero__content {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .about__card {
    padding: 40px 32px;
  }

  .footer__contact {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

@media (max-width: 520px) {
  .navbar__links {
    gap: 18px;
  }

  .navbar__cta {
    display: none;
  }

  .about {
    padding: 64px 0;
  }

  .about__card {
    padding: 32px 20px;
  }

  .footer {
    padding: 56px 0 40px;
  }

  /* Scale down mockup and compensate for layout space */
  .hero__mockup {
    height: 520px;
    overflow: hidden;
  }

  .hero__mockup .terhali-mockup > div {
    transform: scale(0.88);
    transform-origin: top center;
  }

  /* Stack footer bottom on small screens */
  .footer__bottom {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .footer__legal {
    justify-self: center;
  }
}
