/* =========================
   NAVIGATION
========================= */

header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 247, 243, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(18, 41, 84, 0.08);
}

nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: "Playfair Display", serif;
  font-size: 1.4rem;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.logo span {
  color: var(--gold);
}

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

.nav-links a {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.nav-links a:hover {
  color: var(--navy-light);
}

.nav-button {
  padding: 9px 16px;
  color: white !important;
  background: var(--navy);
}

/* =========================
   HERO
========================= */

.hero {
  background: var(--navy);
  color: white;
  min-height: 680px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: center;
  padding: 90px 0;
}

.hero-label {
  color: #d8c08f;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
}

.hero h1 {
  margin: 18px 0 25px;
  font-family: "Playfair Display", serif;
  font-size: clamp(3.6rem, 7vw, 6.5rem);
  font-weight: 400;
  line-height: 0.98;
}

.hero h1 em {
  color: #d8c08f;
  font-style: italic;
}

.hero p {
  max-width: 480px;
  color: #cbd4e4;
  font-size: 0.95rem;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.button {
  display: inline-block;
  padding: 13px 23px;
  font-size: 0.67rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  border: 1px solid white;
}

.button-primary {
  color: var(--navy);
  background: white;
  border-color: white;
}

.button-outline {
  color: white;
  background: transparent;
}

.hero-note {
  margin-top: 20px;
  color: #aebbd0;
  font-size: 0.68rem;
}

/* Website preview */

.browser {
  background: white;
  padding: 10px;
  box-shadow: 0 35px 70px rgba(0, 0, 0, 0.25);
  transform: rotate(1deg);
}

.browser-bar {
  height: 28px;
  display: flex;
  align-items: center;
  gap: 5px;
  padding-left: 8px;
  border-bottom: 1px solid #e8e8e8;
}

.browser-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #c9c9c9;
}

.website-preview {
  min-height: 500px;
  background:
    linear-gradient(
      rgba(18, 41, 84, 0.45),
      rgba(18, 41, 84, 0.6)
    ),
    url("../img/preview.jpg?auto=format&fit=crop&w=1200&q=85")
    center / cover;

  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.preview-content {
  color: white;
  padding: 30px;
}

.preview-small {
  font-size: 0.55rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.preview-content h2 {
  margin: 15px 0;
  font-family: "Playfair Display", serif;
  font-size: 3.8rem;
  font-weight: 400;
  line-height: 1;
}

.preview-content h2 span {
  display: block;
  color: #d8c08f;
  font-style: italic;
  font-size: 0.65em;
}

.preview-date {
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.preview-rsvp {
  display: inline-block;
  margin-top: 25px;
  padding: 9px 17px;
  background: white;
  color: var(--navy);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* =========================
   INTRO
========================= */

.intro {
  padding: 100px 0;
  text-align: center;
  background: var(--white);
}

.section-label {
  color: var(--gold);
  font-size: 0.66rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.intro h2 {
  max-width: 700px;
  margin: 12px auto 20px;
  font-family: "Playfair Display", serif;
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--navy);
}

.intro p {
  max-width: 650px;
  margin: auto;
  color: var(--muted);
  font-size: 0.9rem;
}

/* =========================
   FEATURES
========================= */

.features {
  padding: 100px 0;
  background: var(--cream);
}

.section-heading {
  text-align: center;
  margin-bottom: 55px;
}

.section-heading h2 {
  margin-top: 10px;
  font-family: "Playfair Display", serif;
  font-size: 3.4rem;
  font-weight: 400;
  color: var(--navy);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature {
  padding: 32px;
  background: white;
  border: 1px solid var(--border);
}

.feature-number {
  color: var(--gold);
  font-family: "Playfair Display", serif;
  font-size: 1.4rem;
}

.feature h3 {
  margin: 12px 0 8px;
  font-family: "Playfair Display", serif;
  font-size: 1.45rem;
  font-weight: 500;
  color: var(--navy);
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
}

/* =========================
   SHOWCASE
========================= */

.showcase {
  padding: 100px 0;
  background: var(--navy);
  color: white;
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.showcase h2 {
  margin: 12px 0 20px;
  font-family: "Playfair Display", serif;
  font-size: 3.8rem;
  font-weight: 400;
  line-height: 1.05;
}

.showcase h2 em {
  color: #d8c08f;
}

.showcase p {
  color: #cbd4e4;
  font-size: 0.85rem;
}

.showcase-list {
  list-style: none;
  padding: 0;
  margin: 28px 0;
}

.showcase-list li {
  margin: 10px 0;
  color: #e2e7ef;
  font-size: 0.76rem;
}

.showcase-list li::before {
  content: "✓";
  margin-right: 10px;
  color: #d8c08f;
}

.phone {
  width: min(300px, 100%);
  margin: auto;
  padding: 9px;
  border-radius: 28px;
  background: #091a39;
  box-shadow: 0 25px 60px rgba(0,0,0,.3);
}

.phone-screen {
  height: 540px;
  overflow: hidden;
  border-radius: 21px;
  background:
    linear-gradient(
      rgba(18, 41, 84, .2),
      rgba(18, 41, 84, .7)
    ),
    url("../img/phone-screen.jpg?auto=format&fit=crop&w=800&q=85")
    center / cover;

  display: flex;
  align-items: end;
  justify-content: center;
  text-align: center;
}

.phone-content {
  width: 100%;
  padding: 35px 20px;
  color: white;
  background: linear-gradient(transparent, rgba(5,15,35,.9));
}

.phone-content h3 {
  font-family: "Playfair Display", serif;
  font-size: 2.6rem;
  font-weight: 400;
  line-height: .95;
}

.phone-content span {
  display: block;
  margin-top: 10px;
  font-size: .52rem;
  letter-spacing: .18em;
  text-transform: uppercase;
}

/* =========================
   PROCESS
========================= */

.process {
  padding: 100px 0;
  background: var(--white);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.step {
  text-align: center;
  padding: 30px;
}

.step-number {
  width: 50px;
  height: 50px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  font-family: "Playfair Display", serif;
}

.step h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  color: var(--navy);
}

.step p {
  color: var(--muted);
  font-size: .76rem;
}

/* =========================
   CTA
========================= */

.cta {
  padding: 100px 0;
  background: #e5edf0;
  text-align: center;
}

.cta h2 {
  margin: 10px 0 15px;
  font-family: "Playfair Display", serif;
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 400;
  color: var(--navy);
  line-height: 1;
}

.cta p {
  max-width: 560px;
  margin: auto;
  color: var(--muted);
  font-size: .85rem;
}

.cta .button {
  margin-top: 28px;
}

/* =========================
   FOOTER
========================= */

footer {
  padding: 40px 0;
  text-align: center;
  background: var(--navy-dark);
  color: white;
}

footer .brand {
  font-family: "Playfair Display", serif;
  font-size: 1.7rem;
}

footer p {
  margin: 5px 0 0;
  color: #9eabc0;
  font-size: .6rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 850px) {

  .nav-links {
    display: none;
  }

  .hero-grid,
  .showcase-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    padding: 70px 0;
  }

  .browser {
    transform: none;
  }

  .feature-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .section-heading h2,
  .showcase h2 {
    font-size: 3rem;
  }

  .website-preview {
    min-height: 430px;
  }
}

@media (max-width: 500px) {

  .hero h1 {
    font-size: 4rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    text-align: center;
  }

  .preview-content h2 {
    font-size: 3rem;
  }
}

/* =========================
   DEMOS
========================= */
.demos-section {
  background: var(--cream);
  padding: 100px 0;
}

.demo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.demo-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(18, 41, 84, .06);
}

.demo-image {
  height: 300px;
  background-position: center;
  background-size: cover;
  position: relative;
}

.demo-one {
  background-image:
    url("../img/envelope/gallery/3.jpg?auto=format&fit=crop&w=800&q=85");
}

.demo-two {
  background-image:
    url("../img/envelope/story/1.jpg?auto=format&fit=crop&w=800&q=85");
}

.demo-three {
  background-image:
    url("https://images.unsplash.com/photo-1606800052052-a08af7148866?auto=format&fit=crop&w=800&q=85");
}

.demo-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.94);
  color: var(--navy);
  font-size: 11px;
  font-weight: 600;
}

.demo-content {
  padding: 25px;
}

.demo-content h3 {
  font-size: 25px;
  margin-bottom: 8px;
}

.demo-content p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 20px;
}

.demo-link {
  color: var(--navy);
  font-size: 14px;
  font-weight: 600;
}

.demo-link:hover {
  color: var(--gold);
}

/* =========================
   PRICING
========================= */
#pricing {
  padding: 100px 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.price-card {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 34px 30px;
  background: #fff;
  display: flex;
  flex-direction: column;
}

.price-card.featured {
  border: 2px solid var(--navy);
  box-shadow: 0 18px 45px rgba(18, 41, 84, .12);
}

.popular {
  position: absolute;
  top: -13px;
  left: 24px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 600;
}

.price-card h3 {
  font-size: 27px;
  margin-bottom: 8px;
}

.price-description {
  color: var(--muted);
  font-size: 14px;
  min-height: 48px;
  margin-bottom: 20px;
}

.price {
  color: var(--navy);
  font-size: 25px;
  font-weight: 600;
  margin-bottom: 22px;
}

.price small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
}

.price-features {
  list-style: none;
  margin-bottom: 28px;
  flex: 1;
}

.price-features li {
  position: relative;
  padding: 8px 0 8px 23px;
  font-size: 14px;
  border-bottom: 1px solid #eef0f3;
}

.price-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

.price-card .btn {
  width: 100%;
}

.pricing-note {
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  margin-top: 25px;
}

@media (max-width: 850px) {
  .demo-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Footer Social Media Bar Styles --- */
.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;            /* Adds clear breathing room between each logo icon */
  margin-top: 20px;     /* Spaces the icon row below the copyright paragraph text */
}

.social-links a {
  font-size: 1.3rem;    /* Makes the icons perfectly viewable and clickable */
  color: var(--muted);  /* Uses your template's muted charcoal gray default */
  transition: color 0.3s ease; /* Enables a smooth color change animation */
}

/* Changes the logo colors cleanly to match your gold theme accent upon cursor hover */
.social-links a:hover {
  color: var(--gold);
}

