/* ===== Variables ===== */
:root {
  --primary: #0d0d0d;
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --accent-bright: #3b82f6;
  --accent-soft: #eff6ff;
  --light: #f5f5f5;
  --muted: #6b7280;
  --white: #ffffff;
  --gradient: linear-gradient(165deg, #93c5fd 0%, #3b82f6 45%, #2563eb 85%, #1d4ed8 100%);
  --gradient-hover: linear-gradient(165deg, #bfdbfe 0%, #60a5fa 45%, #3b82f6 85%, #2563eb 100%);
  --shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
  --radius: 0.75rem;
  --max-width: 72rem;
}

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: var(--white);
  color: var(--primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #f3f4f6;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
  gap: 1rem;
}

@media (min-width: 640px) {
  .header__inner {
    height: 6rem;
  }
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  min-width: 0;
}

.logo__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  background: var(--gradient);
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  border-radius: var(--radius);
  flex-shrink: 0;
}

.logo__text {
  font-size: 1rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (min-width: 640px) {
  .logo__text {
    font-size: 1.125rem;
  }
}

.menu-toggle {
  display: none;
}

.menu-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0.5rem;
  cursor: pointer;
}

.menu-btn span {
  display: block;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

@media (min-width: 768px) {
  .menu-btn {
    display: none;
  }
}

.nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  flex-direction: column;
  background: var(--white);
  border-bottom: 1px solid #f3f4f6;
  padding: 1rem;
  gap: 0.5rem;
}

.nav a {
  padding: 0.75rem 1rem;
  font-weight: 500;
  color: var(--muted);
  border-radius: var(--radius);
  transition: color 0.2s, background 0.2s;
}

.nav a:hover {
  color: var(--accent);
  background: var(--accent-soft);
}

.nav__cta {
  color: var(--accent) !important;
  font-weight: 600 !important;
}

.menu-toggle:checked ~ .nav {
  display: flex;
}

@media (min-width: 768px) {
  .nav {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    border: none;
    padding: 0;
    gap: 2rem;
  }

  .nav a {
    padding: 0;
    background: none !important;
  }

  .nav a:hover {
    background: none;
  }
}

.header {
  position: relative;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius);
  transition: all 0.2s;
  border: 2px solid transparent;
}

.btn--primary {
  background: var(--gradient);
  color: var(--white);
  box-shadow: var(--shadow);
}

.btn--primary:hover {
  background: var(--gradient-hover);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.btn--outline {
  border-color: var(--primary);
  color: var(--primary);
  background: transparent;
}

.btn--outline:hover {
  background: var(--primary);
  color: var(--white);
}

.btn--large {
  padding: 1rem 2rem;
  font-size: 1.0625rem;
}

/* ===== Hero ===== */
.hero {
  background: linear-gradient(to bottom, var(--light), var(--white));
  padding: 3rem 0 2rem;
  overflow: hidden;
}

@media (min-width: 640px) {
  .hero {
    padding: 4rem 0 0;
  }
}

.hero__grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 768px) {
  .hero__grid {
    grid-template-columns: 1fr auto;
    gap: 3rem;
  }
}

.hero__tagline {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: linear-gradient(to right, var(--accent-bright), var(--accent), var(--accent-hover));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.75rem;
}

.hero__title {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .hero__title {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .hero__title {
    font-size: 3.75rem;
  }
}

.hero__title-accent {
  background: linear-gradient(to right, #60a5fa, var(--accent), var(--accent-hover));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__desc {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 32rem;
  margin-bottom: 2rem;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 480px) {
  .hero__actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

.hero__visual {
  display: flex;
  justify-content: center;
}

.phone-mockup {
  width: 260px;
  height: 480px;
  background: var(--primary);
  border-radius: 2rem;
  padding: 0.75rem;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

@media (min-width: 768px) {
  .phone-mockup {
    width: 300px;
    height: 540px;
  }
}

.phone-mockup__screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
  border-radius: 1.5rem;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.phone-mockup__bar {
  width: 40%;
  height: 0.375rem;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  margin: 0 auto 0.5rem;
}

.phone-mockup__card {
  height: 5rem;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.4), rgba(37, 99, 235, 0.2));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
}

.phone-mockup__card--small {
  height: 3rem;
  opacity: 0.7;
}

/* ===== Sections ===== */
.section {
  padding: 4rem 0;
}

.section--light {
  background: var(--light);
}

.section__header {
  text-align: center;
  margin-bottom: 3rem;
}

.section__title {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .section__title {
    font-size: 2.25rem;
  }
}

.section__lead {
  color: var(--muted);
  max-width: 36rem;
  margin: 0 auto;
  font-size: 1.0625rem;
}

/* ===== Cards ===== */
.cards {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background: var(--white);
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: box-shadow 0.2s, transform 0.2s;
}

.card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 1rem;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 1rem;
}

.card__title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.card__text {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ===== Steps ===== */
.steps {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step {
  text-align: center;
  background: var(--white);
  border-radius: 1rem;
  padding: 2rem 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.step__number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin: 0 auto 1rem;
  background: var(--gradient);
  color: var(--white);
  font-weight: 700;
  font-size: 1.125rem;
  border-radius: 50%;
}

.step__title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.step__text {
  font-size: 0.9375rem;
  color: var(--muted);
}

/* ===== Highlight ===== */
.highlight {
  padding: 0;
}

.highlight__inner {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #1e293b 100%);
  border-radius: 1rem;
  padding: 3rem 2rem;
  text-align: center;
  color: var(--white);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

@media (min-width: 1024px) {
  .highlight__inner {
    border-radius: 0;
    padding: 4rem 2rem;
  }
}

.highlight__badge {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
  padding: 0.375rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.highlight__title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .highlight__title {
    font-size: 1.875rem;
  }
}

.highlight__text {
  max-width: 36rem;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  line-height: 1.7;
}

/* ===== Contact ===== */
.section--contact {
  padding-bottom: 5rem;
}

.contact {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: flex-start;
  background: var(--light);
  border-radius: 1rem;
  padding: 2.5rem 2rem;
}

@media (min-width: 768px) {
  .contact {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 3rem;
  }
}

.contact__details {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact__item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.contact__label {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.contact__value {
  font-weight: 500;
}

.contact__link {
  color: var(--accent);
  font-weight: 500;
  transition: color 0.2s;
}

.contact__link:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

/* ===== Footer ===== */
.footer {
  background: var(--light);
  border-top: 1px solid #e5e7eb;
  padding: 3rem 0 2rem;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .footer__inner {
    flex-direction: row;
    justify-content: space-between;
  }
}

.logo--footer .logo__mark {
  width: 2.5rem;
  height: 2.5rem;
  font-size: 0.75rem;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.footer__nav a {
  font-size: 0.875rem;
  color: var(--muted);
  transition: color 0.2s;
}

.footer__nav a:hover {
  color: var(--accent);
}

.footer__copy {
  text-align: center;
  font-size: 0.875rem;
  color: var(--muted);
}
