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

:root {
  --blue: #007bff;
  --blue-dark: #0056d6;
  --navy: #0a1628;
  --navy-light: #1a2d4a;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-500: #64748b;
  --gray-700: #334155;
  --white: #ffffff;
  --shadow: 0 4px 24px rgba(10, 22, 40, 0.08);
  --shadow-lg: 0 12px 48px rgba(10, 22, 40, 0.12);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.2s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--navy);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1.25rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--blue);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--blue-dark);
}

.btn--outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--gray-200);
}

.btn--outline:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.btn--white {
  background: var(--white);
  color: var(--blue);
}

.btn--white:hover {
  background: var(--gray-100);
}

.btn--lg {
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-100);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 1rem;
}

.header__logo img {
  height: 40px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: color var(--transition);
}

.nav__link:hover {
  color: var(--blue);
}

.header__cta {
  flex-shrink: 0;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero */
.hero {
  padding: 8rem 0 5rem;
  background: linear-gradient(160deg, var(--gray-50) 0%, var(--white) 60%);
  overflow: hidden;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero__badge {
  display: inline-block;
  padding: 0.375rem 0.875rem;
  background: rgba(0, 123, 255, 0.1);
  color: var(--blue);
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: 100px;
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}

.hero__title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  color: var(--navy);
}

.hero__text {
  font-size: 1.125rem;
  color: var(--gray-500);
  max-width: 480px;
  margin-bottom: 2rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

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

.hero__card {
  width: 100%;
  max-width: 420px;
  padding: 1.5rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-100);
}

.hero__browser {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--gray-200);
}

.hero__browser-bar {
  display: flex;
  gap: 6px;
  padding: 10px 14px;
  background: var(--gray-100);
}

.hero__browser-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gray-200);
}

.hero__browser-bar span:first-child {
  background: #ff5f57;
}

.hero__browser-bar span:nth-child(2) {
  background: #febc2e;
}

.hero__browser-bar span:nth-child(3) {
  background: #28c840;
}

.hero__browser-body {
  padding: 1.5rem;
  background: var(--white);
}

.hero__browser-line {
  height: 10px;
  background: var(--gray-100);
  border-radius: 4px;
  margin-bottom: 0.75rem;
  width: 70%;
}

.hero__browser-line--wide {
  width: 90%;
  height: 14px;
  margin-bottom: 1.25rem;
}

.hero__browser-block {
  height: 120px;
  background: linear-gradient(135deg, rgba(0, 123, 255, 0.08) 0%, rgba(0, 123, 255, 0.02) 100%);
  border-radius: 8px;
  border: 1px dashed rgba(0, 123, 255, 0.2);
  margin-top: 1rem;
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}

.section__title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  color: var(--navy);
}

.section__subtitle {
  font-size: 1.0625rem;
  color: var(--gray-500);
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature {
  padding: 2rem;
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
  transition: box-shadow var(--transition), transform var(--transition);
}

.feature:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.feature__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 123, 255, 0.1);
  color: var(--blue);
  border-radius: 10px;
  margin-bottom: 1.25rem;
}

.feature__icon svg {
  width: 24px;
  height: 24px;
}

.feature__title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--navy);
}

.feature__text {
  font-size: 0.9375rem;
  color: var(--gray-500);
  line-height: 1.65;
}

/* CTA */
.section--cta {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  padding: 5rem 0;
}

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

.cta__title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.cta__text {
  font-size: 1.0625rem;
  opacity: 0.9;
  max-width: 520px;
  margin: 0 auto 2rem;
}

.cta__email {
  margin-top: 1.25rem;
  font-size: 0.9375rem;
  opacity: 0.85;
}

.cta__email a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cta__email a:hover {
  opacity: 1;
}

/* Footer */
.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.7);
  padding: 3rem 0 2rem;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.footer__brand img {
  height: 32px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 0.75rem;
}

.footer__tagline {
  font-size: 0.875rem;
}

.footer__info {
  text-align: right;
  font-size: 0.875rem;
}

.footer__info a:hover {
  color: var(--white);
}

.footer__info p + p {
  margin-top: 0.25rem;
}

.footer__copy {
  grid-column: 1 / -1;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8125rem;
  text-align: center;
}

/* Responsive */
@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .hero__text {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__actions {
    justify-content: center;
  }

  .features {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--white);
    padding: 1.5rem;
    gap: 0;
    border-bottom: 1px solid var(--gray-100);
    box-shadow: var(--shadow);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition), opacity var(--transition);
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav__link {
    padding: 0.875rem 0;
    width: 100%;
    border-bottom: 1px solid var(--gray-100);
  }

  .nav__link:last-child {
    border-bottom: none;
  }

  .header__cta {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer__info {
    text-align: center;
  }
}
