/* HouseKraft Landing Styles — Light theme with beige accents
   Variant: Compact Footer + Underlined Links
*/
:root {
  --bg: #faf7f1;
  --panel: #ffffff;
  --muted: #6b7280;
  --text: #1f2937;
  --brand: #e6d9c9;
  /* beige light */
  --brand2: #d4b996;
  /* beige medium */
  --accent: #b3845a;
  /* warm accent */
  --ring: rgba(212, 185, 150, .35);
  --link: #8a5a36;
  /* accessible warm link */
  --link-hover: #6f482b;
  /* darker on hover */
}

* {
  box-sizing: border-box
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif;
  line-height: 1.55
}

/* Global link styling */
a {
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1.5px;
}

a:hover,
a:focus-visible {
  color: var(--link-hover)
}

a:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px
}

/* Buttons and pill CTAs should not be underlined */
.btn,
.cta-pill {
  text-decoration: none;
  color: inherit;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(16px, 2vw, 24px)
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px
}

header.site-header {
  border-bottom: 1px solid #efe8db;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px
}

.logo-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 8px
}

.brand-text h1 {
  margin: 0;
  font-size: 1.25rem
}

.tagline {
  margin: .125rem 0 0;
  color: var(--muted);
  font-size: .9rem
}

.links {
  display: flex;
  gap: 14px;
  align-items: center
}

.links a {
  opacity: .95
}

/* ===== HERO ===== */
.hero {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 28px;
  align-items: center
}

.hero-text h2 {
  font-size: clamp(28px, 4.2vw, 48px);
  line-height: 1.05;
  margin: 0 0 12px
}

.gradient {
  background: linear-gradient(135deg, var(--brand2), var(--brand));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent
}

.hero-text p {
  color: var(--muted);
  margin: 0 0 16px
}

.btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--brand2), var(--brand));
  color: #0b0b0c;
  font-weight: 700;
  border: 0;
  border-radius: 12px;
  padding: .9rem 1.1rem;
  box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
  transition: transform .08s ease, box-shadow .2s ease
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px -12px var(--ring)
}

.btn:active {
  transform: translateY(0) scale(.98)
}

.hero-card .card {
  background: linear-gradient(180deg, rgba(0, 0, 0, .03), rgba(0, 0, 0, .015));
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 16px;
  padding: 14px
}

.card-badge {
  display: inline-block;
  font-size: .75rem;
  color: var(--muted);
  border: 1px solid rgba(0, 0, 0, .12);
  border-radius: 999px;
  padding: .2rem .6rem;
  margin-bottom: 8px
}

/* Large preview with video support */
.card-media {
  position: relative;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, .08);
  background: #fff;
  aspect-ratio: 16 / 9;
  max-height: 520px;
}

.hero-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover
}

.card-caption {
  color: var(--muted);
  margin: .6rem 0 0
}

/* ===== FEATURES ===== */
.features h3,
.trial h3,
.waitlist h3 {
  font-size: clamp(20px, 3vw, 28px);
  margin: 0 0 14px
}

.feature-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  margin: 0
}

.feature-grid li {
    background: var(--panel);
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 16px;
    padding: 0px;
    position: relative;
}

.feature-grid h4 {
  margin: .2rem 0 .3rem;
  font-size: 1.05rem
}
.feature-grid .content {
    padding: 0px 16px 16px;
}
.feature-grid p {
    margin: 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 23px;
}
.feature-grid p {
  margin: 0;
  color: var(--muted)
}

.feat-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px 16px 0 0 ;
    border: 1px solid rgba(0, 0, 0, .08);
    margin-bottom: .6rem;
    background: #f4ebde;
}

/* ===== TRIAL CREATIVES ===== */
.trial .cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px
}
.plan-badge.pro {
  background: linear-gradient(135deg, #ffb35c, #ff8c2f);
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(255, 140, 47, 0.35);
}
.cta-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(0, 0, 0, .14);
  border-radius: 999px;
  padding: .6rem .9rem;
  background: rgba(0, 0, 0, .03)
}

.pill-note {
  color: var(--muted);
  font-size: .9em
}

.trial-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 12px
}

.trial-card {
  background: var(--panel);
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column
}

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

.trial-meta {
  padding: 12px 14px;
  color: var(--text)
}

.trial-meta p {
  margin: .25rem 0 0;
  color: var(--muted);
  font-size: .95rem
}

/* ===== WAITLIST ===== */
.waitlist-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .1);
  padding: 10px;
  border-radius: 14px;
  width: 46%;
}

.waitlist-form input[type="email"] {
  flex: 1;
  min-width: 220px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, .14);
  color: var(--text);
  padding: .8rem 1rem;
  border-radius: 10px;
  outline: none
}

.waitlist-form input[type="email"]:focus {
  border-color: var(--brand2);
  box-shadow: 0 0 0 6px var(--ring)
}

.waitlist-form .hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden
}

.form-hint {
  width: 100%;
  margin: 0;
  color: var(--muted);
  font-size: .9rem
}

/* ===== FOOTER (COMPACT) ===== */
.site-footer {
  /* border-top: 1px solid rgba(0, 0, 0, .08); */

  padding-top: 15px;
  /* display: flex;
  flex-wrap: wrap;
  flex-direction: row; */
  gap: 4px 12px;
  align-items: center;
}

.site-footer p {
  margin: 0;
  line-height: 1.6;
  font-size: 0.95rem;
}

.muted {
  color: var(--muted)
}

/* Utilities */
.visually-hidden {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden
}

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

.footer-top {
  background: #fff;
}

.footer-top .container {
  /* border-top: 1px solid #e6e3de; */
  margin-top: 16px;
}

.footer-top .container .footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}


#waitlist .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* background: linear-gradient(135deg, var(--brand2), var(--brand)); */
  border-radius: 20px;
  margin-bottom: 40px;
  margin-top: 20px;
}

.inner-waitlist {
  background: linear-gradient(135deg, var(--brand2), var(--brand));
  border-radius: 20px;
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/*****************pricing table csss************************/
.inner-body .pricing-container {
  display: flex;
  gap: 20px;
  justify-content: center;
  max-width: 1200px;
  margin: auto;
}

.inner-body .pricing-card {
  background: #ffffff;
  border-radius: 10px;
  padding: 25px;
  flex: 1;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.inner-body .pricing-card.highlight {
  border-top: 4px solid #007bff;
  transform: scale(1.03);
}

.inner-body .plan-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 10px;
}

.inner-body .plan-subtitle {
  color: #666;
  margin-bottom: 20px;
}

.inner-body .price {
  font-size: 36px;
  font-weight: bold;
  margin: 15px 0;
}

.inner-body .price span {
  font-size: 14px;
  color: #666;
}

.inner-body .features {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.inner-body .features li {
  padding: 8px 0;
  border-bottom: 1px solid #eee;
  font-size: 14px;
}

.inner-body .pricing-header {
  text-align: center;
  margin-bottom: 60px;
}

.inner-body .pricing-header p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.4;
  max-width: 600px;
  margin: 0 auto;
}

/****pricing css**********************/
.pricing-plans .cards {
  max-width: 1200px;
  margin: auto;
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;

}

.pricing-plans {
  border-bottom: 1px solid #ddd;
}

.pricing-plans:last-child {
  border-bottom: 0px;
}

.pricing-plans .card {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  width: 320px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.pricing-plans .card h3 {
  margin-bottom: 10px;
}

.pricing-plans .price {
  font-size: 26px;
  font-weight: bold;
  margin: 12px 0;
}

.pricing-plans .price span {
  display: block;
  font-size: 14px;
  color: #777;
}

.pricing-plans .card ul {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.pricing-plans .card ul li {
  padding: 6px 0;
  font-size: 14px;
  color: #555;
}

.pricing-plans .highlight {
  border-top: 5px solid #007bff;
  transform: scale(1.05);
}

.pricing-plans .card {
  margin-bottom: 60px;
}

section.section.pricing-plans h2 {
  margin-bottom: 50px;
  text-align: center;
}

section.section.pricing-plans.pay-as-go .card {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  width: 240px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  text-align: center;
}
.features  h4.sub-head {
    text-align: center;
    font-size: 24px;
    margin-top: 12px;
    font-weight: 400;
    color: #8f603e;
    text-decoration: underline;
}
.feature-grid .content a.btn {
    margin-top: 15px;
}
.plan-badge {
    display: inline-block;
    padding: 7px 12px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 0 16px 00 10px;
    line-height: 1;
    white-space: nowrap;
    position: absolute;
    right: 0;
    top: 0;
    line-height: 14px;
}

/* Regular Plan Badge */
.plan-badge.regular {
  background: linear-gradient(135deg, #4f8cff, #3b73e8);
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(79, 140, 255, 0.35);
}

@media (max-width: 900px) {
  .inner-body .pricing-container {
    flex-direction: column;
  }
}

/* Base small-screen behaviour */
@media (max-width:900px) {
  .inner-body .hero {
    grid-template-columns: 1fr;
    gap: 18px
  }

  .inner-body .hero-card {
    order: -1
  }

  .inner-body .card-media {
    max-height: 360px
  }

  .inner-body .trial-grid {
    grid-template-columns: 1fr
  }
}

/* ===== Responsive Hotfixes ===== */

/* 1) Header wrap + spacing on medium screens */
@media (max-width: 1100px) {
  .site-header {
    flex-wrap: wrap
  }

  .links {
    width: 100%;
    justify-content: flex-start;
    gap: 12px;
    margin-top: 20px
  }
}

/* 2) Hero: stack earlier on tablets and keep preview above text on mobile */
@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 1fr
  }

  .hero-card {
    order: -1
  }
}

/* 2b) Rock-solid 16:9 for hero preview (older Safari/Android) */
.card-media {
  position: relative
}

.card-media::before {
  content: "";
  display: block;
  padding-top: 56.25%
}

/* 16:9 aspect ratio shim */
.card-media>.hero-video,
.card-media>img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover
}

/* 3) Prevent subtle overflow on narrow viewports */
.container {
  padding-left: clamp(12px, 2vw, 24px);
  padding-right: clamp(12px, 2vw, 24px)
}

.site-footer {
  background: #ffffff;
}

.site-footer .container {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

/**********************inner css)*********************/


header.inner-header {
  background: var(--panel);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding: 1.25rem 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.inner-header .header-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.inner-header .logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
}

.inner-header .btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--brand2), var(--brand));
  color: #0b0b0c;
  font-weight: 700;
  border: 0;
  border-radius: 10px;
  padding: 0.9rem 1.5rem;
  text-decoration: none;
  font-size: 16px;
  transition: transform 0.08s ease, box-shadow 0.2s ease;
}

.inner-header .btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px -12px var(--ring);
}

.inner-header .btn-primary:active {
  transform: translateY(0) scale(0.98);
}

main.inner-body {
  flex-grow: 1;
  max-width: 1100px;
  margin: 4rem auto;
  padding: 0 1.5rem;
  width: 100%;
}

.contact-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.inner-body .contact-header h1 {
  font-size: clamp(2rem, 5vw, 2.5rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.inner-body .contact-header p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.4;
  max-width: 600px;
  margin: 0 auto;
}

.inner-body .contact-form-card {
  background: var(--panel);
  padding: 2.5rem;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  width: 60%;
  margin: 0 auto;
}

.inner-body .hidden-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.inner-body .form-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.inner-body .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.inner-body .form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.inner-body.form-group label {
  font-weight: 600;
  color: var(--text);
  font-size: 14px;
}

.inner-body .form-group input[type="text"],
.inner-body .form-group input[type="email"],
.inner-body .form-group textarea,
.inner-body .form-group input[type="file"] {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 10px;
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
  background: var(--panel);
  transition: all 0.2s ease;
}

.inner-body .form-group input[type="text"]:focus,
.inner-body .form-group input[type="email"]:focus,
.inner-body .form-group textarea:focus {
  outline: none;
  border-color: var(--brand2);
  box-shadow: 0 0 0 4px var(--ring);
}

.inner-body .form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.inner-body .file-input-wrapper {
  position: relative;
}

.inner-body .form-group input[type="file"] {
  cursor: pointer;
}

.inner-body .form-group input[type="file"]::file-selector-button {
  padding: 0.5rem 1rem;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.03);
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  margin-right: 1rem;
  transition: all 0.2s ease;
}

.inner-body .form-group input[type="file"]::file-selector-button:hover {
  background: var(--brand);
}

.inner-body .submit-wrapper {
  margin-top: 0.5rem;
}

.inner-body .btn-submit {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--brand2), var(--brand));
  color: #0b0b0c;
  font-weight: 700;
  border: 0;
  border-radius: 10px;
  padding: 1rem 1.5rem;
  font-size: 16px;
  cursor: pointer;
  transition: transform 0.08s ease, box-shadow 0.2s ease;
}

.inner-body .btn-submit:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px -12px var(--ring);
}

.inner-body .btn-submit:active:not(:disabled) {
  transform: translateY(0) scale(0.98);
}

.inner-body .btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.inner-body .spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(0, 0, 0, 0.1);
  border-top-color: #0b0b0c;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  display: none;
}

.inner-body .spinner.active {
  display: block;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.inner-body .privacy-note {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  font-style: italic;
}

footer.inner-footer {
  background: var(--panel);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding: 2rem 2rem;
  margin-top: auto;
}

.inner-footer .footer-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.inner-footer .footer-container>div:first-child {
  font-size: 14px;
  color: var(--muted);
}

.inner-footer .footer-container>div:first-child a {
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
}

.inner-footer .footer-container>div:first-child a:hover {
  color: var(--link-hover);
}

.inner-footer .footer-links {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.inner-footer .footer-links a {
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-size: 14px;
  font-weight: 600;
}

.inner-footer .footer-links a:hover {
  color: var(--link-hover);
}
.footer-bottom {
    background: #fff;
    border-top: 1px solid rgba(0, 0, 0, .08);
}
.footer-bottom p {
    margin: 0;
}
.footer-bottom .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.footer-3 p.muted.social-icons {
    display: flex;
    margin-top: 30px;
}
.footer-3 p.muted.social-icons img {
    width: 25px;
    margin-right: 20px;
}
.footer-2 ul {
    list-style: none;
    margin-top: 0;
    padding-left: 0;
}
.footer-2 ul li{
  line-height: 32px;
}
.footer-2 ul a{
  text-decoration: none;
}
.site-footer h3{
  margin-top: 0;
}
@media (max-width:1023px) {

  .inner-body .contact-form-card {
    width: 100%;
  }
  .inner-waitlist{
    display: block;
  }
}

@media (max-width:820px) {
  .links {
    width: 100%;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 20px;
  }
  .site-footer .container,.footer-bottom .container {
    display: block;
  }
  .footer-1 .brand {
    margin-bottom: 30px;
}
}

@media (max-width: 768px) {
  header {
    padding: 1rem 1.5rem;
  }

  section.section.pricing-plans.pay-as-go .card {
    width: 100%;
  }

  .inner-body .contact-form-card {
    width: 100%;
  }

  .footer-top .container .footer-links {
    gap: 20px;
  }

  .pricing-plans .card {
    margin-bottom: 30px;
  }

  #waitlist {
    display: block
  }

  .site-footer {
    flex-flow: wrap-reverse;
  }

  #waitlist .waitlist-form {
    width: 100%;
  }

  .inner-body .btn-primary {
    padding: 0.8rem 1rem;
    font-size: 14px;
  }

  main.inner-body {
    margin: 2rem auto;
  }

  .inner-body .contact-form-card {
    padding: 2rem 1.5rem;
  }

  .inner-body .form-row {
    grid-template-columns: 1fr;
  }

  .inner-footer .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .inner-footer .footer-links {
    gap: 1.5rem;
  }

  .footer-top .footer-links a {
    font-size: 13px;
  }

  .footer-top.container .footer-links {
    gap: 18px;
  }

  .site-header .container {
    display: inline-block;
    align-items: center;
    justify-content: center;
    gap: 16px;
  }
}

@media (max-width: 480px) {
  main.inner-body {
    padding: 0 1rem;
  }

  .links {
    width: 100%;
    justify-content: flex-start;
    gap: 12px;
    margin-top: 20px;
  }

  .inner-body .contact-form-card {
    padding: 1.5rem 1rem;
  }

  .inner-footer .footer-links {
    flex-direction: column;
    gap: 1rem;
  }

  .footer-top .footer-links a {
    font-size: 12px;
  }
}

/* 4) Feature & Trial grids collapse to 1-col on phones */
@media (max-width: 900px) {
  .feature-grid {
    grid-template-columns: 1fr
  }

  .trial-grid {
    grid-template-columns: 1fr
  }
}

/* 5) Waitlist form ergonomics on phones */
@media (max-width: 600px) {
  .waitlist-form {
    flex-direction: column;
    align-items: stretch
  }

  .waitlist-form button {
    width: 100%
  }
}

/* 6) CTA pills wrap nicely */
.cta-row {
  flex-wrap: wrap
}

.cta-pill {
  white-space: nowrap
}

/* 7) Footer line-breaks better on tiny screens (still compact) */
@media (max-width:600px) {
  .site-footer {
    align-items: flex-start;
    gap: 4px 8px
  }

  .site-footer p {
    font-size: .92rem
  }
}

.site-footer a {
  word-break: break-word
}