/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --blue: #135bec;
  --blue-dark: #0052cc;
  --blue-bg: rgba(19, 91, 236, 0.05);
  --black: #1a1a1a;
  --gray: #666;
  --gray-light: #e5e7eb;
  --gray-lighter: #f1f5f9;
  --white: #fff;
  --green: #22c55e;
  --green-text: #16a34a;
  --green-bg: #f0fdf4;
  --green-border: #dcfce7;
  --red: #dc2626;
  --red-bg: #fef2f2;
  --red-border: #fee2e2;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
  --font-hand: "Caveat", cursive;
  --radius-sm: 6px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;
}

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

body {
  font-family: var(--font-sans);
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

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

/* ===== ANIMATIONS ===== */
.animate-in {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn--sm {
  font-size: 14px;
  padding: 8px 20px;
  border-radius: var(--radius-full);
}

.btn--lg {
  font-size: 20px;
  padding: 18px 48px;
  border-radius: var(--radius-full);
}

.btn--dark {
  background: var(--black);
  color: var(--white);
  box-shadow:
    0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.btn--dark:hover {
  background: #333;
  transform: translateY(-1px);
  box-shadow:
    0 24px 30px -5px rgba(0, 0, 0, 0.15),
    0 10px 14px -6px rgba(0, 0, 0, 0.1);
}

.btn--outline {
  background: rgba(255, 255, 255, 0.2);
  color: var(--black);
  border: 1px solid var(--gray-light);
  backdrop-filter: blur(6px);
}

.btn--outline:hover {
  background: rgba(255, 255, 255, 0.5);
  transform: translateY(-1px);
}

.btn--hero {
  font-size: 16px;
  padding: 14px 36px;
  border-radius: var(--radius-full);
}

.btn--jira {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue-dark);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.btn--jira:hover {
  background: #003d99;
}

/* ===== LOGO MARK ===== */
.logo-mark {
  display: inline-flex;
  align-items: baseline;
  font-size: 18px;
  line-height: 1;
  letter-spacing: -1px;
}

.logo-mark--lg {
  font-size: 22px;
}

.logo-mark__plus {
  font-family: var(--font-sans);
  font-weight: 600;
  color: #4a5c3a;
  font-size: 0.75em;
  margin-right: -1px;
}

.logo-mark__slash {
  font-family: var(--font-sans);
  font-weight: 700;
  color: var(--black);
  font-size: 1.2em;
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 24px;
  left: 15%;
  right: 15%;
  z-index: 100;
  max-width: 896px;
  margin: 0 auto;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 25px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header__logo-text {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.45px;
  color: var(--black);
}

.header__nav {
  display: flex;
  gap: 32px;
}

.header__link {
  font-size: 14px;
  font-weight: 500;
  color: rgba(26, 26, 26, 0.7);
  transition: color 0.2s;
}

.header__link:hover {
  color: var(--black);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header__login {
  font-size: 14px;
  font-weight: 500;
  color: var(--black);
  transition: opacity 0.2s;
}

.header__login:hover {
  opacity: 0.7;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  padding: 160px 24px 128px;
  overflow: hidden;
}

.hero__bg-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, #d8e5ff, var(--white));
  z-index: 0;
}

.hero__blur {
  position: absolute;
  border-radius: 9999px;
  z-index: 1;
}

.hero__blur--1 {
  top: 25%;
  left: 25%;
  right: 35.94%;
  bottom: 54.64%;
  background: rgba(19, 91, 236, 0.05);
  filter: blur(60px);
}

.hero__blur--2 {
  top: 58.71%;
  left: 43.75%;
  right: 25%;
  bottom: 25%;
  background: rgba(147, 197, 253, 0.1);
  filter: blur(50px);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 17px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid var(--white);
  backdrop-filter: blur(2px);
  margin-bottom: 78px;
}

.hero__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
}

.hero__badge-text {
  font-size: 12px;
  font-weight: 500;
  color: rgba(26, 26, 26, 0.8);
}

.hero__title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 96px;
  line-height: 1;
  letter-spacing: -2.4px;
  text-align: center;
  color: var(--black);
  margin-bottom: 32px;
}

.hero__title-accent {
  font-family: var(--font-hand);
  font-weight: 400;
  color: var(--blue);
  text-transform: lowercase;
  position: relative;
}

.hero__title-accent::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 8px;
  background: url("data:image/svg+xml,%3Csvg width='235' height='8' viewBox='0 0 235 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 6c40-4 80-4 117-2s78 2 116-2' stroke='%23135bec' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E")
    center / contain no-repeat;
}

.hero__subtitle {
  font-size: 20px;
  line-height: 1.4;
  color: var(--gray);
  text-align: center;
  max-width: 680px;
  margin-bottom: 40px;
}

.hero__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 80px;
}

/* Hero Demo */
.hero__demo {
  display: flex;
  align-items: flex-start;
  gap: 48px;
  width: 100%;
  max-width: 1232px;
}

.hero__demo-left {
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex: 0 0 39%;
}

.hero__demo-right {
  display: flex;
  flex-direction: column;
  gap: 96px;
  flex: 1;
  padding-bottom: 160px;
}

.hero__demo-label {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero__demo-label-icon {
  width: 34px;
  height: 28px;
}

.hero__demo-label-text {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2.4px;
  color: var(--gray);
}

/* ===== CARDS ===== */
.card--glass {
  position: relative;
  padding: 33px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.card__status-tag {
  position: absolute;
  top: 9px;
  right: 33px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 8px;
  border-radius: 4px;
}

.card__status-tag--processing {
  background: var(--blue-bg);
  color: var(--blue);
}

.card__text {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.card__text p {
  font-size: 16px;
  line-height: 1.625;
  color: rgba(26, 26, 26, 0.7);
}

.card__connector {
  position: absolute;
  top: 50%;
  right: -60px;
  transform: translateY(-50%);
  width: 60px;
  height: 2px;
}

.card__connector-line {
  position: absolute;
  top: 50%;
  left: 0;
  width: 60px;
  height: 2px;
  opacity: 0.4;
  background: linear-gradient(
    90deg,
    rgba(19, 91, 236, 0) 0%,
    #135bec 33%,
    #a855f7 67%,
    rgba(168, 85, 247, 0) 100%
  );
  filter: blur(0.5px);
}

.card__connector-dot {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 15px rgba(19, 91, 236, 0.6);
}

/* ===== OUTPUT CARDS ===== */
.output-card {
  position: relative;
  padding: 33px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--gray-light);
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.output-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.05);
  pointer-events: none;
}

.output-card--jira {
  border: 2px solid rgba(19, 91, 236, 0.2);
  box-shadow: 0 40px 80px -20px rgba(19, 91, 236, 0.12);
  overflow: hidden;
}

.output-card--jira::before {
  display: none;
}

.output-card__accent-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--blue-dark);
}

.output-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.output-card__title-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.output-card__icon {
  flex-shrink: 0;
}

.output-card__title {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.35px;
  color: var(--black);
}

/* Status Badge */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 13px;
  border-radius: var(--radius-full);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.status-badge--ready {
  background: var(--green-bg);
  border: 1px solid var(--green-border);
  color: var(--green-text);
}

.status-badge__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

/* Email Preview */
.email-preview {
  background: rgba(248, 250, 252, 0.5);
  border: 1px solid var(--gray-lighter);
  border-radius: var(--radius-md);
  padding: 25px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.email-preview__row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 13px;
  border-bottom: 1px solid #e2e8f0;
}

.email-preview__label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: -0.5px;
  color: var(--gray);
  width: 90px;
  flex-shrink: 0;
}

.email-preview__value {
  font-size: 14px;
  font-weight: 500;
  color: var(--black);
}

.email-preview__body {
  font-size: 14px;
  line-height: 1.625;
  color: var(--black);
  padding-top: 8px;
}

/* Project Document */
.project-doc__heading {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.56;
  color: var(--black);
  padding-bottom: 9px;
  border-bottom: 1px solid var(--gray-lighter);
  margin-bottom: 16px;
}

.project-doc__list {
  display: flex;
  flex-direction: column;
  gap: 11.5px;
}

.project-doc__list li {
  font-size: 14px;
  line-height: 1.43;
  color: var(--black);
  padding-left: 20px;
  position: relative;
}

.project-doc__list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--black);
}

/* Checklist */
.checklist {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.checklist__item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.checklist__checkbox {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  border: 1px solid var(--gray-light);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.checklist__checkbox--checked {
  background: rgba(19, 91, 236, 0.1);
}

.checklist__text {
  font-size: 14px;
  color: var(--black);
}

.checklist__text--done {
  text-decoration: line-through;
  color: var(--gray);
}

/* Jira Body */
.jira-icon {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  background: var(--blue-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.jira-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.jira-body__field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.jira-body__label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--gray);
}

.jira-body__value {
  font-size: 14px;
  color: var(--black);
  line-height: 1.43;
}

.jira-body__value--bold {
  font-weight: 600;
}

.jira-body__value--muted {
  font-size: 12px;
  color: var(--gray);
  line-height: 1.625;
}

.jira-body__meta {
  display: flex;
  gap: 24px;
  padding-top: 8px;
}

.jira-body__meta .jira-body__field {
  flex: 1;
  gap: 6px;
}

.jira-priority {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--red-bg);
  border: 1px solid var(--red-border);
  padding: 5px 9px;
  border-radius: var(--radius-sm);
  font-size: 10px;
  font-weight: 600;
  color: var(--red);
  width: fit-content;
}

.jira-assignee {
  display: flex;
  align-items: center;
  gap: 8px;
}

.jira-assignee__avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea, #764ba2);
  border: 1px solid var(--white);
}

.jira-assignee__name {
  font-size: 12px;
  font-weight: 500;
  color: var(--black);
}

.jira-body__actions {
  display: flex;
  justify-content: flex-end;
}

/* ===== TRUSTED ===== */
.trusted {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  padding: 65px 24px;
  background: rgba(255, 255, 255, 0.5);
  border-top: 1px solid var(--gray-light);
  border-bottom: 1px solid var(--gray-light);
}

.trusted__label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gray);
}

.trusted__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
  opacity: 0.6;
}

.trusted__logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.trusted__logo-img:hover {
  filter: grayscale(0%);
}

.trusted__logo-img--square {
  height: 50px;
}

/* ===== FEATURES ===== */
.features {
  padding: 128px 64px;
  background: var(--white);
}

.features__grid {
  display: flex;
  gap: 64px;
  justify-content: center;
  max-width: 1152px;
  margin: 0 auto;
}

.feature {
  flex: 1;
  max-width: 341px;
}

.feature__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--blue-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.feature__title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.33;
  color: var(--black);
  margin-bottom: 22.75px;
}

.feature__text {
  font-size: 14px;
  line-height: 1.625;
  color: var(--gray);
}

/* ===== CTA ===== */
.cta {
  padding: 129px 192px 128px;
  border-top: 1px solid var(--gray-light);
}

.cta__inner {
  max-width: 896px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}

.cta__title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 72px;
  line-height: 1;
  letter-spacing: -3.6px;
  text-align: center;
  color: var(--black);
}

.cta__title em {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--blue);
}

.cta__buttons {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
}

.cta__note {
  font-size: 14px;
  color: var(--gray);
  text-align: center;
}

/* ===== FOOTER ===== */
.footer {
  border-top: 1px solid var(--gray-light);
  padding: 81px 24px 80px;
  background: var(--white);
}

.footer__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.footer__top {
  display: flex;
  gap: 48px;
  justify-content: center;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 22.75px;
  width: 592px;
  flex-shrink: 0;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer__logo-text {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.5px;
  color: var(--black);
}

.footer__tagline {
  font-size: 14px;
  line-height: 1.625;
  color: var(--gray);
  max-width: 320px;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 272px;
  flex-shrink: 0;
}

.footer__col-title {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--black);
}

.footer__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer__list a {
  font-size: 14px;
  color: var(--gray);
  transition: color 0.2s;
}

.footer__list a:hover {
  color: var(--black);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 33px;
  border-top: 1px solid var(--gray-light);
}

.footer__copy {
  font-size: 12px;
  font-weight: 500;
  color: var(--gray);
}

.footer__legal {
  display: flex;
  gap: 24px;
}

.footer__legal a {
  font-size: 12px;
  font-weight: 500;
  color: var(--gray);
  transition: color 0.2s;
}

.footer__legal a:hover {
  color: var(--black);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .header {
    left: 5%;
    right: 5%;
  }

  .hero__title {
    font-size: 56px;
  }

  .hero__demo {
    flex-direction: column;
    align-items: center;
  }

  .hero__demo-left {
    flex: none;
    width: 100%;
    max-width: 500px;
  }

  .hero__demo-right {
    flex: none;
    width: 100%;
    max-width: 700px;
    gap: 48px;
    padding-bottom: 48px;
  }

  .card__connector {
    display: none;
  }

  .features__grid {
    flex-direction: column;
    align-items: center;
  }

  .feature {
    max-width: 500px;
  }

  .cta {
    padding: 80px 24px;
  }

  .cta__title {
    font-size: 48px;
  }

  .footer__top {
    flex-direction: column;
  }

  .footer__brand {
    width: 100%;
  }

  .footer__col {
    width: 100%;
  }

  .trusted__logos {
    gap: 40px;
    flex-wrap: wrap;
  }
}

@media (max-width: 640px) {
  .header__nav {
    display: none;
  }

  .hero {
    padding: 120px 16px 64px;
  }

  .hero__badge {
    margin-bottom: 40px;
  }

  .hero__title {
    font-size: 40px;
    letter-spacing: -1px;
  }

  .hero__subtitle {
    font-size: 16px;
    margin-bottom: 48px;
  }

  .btn--lg {
    font-size: 16px;
    padding: 14px 32px;
  }

  .cta__buttons {
    flex-direction: column;
  }

  .cta__title {
    font-size: 36px;
    letter-spacing: -1.5px;
  }
}
