:root {
  --primary: #2F5D62;
  --primary-dark: #0E3F47;
  --secondary: #4B7B7F;
  --accent: #C8913B;
  --gold: #D6B98C;
  --bg: #FAFAF8;
  --card: #FFFFFF;
  --text: #18323A;
  --muted: #5D6B72;
  --border: #E9E1D5;
  --shadow: 0 24px 70px rgba(14, 63, 71, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(214, 185, 140, 0.22), transparent 30%),
    radial-gradient(circle at top right, rgba(47, 93, 98, 0.12), transparent 30%),
    var(--bg);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* HEADER */

.header {
  width: min(1160px, calc(100% - 40px));
  margin: 26px auto 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--primary-dark);
  font-size: 28px;
  font-weight: 800;
}

.brand img {
  width: 92px;
  height: 92px;
  object-fit: contain;
}

.nav {
  display: flex;
  gap: 42px;
  font-size: 15px;
  font-weight: 700;
  color: var(--primary-dark);
}

.header-cta {
  justify-self: end;
  background: rgba(214,185,140,0.18);
  border: 1px solid var(--gold);
  color: var(--primary-dark);
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  box-shadow: none;
}

/* HERO */

.hero {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 760px;
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 70px;
  align-items: center;
}

.label {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--accent);
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.label::after {
  content: "";
  width: 42px;
  height: 1px;
  background: var(--accent);
}

.hero h1,
.section-heading h2,
.about h2,
.about-card h2,
.faq-section h2 {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--primary-dark);
  letter-spacing: -0.035em;
}

.hero h1 {
  margin: 28px 0 22px;
  font-size: clamp(40px, 5vw, 60px);
  line-height: 1.05;
  max-width: 640px;
  font-weight: 700;
}

.hero-text p {
  max-width: 580px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.8;
}

.buttons {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.btn {
  min-height: 58px;
  padding: 0 30px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: white;
  box-shadow: 0 18px 36px rgba(14, 63, 71, 0.26);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.7);
  color: var(--primary-dark);
  border: 1px solid var(--primary-dark);
}

.availability {
  margin-top: 36px;
  display: flex;
  align-items: baseline;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--accent);
  font-size: 18px;
  font-weight: 600;
}

.availability strong {
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
}


/* PHONE */

.hero-phone {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.blob {
  position: absolute;
  width: 460px;
  height: 560px;
  background: linear-gradient(150deg, var(--secondary), var(--primary-dark));
  border-radius: 48% 52% 42% 58% / 40% 34% 66% 60%;
  transform: rotate(-8deg);
  box-shadow: var(--shadow);
}

.phone-frame {
  position: relative;
  z-index: 2;
  width: 342px;
  height: 642px;
  padding: 10px;
  border-radius: 42px;
  background: #101820;
  box-shadow: 0 26px 70px rgba(24, 50, 58, 0.35);
}

.phone-screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 34px;
  background: white;
  padding: 12px 18px 12px;
  font-size: 12px;
}

.status-bar {
  color: #6B7280;
  font-size: 12px;
  margin-bottom: 8px;
}

.app-title {
  display: flex;
  gap: 12px;
  align-items: center;
  color: #1F2937;
  font-size: 14px;
  margin-bottom: 10px;
}

.app-title span {
  font-size: 26px;
  line-height: 1;
}

.app-hero {
  background: var(--primary);
  color: white;
  border-radius: 16px;
  padding: 14px 18px;
  margin-bottom: 10px;
}

.app-hero h3 {
  margin: 0 0 10px;
  font-size: 19px;
}

.app-hero p {
  margin: 0;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.9);
}

.app-card {
  background: white;
  border: 1px solid #E5E7EB;
  border-radius: 18px;
  padding: 10px 14px;
  margin-bottom: 8px;
  box-shadow: 0 10px 24px rgba(31, 41, 55, 0.06);
}

.card-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
  color: #1F2937;
  font-size: 13px;
}

.card-head span {
  color: var(--primary);
  font-size: 11px;
  font-weight: 900;
}

.app-card p {
  margin: 0;
  color: #4B5563;
  line-height: 1.45;
  font-size: 11px;
}

.finish-btn {
  position: absolute;
  bottom: 10px;
  left: 18px;
  right: 18px;
  height: 36px;
  border: 0;
  border-radius: 14px;
  background: var(--primary-dark);
  color: white;
  font-weight: 900;
  font-size: 12px;
}

.hero-screens {
  position: relative;
  height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-screens .blob {
  position: absolute;
  width: 520px;
  height: 560px;
  background: linear-gradient(150deg, var(--secondary), var(--primary-dark));
  border-radius: 48% 52% 42% 58% / 40% 34% 66% 60%;
  transform: rotate(-8deg);
  box-shadow: var(--shadow);
  z-index: 0;
}

.app-screen {
  position: absolute;
  width: 260px;
  border-radius: 34px;
  box-shadow: 0 35px 90px rgba(24, 50, 58, 0.22);
}

.screen-left {
  transform: translateX(-150px) rotate(-9deg) scale(0.92);
  opacity: 0.92;
  z-index: 1;
}

.screen-center {
  transform: translateX(0) scale(1.04);
  z-index: 3;
}

.screen-right {
  transform: translateX(150px) rotate(9deg) scale(0.92);
  opacity: 0.92;
  z-index: 2;
}

/* FEATURES */

.features {
  background: rgba(255, 255, 255, 0.58);
  padding: 64px 0 78px;
}

.section-heading {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto 40px;
  text-align: center;
}

.section-heading .label {
  justify-content: center;
}

.section-heading .label::before {
  content: "";
  width: 42px;
  height: 1px;
  background: var(--accent);
}

.section-heading h2 {
  margin: 18px auto 0;
  max-width: 780px;
  font-size: clamp(30px, 3.5vw, 42px);
  line-height: 1.14;
  font-weight: 700;
}

.feature-grid {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.feature-grid article {
  background: white;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 34px 30px;
  min-height: 260px;
  box-shadow: 0 18px 48px rgba(24, 50, 58, 0.08);
}

.icon-number {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #F2EEE7;
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 24px;
}

.feature-grid h3 {
  margin: 0 0 14px;
  color: var(--primary-dark);
  font-size: 19px;
  line-height: 1.3;
}

.feature-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 15px;
  max-width: 100%;
}

/* ABOUT */

.about {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 78px 0;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 70px;
  align-items: center;
}

.about h2 {
  margin: 22px 0 18px;
  font-size: clamp(28px, 3.2vw, 38px);
  line-height: 1.15;
  font-weight: 700;
}

.about p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.about-card {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  padding: 58px 44px;
  border-radius: 30px;
  color: white;
  background:
    linear-gradient(rgba(14, 63, 71, 0.78), rgba(14, 63, 71, 0.82)),
    url("assets/horse-bg.jpg");
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
}

.about-card h2 {
  color: white;
  margin: 0 0 24px;
  font-size: clamp(28px, 3.2vw, 38px);
  line-height: 1.15;
  font-weight: 800;
}

.about-card p {
  color: rgba(255, 255, 255, 0.88);
  margin: 8px 0;
}

.about-card strong {
  color: var(--gold);
}

/* FAQ */

.faq-section {
  padding: 50px 0 70px;
}

.faq {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.faq details {
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 14px;
  padding: 18px 22px;
  box-shadow: 0 10px 28px rgba(24, 50, 58, 0.05);
}

.faq summary {
  cursor: pointer;
  color: var(--primary-dark);
  font-weight: 900;
}

.faq p {
  color: var(--muted);
  line-height: 1.7;
}

/* FOOTER */

.footer {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: white;
  padding: 34px min(7vw, 90px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-brand img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.footer-brand strong {
  font-size: 26px;
}

.footer-brand p {
  max-width: 360px;
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
}

.footer-links {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  font-size: 14px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.92);
}

/* RESPONSIVE */

@media (max-width: 980px) {
  .header {
    grid-template-columns: 1fr auto;
  }

  .nav {
    display: none;
  }

  .hero,
  .about {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 70px 0;
  }

  .hero-phone {
    margin-top: 20px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .header-cta {
    display: none;
  }

  .brand span {
    font-size: 24px;
  }

  .brand img {
    width: 48px;
    height: 48px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-text p {
    font-size: 17px;
  }

  .phone-frame {
    width: 310px;
    height: 610px;
  }

  .blob {
    width: 330px;
    height: 470px;
  }

  .footer {
    align-items: flex-start;
  }
}