/* ============================================================
   Rhino Software Solutions — Landing Page Styles
   ============================================================ */

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #2d2d3a;
  background: #fafafa;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* ---------- Utility ---------- */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-weight: 600;
  border-radius: 8px;
  transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
  cursor: pointer;
  text-align: center;
  border: none;
  letter-spacing: 0.01em;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(13, 115, 119, 0.35);
}

.btn:active {
  transform: translateY(0);
}

.btn--lg {
  padding: 16px 40px;
  font-size: 1.05rem;
  background: #0d7377;
  color: #fff;
}

.btn--lg:hover {
  background: #0a5f62;
}

.btn--sm {
  padding: 8px 20px;
  font-size: 0.9rem;
  background: #0d7377;
  color: #fff;
  border-radius: 6px;
}

.btn--sm:hover {
  background: #0a5f62;
}

.btn--white {
  background: #fff;
  color: #1a1a2e;
}

.btn--white:hover {
  background: #f0f0f0;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(26, 26, 46, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #0d7377;
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
}

.nav__wordmark {
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.01em;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__links a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav__links a:hover {
  color: #fff;
}

.nav__links .btn {
  color: #fff;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: #1a1a2e;
  padding: 160px 0 120px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -25%;
  width: 150%;
  height: 200%;
  background: radial-gradient(ellipse at 60% 40%, rgba(13, 115, 119, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
}

.hero__headline {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
}

.hero__sub {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 40px;
  font-weight: 400;
  line-height: 1.6;
}

/* ============================================================
   SECTIONS (shared)
   ============================================================ */
.section {
  padding: 100px 0;
}

.section--light {
  background: #fafafa;
}

.section--dark {
  background: #1a1a2e;
}

.section--muted {
  background: #f2f2f5;
}

.section--cta {
  background: linear-gradient(135deg, #0d7377 0%, #095a5d 100%);
  text-align: center;
}

.section__title {
  text-align: center;
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #1a1a2e;
  margin-bottom: 16px;
}

.section__title--light {
  color: #fff;
}

.section__subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: #5a5a72;
  max-width: 600px;
  margin: 0 auto 56px;
}

.section__subtitle--light {
  color: rgba(255, 255, 255, 0.6);
}

/* ============================================================
   PROBLEM
   ============================================================ */
.problem__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.problem__card {
  background: #fff;
  border-radius: 12px;
  padding: 36px 28px;
  border: 1px solid #e8e8ee;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.problem__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.problem__icon {
  color: #0d7377;
  margin-bottom: 16px;
}

.problem__card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 10px;
}

.problem__card p {
  font-size: 0.95rem;
  color: #5a5a72;
  line-height: 1.65;
}

/* ============================================================
   PHASES (How It Works)
   ============================================================ */
.phases {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.phase {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 28px 32px;
  transition: background 0.25s ease, transform 0.25s ease;
}

.phase:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(4px);
}

.phase__badge {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 36px;
  border-radius: 6px;
  background: #0d7377;
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.phase__content {
  flex: 1;
}

.phase__price {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 4px;
  letter-spacing: 0.02em;
}

.phase__name {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.phase__desc {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
}

.phase__connector {
  width: 2px;
  height: 28px;
  margin: 0 auto;
  background: rgba(13, 115, 119, 0.4);
  border-radius: 1px;
}

.phases__cta-text {
  text-align: center;
  margin-top: 48px;
  font-size: 1.3rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  font-style: italic;
  letter-spacing: -0.01em;
}

/* ============================================================
   WHY RHINO — Cards
   ============================================================ */
.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.card {
  background: #fff;
  border-radius: 12px;
  padding: 40px 32px;
  border: 1px solid #e8e8ee;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.card__icon {
  color: #0d7377;
  margin-bottom: 18px;
}

.card__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 10px;
}

.card__text {
  font-size: 0.95rem;
  color: #5a5a72;
  line-height: 1.65;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  display: flex;
  align-items: center;
  gap: 56px;
  margin-top: 48px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.about__photo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: #1a1a2e;
  color: #fff;
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.about__name {
  font-size: 1.4rem;
  font-weight: 800;
  color: #1a1a2e;
  margin-bottom: 2px;
}

.about__role {
  font-size: 0.95rem;
  font-weight: 600;
  color: #0d7377;
  margin-bottom: 16px;
}

.about__text {
  font-size: 0.95rem;
  color: #5a5a72;
  line-height: 1.7;
  margin-bottom: 12px;
}

.about__text:last-child {
  margin-bottom: 0;
}

.about__text--accent {
  color: #1a1a2e;
  font-weight: 600;
}

/* ============================================================
   CONTACT / CTA
   ============================================================ */
.contact {
  max-width: 640px;
}

.contact__headline {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.contact__sub {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 40px;
  line-height: 1.65;
}

.contact__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.contact__email {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 2px;
}

.contact__email:hover {
  color: #fff;
  border-bottom-color: #fff;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #141425;
  padding: 32px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer__copy {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer__location {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet */
@media (max-width: 900px) {
  .problem__grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 48px;
  }

  .cards {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  .about {
    flex-direction: column;
    text-align: center;
  }
}

/* Mobile */
@media (max-width: 640px) {
  .nav__wordmark {
    font-size: 0.85rem;
  }

  .nav__links {
    gap: 16px;
  }

  .nav__links li:not(:last-child) {
    display: none;
  }

  .hero {
    padding: 130px 0 80px;
  }

  .section {
    padding: 72px 0;
  }

  .phase {
    flex-direction: column;
    gap: 12px;
    padding: 24px 20px;
  }

  .phase__badge {
    width: auto;
    align-self: flex-start;
    padding: 0 16px;
  }

  .about__photo {
    width: 110px;
    height: 110px;
    font-size: 1.8rem;
  }

  .footer__inner {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }
}

/* Tiny screens */
@media (max-width: 380px) {
  html {
    font-size: 14px;
  }

  .container {
    padding: 0 16px;
  }

  .nav__wordmark {
    display: none;
  }
}
