:root {
  --divider-height: 120px;
  --divider-gap: 48px;
  --card-radius: 20px;
  --card-pad-y: 48px;
  --card-pad-x: 48px;
  --card-gap: 48px;
  --content-max: 520px;
  --media-max: 360px;
  --svg-max: 100%;
  --brand-blue: #3E6075;
  --brand-yellow: #FFC83D;
  --card-bg: #ffffff;
}

body, html {
  font-family: 'Satoshi', Arial, sans-serif;
  margin: 0;
  background: #f9fafb;
  color: #18181b;
  line-height: 1.6;
}

html, body { box-sizing: border-box; overflow-x: hidden; }
*, *:before, *:after { box-sizing: inherit; }
.hero-content {
  max-width: 500px;
  margin: 0 auto;
  padding: 2rem 1rem 0 1rem;
  text-align: center;
}
@media (max-width: 700px) {
  .hero-content {
    width: 100vw !important;
    max-width: 100vw !important;
    min-width: 0 !important;
    box-sizing: border-box;
    padding: 0 5vw !important;
    overflow-x: hidden;
    text-align: center;
  }
  .hero h1,
  .rotating-headline-row,
  #rotating-word {
    white-space: normal !important;
    overflow: visible !important;
    word-break: break-word !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    font-size: clamp(1.1rem, 6vw, 2rem) !important;
    line-height: 1.18 !important;
    margin-bottom: 0.5em !important;
  }
  .highlight { margin-bottom: 0.4em !important;}
}
@media (max-width: 700px) {
  .hero-content {
    max-width: 95vw;
    padding: 1.2rem 0.5rem 0 0.5rem;
  }
  .hero h1 {
    font-size: clamp(1.2rem, 7vw, 1.7rem);
    margin-bottom: 0.2em;
    line-height: 1.17;
    white-space: normal;
    word-break: break-word;
  }
  .rotating-headline-row {
    white-space: normal;
    display: block;
  }
  #rotating-word {
    display: inline;
    font-size: inherit;
    white-space: normal;
    width: auto;
    min-width: 0;
    max-width: none;
    overflow: visible;
    text-overflow: clip;
    vertical-align: baseline;
  }
  .hero .highlight {
    margin-bottom: 0.6em;
    display: inline-block;
  }
  .hero p {
    font-size: 1rem;
    margin-bottom: 1rem;
  }
  .signup-form-row {
    flex-direction: column;
    gap: 0.6rem;
    align-items: stretch;
  }
  .signup-form-row input[type="email"], .signup-form-row button {
    max-width: 100%;
    width: 100%;
    min-width: 0;
    font-size: 1.07rem;
    padding: 1rem;
  }
  .signup-form-row button {
    margin-top: 0.5rem;
  }
  .signup-form {
    padding-bottom: 5vh;
  }
  #signup-status {
    font-size: 1rem;
    padding-bottom: 1.5rem;
  }
  .feature-card-premium {
    padding: 2.5rem 0.5rem;
    gap: 1.5rem;
    grid-template-columns: 1fr;
    box-shadow: 0 2px 10px rgba(62,96,117,0.09);
    max-width: 98vw;
  }
  .feature-card-premium__media {
    min-height: unset;
    padding-bottom: 0.7rem;
  }
  .feature-card-premium__img-wrap {
    max-width: 95vw;
    min-width: 0;
  }
  .feature-card-premium__img {
    max-width: 100vw;
    width: 100%;
    max-height: 180px;
  }
  .feature-card-premium__content h2 {
    font-size: clamp(1.2rem, 6vw, 1.3rem);
  }
  .feature-card-premium__content p {
    font-size: 1.04rem;
    margin-bottom: 1.3rem;
  }
  .closing-cta {
    border-radius: 1rem;
    max-width: 98vw;
    padding: 1.6rem 4vw 2rem 4vw;
  }
  .closing-cta__content h2 {
    font-size: 1.1rem;
  }
}
@media (max-width: 480px) {
  .hero-content {padding: 0.6rem 0.1rem 0 0.1rem;}
  .feature-card-premium {padding: 1.1rem 0.1rem;}
}

.navbar {
  position: fixed;
  top: 0; left: 0; right: 0; width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5em 2em;
  background: rgba(62, 96, 117, 0.42);
  backdrop-filter: blur(8px);
  font-family: "Satoshi", Arial, sans-serif;
  z-index: 100;
  box-shadow: 0 2px 16px 0 rgba(62,96,117,0.05);
  min-height: 3.3em;
}
.navbar-brand {
  font-weight: 800;
  font-size: 1.21rem;
  color: #fff;
  letter-spacing: -.5px;
  user-select: none;
}
.navbar-links {
  min-width: 70px;
  display: flex;
  gap: 1.7em;
  justify-content: flex-end;
  align-items: center;
}
.navbar-link {
  font-weight: 500;
  font-size: 1.01rem;
  color: #e4e9ed;
  opacity: 0.85;
  text-decoration: none;
  letter-spacing: 0.01em;
  border-radius: 6px;
  padding: 0.29em 0.8em;
  transition: color .15s, opacity .15s, letter-spacing .23s cubic-bezier(.23,1.01,.32,1), transform .2s cubic-bezier(.22,.67,.48,1.19), background 0.23s;
  background: transparent;
  display: inline-block;
  transform: none;
}
.navbar-link:hover,
.navbar-link:focus {
  color: #fff;
  opacity: 1;
  letter-spacing: 0.045em;
  background: rgba(255,255,255,0.07);
  transform: scale(1.06);
  text-decoration: none;
}
.navbar-link:active {
  color: #FFC83D;
  background: rgba(34,40,52,0.08);
  letter-spacing: 0.01em;
  transform: none;
}
@media (max-width: 700px) {
  .navbar-links {
    gap: 0.66em;
  }
  .navbar-link {
    font-size: 0.89rem;
    padding: 0.19em 0.56em;
  }
}
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('images/blueprint-house.png') center/cover no-repeat;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}
.hero-content {
  max-width: 500px;
  width: 90vw;
  margin: 0 auto;
  padding: 3.5em 1em 0 1em;
  text-align: center;
  position: relative;
  z-index: 2;
}
@media (max-width: 700px) {
  .navbar {
    padding: 0.5em 1em;
    min-height: 2.3em;
  }
  .navbar-brand {
    font-size: 1.06rem;
  }
  .hero-content {
    padding: 2.6em 0.5em 0 0.5em;
    width: 98vw;
    max-width: 98vw;
  }
}
.hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #4A6472;
  opacity: 0.85;
  z-index: 1;
  pointer-events: none;
}
.hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -1px;
  text-align: center;
  white-space: normal;
}
.rotating-headline-row {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  text-align: left;
  white-space: nowrap;
  flex-wrap: nowrap;
}
.rotating-headline-static {
  margin-right: 0.3ch;
}
#rotating-word {
  display: inline-block;
  min-width: 9ch;
  vertical-align: baseline;
  white-space: nowrap;
  transition: color 0.2s;
  position: relative;
}
#rotating-word.fade {
  opacity: 0;
  transition: opacity 0.3s;
}
@media (max-width: 700px) {
  .hero h1 {
    font-size: clamp(1.1rem, 6vw, 2rem) !important;
    margin-bottom: 0 !important;
    line-height: 1.14 !important;
  }
  .rotating-headline-row,
  #rotating-word {
    white-space: normal !important;
    overflow: visible !important;
    word-break: break-word !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    font-size: inherit !important;
    line-height: 1.15 !important;
  }
  .highlight {
    margin-top: 0.1em !important;
    margin-bottom: 0.26em !important;
    display: inline-block;
  }
}
.hero .highlight {
  color: #FACC15;
  background: linear-gradient(90deg, #FACC15 60%, #ffe066 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p {
  font-size: 1.15rem;
  margin-bottom: 2rem;
  color: #e5e7eb;
}
.signup-form {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 1rem;
}
.signup-form input[type="email"] {
  padding: 0.75rem 1rem;
  border-radius: 999px;
  border: none;
  font-size: 1rem;
  width: 60%;
  max-width: 260px;
  outline: none;
  box-shadow: 0 2px 8px rgba(74,100,114,0.08);
  transition: box-shadow 0.2s;
}
.signup-form input[type="email"]:focus {
  box-shadow: 0 4px 16px rgba(74,100,114,0.18);
}
.signup-form button {
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  border: none;
  background: linear-gradient(90deg, #FACC15 60%, #ffe066 100%);
  color: #4A6472;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(250,204,21,0.12);
  transition: background 0.2s, transform 0.1s;
}
.signup-form button:hover {
  background: linear-gradient(90deg, #ffe066 60%, #FACC15 100%);
  transform: translateY(-2px) scale(1.04);
}

/* Feature Sections */
.feature {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 4rem 1rem;
  max-width: 1100px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.feature-img {
  flex: 1 1 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 260px;
  animation: fadeInLeft 1s cubic-bezier(.23,1.01,.32,1) both;
}
.feature-text {
  flex: 1 1 320px;
  min-width: 260px;
  max-width: 420px;
  animation: fadeInRight 1s cubic-bezier(.23,1.01,.32,1) both;
}
.feature h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #4A6472;
}
.feature p {
  font-size: 1.1rem;
  color: #4A6472;
}
.feature-2 {
  flex-direction: row-reverse;
}
.feature-1 {
  background: #fff;
  border-radius: 2rem;
  box-shadow: 0 2px 24px #e6eef2;
  margin-bottom: 3rem;
  padding-top: 64px;
  overflow: hidden;
}
.feature-2 {
  background: #e6eef2;
  border-radius: 2rem;
  box-shadow: 0 2px 24px #dbeafe;
  margin-bottom: 3rem;
}
.feature-3 {
  background: #f9fafb;
  border-radius: 2rem;
  box-shadow: 0 2px 24px #e6eef2;
  margin-bottom: 3rem;
}
.feature {
  position: relative;
  overflow: hidden;
  padding: 5rem 1rem 5rem 1rem;
  max-width: 1100px;
  margin: 0 auto 3rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  min-height: 420px;
}

/* Slide-in Animations */
.feature-img, .feature-text {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.8s cubic-bezier(.23,1.01,.32,1), transform 0.8s cubic-bezier(.23,1.01,.32,1);
}
.feature-2 .feature-img, .feature-2 .feature-text {
  transform: translateX(-60px);
}
.feature.in-view .feature-img, .feature.in-view .feature-text {
  opacity: 1;
  transform: none;
}

/* CTA Section */
.cta {
  background: #617784;
  color: #fff;
  text-align: center;
  padding: 4rem 1rem 3rem 1rem;
  border-radius: 2rem 2rem 0 0;
  margin-top: 4rem;
  box-shadow: 0 -4px 32px rgba(74,100,114,0.08);
  animation: fadeInUp 1s cubic-bezier(.23,1.01,.32,1) 0.2s both;
}
.cta h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: #FACC15;
}
.cta p {
  font-size: 1.15rem;
  margin-bottom: 2rem;
  color: #e5e7eb;
}
.cta-btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  border-radius: 999px;
  background: #FACC15;
  color: #4A6472;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  box-shadow: 0 2px 12px rgba(250,204,21,0.18);
  transition: background 0.2s, transform 0.1s;
  margin-bottom: 2rem;
}
.cta-btn:hover {
  background: #ffe066;
  transform: translateY(-2px) scale(1.04);
}
.trust {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  background: rgba(255,255,255,0.12);
  border-radius: 1rem;
  padding: 0.5rem 1rem;
  margin: 0.5rem 0;
  box-shadow: 0 1px 4px rgba(74,100,114,0.08);
  animation: fadeInUp 1s cubic-bezier(.23,1.01,.32,1) 0.4s both;
  color: #fff;
}

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: none; }
}
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: none; }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: none; }
}

/* Microanimations */
.feature-img svg:hover {
  filter: drop-shadow(0 4px 24px #FACC15aa);
  transform: scale(1.03) rotate(-2deg);
  transition: all 0.3s cubic-bezier(.23,1.01,.32,1);
}
.signup-form input[type="email"]:focus {
  outline: 2px solid #FACC15;
}

/* Responsive Design */
@media (max-width: 900px) {
  .feature {
    flex-direction: column;
    gap: 2.5rem;
    padding: 3rem 1rem;
    min-height: unset;
  }
  .feature-2 {
    flex-direction: column;
  }
  .feature-img, .feature-text {
    transform: none !important;
    opacity: 1 !important;
  }
  .feature-img, .feature-text {
    min-width: 0;
    max-width: 100%;
  }
  .cta {
    padding: 2.5rem 0.5rem 2rem 0.5rem;
    border-radius: 1.2rem 1.2rem 0 0;
  }
  .trust {
    gap: 0.5rem;
  }
}
@media (max-width: 600px) {
  .hero h1 {
    font-size: 2rem;
  }
  .feature h2, .cta h2 {
    font-size: 1.3rem;
  }
  .feature-img, .feature-text {
    min-width: 0;
    max-width: 100%;
  }
  .cta {
    padding: 2.5rem 0.5rem 2rem 0.5rem;
    border-radius: 1.2rem 1.2rem 0 0;
  }
  .trust {
    gap: 0.5rem;
  }
}

.divider-spacer {
  width: 100%;
  height: 64px;
  background: #f8f9fa;
  margin: 0;
  padding: 0;
}

.feature-card {
  background: var(--card-bg);
  border-radius: var(--card-radius);
  padding: var(--card-pad-y) var(--card-pad-x);
  box-shadow: 0 12px 32px rgba(12, 42, 64, 0.08);
}

.feature-card--post {
  display: grid;
  grid-template-columns: minmax(280px, var(--media-max)) minmax(0, 1fr);
  align-items: center;
  gap: var(--card-gap);
}

.feature-card__media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
}

.feature-card__media svg {
  max-width: var(--svg-max);
  height: auto;
  display: block;
}

.feature-card__content {
  max-width: var(--content-max);
}

.feature-card__content h3 {
  margin: 0 0 12px 0;
  line-height: 1.2;
}

.feature-card__content p {
  margin: 0;
}

.feature-card-premium {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 12px 32px rgba(12, 42, 64, 0.08);
  display: grid;
  grid-template-columns: minmax(320px, 420px) minmax(0, 1fr);
  align-items: center;
  gap: 48px;
  padding: 48px 48px;
  max-width: 1100px;
  margin: 0 auto 3rem auto;
}
.feature-card-premium:not(:last-of-type) {
  margin-bottom: 3rem;
}
.feature-card-premium__media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 260px;
}
.feature-card-premium__img-wrap {
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: 420px;
  min-width: 320px;
}
.feature-card-premium__img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  max-height: 340px;
  border-radius: 16px;
  box-shadow: 0 4px 24px #3E607533;
  object-fit: contain;
  position: relative;
  z-index: 1;
  background: none;
}
.feature-card-premium__img-overlay {
  pointer-events: none;
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(62,96,117,0.30) 60%, rgba(62,96,117,0.16) 100%), rgba(62,96,117,0.28);
  transition: opacity 0.3s cubic-bezier(.23,1.01,.32,1);
  opacity: 1;
  z-index: 2;
  /* outline: 2px solid red; */
}
.feature-card-premium__img-wrap:hover .feature-card-premium__img-overlay {
  opacity: 0.7;
}
.feature-card-premium__media svg {
  width: 100%;
  max-width: 420px;
  min-width: 320px;
  height: auto;
  display: block;
  transition: transform 0.3s cubic-bezier(.23,1.01,.32,1), filter 0.3s cubic-bezier(.23,1.01,.32,1);
}
.feature-card-premium__media svg:hover {
  transform: scale(1.04) rotate(-2deg);
  filter: drop-shadow(0 4px 24px #3E607577);
}
.feature-card-premium__content {
  max-width: 520px;
}
.feature-card-premium__content h2 {
  margin: 0 0 12px 0;
  line-height: 1.2;
  font-size: 2rem;
  color: #3E6075;
}
.feature-card-premium__content p {
  margin: 0;
  color: #3E6075;
  font-size: 1.1rem;
}
.feature-card-premium__media,
.feature-card-premium__content {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(.23,1.01,.32,1), transform 0.8s cubic-bezier(.23,1.01,.32,1);
}
.feature-card-premium.in-view .feature-card-premium__media {
  opacity: 1;
  transform: translateX(0);
  animation: fadeInLeft 0.9s cubic-bezier(.23,1.01,.32,1) both;
}
.feature-card-premium.in-view .feature-card-premium__content {
  opacity: 1;
  transform: translateX(0);
  animation: fadeInRight 0.9s cubic-bezier(.23,1.01,.32,1) both;
}
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-60px); }
  to { opacity: 1; transform: none; }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(60px); }
  to { opacity: 1; transform: none; }
}
@media (max-width: 900px) {
  .feature-card-premium {
    grid-template-columns: 1fr;
    text-align: left;
    padding: 32px 16px;
  }
  .feature-card-premium__media {
    min-height: 180px;
  }
  .feature-card-premium__media svg {
    max-width: 280px;
    min-width: 180px;
    margin: 0 auto;
  }
  .feature-card-premium__content {
    max-width: 100%;
  }
}
@media (max-width: 768px) {
  .feature-card__media svg {
    max-width: 140px;
  }
} 

.feature-card-premium__img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  max-height: 340px;
  border-radius: 16px;
  box-shadow: 0 4px 24px #3E607533;
  background: #E9EFF3;
  object-fit: contain;
}
@media (max-width: 900px) {
  .feature-card-premium__img {
    max-width: 90vw;
    max-height: 220px;
  }
} 

#rotating-word {
  display: inline-block;
  vertical-align: baseline;
  white-space: nowrap;
  transition: color 0.2s;
  position: relative;
}
#rotating-word.fade {
  opacity: 0;
  transition: opacity 0.3s;
} 

.closing-cta {
  background: #f3f7fa;
  text-align: center;
  padding: 3.5rem 1rem 3.5rem 1rem;
  border-radius: 1.5rem;
  max-width: 700px;
  margin: 4rem auto 2rem auto;
  box-shadow: 0 2px 24px #3E607511;
}
.closing-cta__content h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #3E6075;
}
.closing-cta__content p {
  font-size: 1.15rem;
  color: #617784;
  margin-bottom: 2rem;
}
.closing-cta__btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #FFC83D 60%, #ffe066 100%);
  color: #3E6075;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  box-shadow: 0 2px 12px rgba(250,204,21,0.10);
  transition: background 0.2s, transform 0.1s;
}
.closing-cta__btn:hover {
  background: #ffe066;
  transform: translateY(-2px) scale(1.04);
}
@media (max-width: 700px) {
  .closing-cta {
    padding: 2rem 0.5rem 2rem 0.5rem;
    border-radius: 1rem;
  }
  .closing-cta__content h2 {
    font-size: 1.3rem;
  }
} 

.signup-form-row {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  align-items: center;
}
.signup-form-row input[type="email"] {
  padding: 0.75rem 1rem;
  border-radius: 999px;
  border: none;
  font-size: 1rem;
  width: 340px;
  max-width: 500px;
  flex: 1 1 340px;
  outline: none;
  box-shadow: 0 2px 8px rgba(74,100,114,0.08);
  transition: box-shadow 0.2s;
}
.signup-form-row input[type="email"]:focus {
  box-shadow: 0 4px 16px rgba(74,100,114,0.18);
  outline: 2px solid #FACC15;
}
.signup-form-row button {
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  border: none;
  background: linear-gradient(90deg, #FACC15 60%, #ffe066 100%);
  color: #4A6472;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(250,204,21,0.12);
  transition: background 0.2s, transform 0.1s;
}
.signup-form-row button:hover {
  background: linear-gradient(90deg, #ffe066 60%, #FACC15 100%);
  transform: translateY(-2px) scale(1.04);
}
#signup-status {
  display: block;
  margin: 0.75rem auto 0 auto;
  text-align: center;
  min-height: 2.8em;
  color: #3E6075;
  font-weight: 600;
  opacity: 1;
  transition: opacity 0.5s;
}
#signup-status:empty {
  color: transparent;
}
.show-signup-status {
  opacity: 1;
}
.fade-out-signup-status {
  opacity: 0;
}
@media (max-width: 700px) {
  .signup-form-row {
    flex-direction: column;
    gap: 0.6rem;
    align-items: stretch;
    width: 100%;
  }
  .signup-form-row input[type="email"] {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: 3rem !important;
    border-radius: 12px !important;
    font-size: 1rem;
    padding: 0.9rem 1rem !important;
    box-sizing: border-box;
    flex: none !important;
  }
  .signup-form-row button {
    max-width: 100%;
    width: 100%;
    min-width: 0;
    margin-top: 0.5rem;
    padding: 1rem 0;
    font-size: 1rem;
  }
} 

.hero-content, .hero h1, .hero h1 *, .hero .rotating-headline-row, .hero #rotating-word {
  color: #fff !important;
} 