:root {
  --accent:       #c6f135;
  --accent-dark:  #aed124;
  --accent-light: #edfb9f;
  --text:         #1a1a1a;
  --muted:        #6b7280;
  --border:       #e5e7eb;
  --bg:           #ffffff;
  --card:         #f9fafb;
  --card-hover:   #f1f5e8;
  --font-head:    'Cormorant Garant', serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: #dce3ed;
  position: relative;
}

/* ── Nav ── */
nav {
  position: fixed;
  top: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4rem;
  height: 70px;
  width: calc(100% - 3rem);
  max-width: 1300px;
  background: rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

/* ── Logo ── */
.logo {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  color: var(--text);
}

.logo-img {
  width: 34px;
  height: 34px;
}

.logo-text {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.logo-text strong {
  color: var(--accent-dark);
  font-weight: 700;
}

.logo:hover .logo-img { border-color: var(--accent-dark); }
.logo:hover .logo-text { opacity: 0.8; }

/* ── Nav links ── */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: #000000;
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--accent-dark); }

/* ── Nav CTA ── */
.nav-cta {
  background: var(--accent);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 0.88rem;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}

.nav-cta:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

/* ── Hero ── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 12rem 2.5rem 8rem;
  background: linear-gradient(
    to bottom,
    #4a5568 0%,
    #4f5c70 20%,
    #566475 35%,
    #6a7a8e 50%,
    #7d8fa0 60%,
    #96a5b4 70%,
    #aebcc8 78%,
    #c4cfd8 85%,
    #d4dce4 91%,
    #dce3ed 100%
  );
}

/* Hero grain */
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 180px 180px;
  z-index: 1;
}


#plus-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

.hero-inner {
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 3;
  text-align: center;
}

#hero h1 {
  font-family: 'Cormorant Garant', serif;
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: #1a1a1a;
  margin-bottom: 1.5rem;
}

#hero h1 span { color: var(--accent); }

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: #1a1a1a;
  max-width: 500px;
  margin: 0 auto 2.5rem;
  font-weight: 300;

}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  position: absolute;
  bottom: 12rem;
  left: 0;
  right: 0;
  padding: 2rem 2.5rem 0;
  width: 100%;
  border-top: none;
}

.hero-stat {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
}

.stat-number {
  font-family: 'Cormorant Garant', serif;
  font-size: 2rem;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1;
}

.stat-label {
  font-size: 0.78rem;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.5);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(0, 0, 0, 0.15);
}
 
/* ── services ── */
#services {
  background: linear-gradient(to bottom, #dce3ed, #c4cfd8);
  padding: 2rem 2.5rem 7rem;
  position: relative;
  overflow: hidden;
  z-index: 2;
  margin-top: -2px;
  scroll-margin-top: 100px;
}


.services-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.services-header {
  margin-bottom: 5rem;
  text-align: center;
}

.services-header h2 {
  font-family: 'Cormorant Garant', serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--text);
}

.services-header h2 span {
  color: var(--accent-dark);
}

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

.service-card {
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 16px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: background 0.2s, transform 0.2s;
  backdrop-filter: blur(6px);
  position: relative;
  min-height: 340px;
}

.service-card:hover {
  background: rgba(255, 255, 255, 0.7);
  transform: translateY(-4px);
}

.service-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.service-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
}

.card-icon {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-shrink: 0;
}

.service-card p {
  font-size: 1.05rem;
  color: #1a1a1a;
  line-height: 1.9;
  flex: 1;
}

.card-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--accent-dark);
  text-decoration: none;
  transition: opacity 0.2s;
  margin-top: auto;
}

.card-link:hover { opacity: 0.75; }

/* ── Laptop icon ── */
.icon-laptop {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 36px;
}

.laptop-screen {
  width: 36px;
  height: 24px;
  border: 2px solid #1a1a1a;
  border-radius: 3px 3px 0 0;
  padding: 2px;
}

.laptop-screen-inner {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #dce3ed 0%, #c4cfd8 100%);
  border-radius: 1px;
}

.laptop-base {
  width: 40px;
  height: 2px;
  background: #1a1a1a;
}

.laptop-bottom {
  width: 48px;
  height: 3px;
  background: #1a1a1a;
  border-radius: 0 0 3px 3px;
  margin-top: 1px;
}

/* ── Code icon ── */
.code-left {
  font-family: 'DM Sans', monospace;
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a1a;
  letter-spacing: -0.02em;
  border: 1.5px solid #1a1a1a;
  border-radius: 6px;
  padding: 3px 6px;
  display: inline-block;
}

/* ── How It Works ── */
#how-it-works {
  background: linear-gradient(to bottom, #c4cfd8, #aebcc8);
  padding: 3rem 2.5rem 7rem;
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.how-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.how-header {
  margin-bottom: 4rem;
  text-align: center;
}

.how-header .section-label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-dark);
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.how-header h2 {
  font-family: 'Cormorant Garant', serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--text);
}

.how-header h2 span {
  color: var(--accent-dark);
}

.how-content {
  display: flex;
  gap: 5rem;
  align-items: flex-start;
}

.how-photo {
  flex: 0 0 420px;
  position: relative;
  z-index: 9998;
}

.how-img-wrap {
  position: relative;
  z-index: 51;
  border-radius: 20px;
  overflow: hidden;
  transform: translateZ(0);
}

.how-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.how-photo-caption {
  font-size: 0.82rem;
  color: var(--muted);
  font-style: italic;
  margin-top: 0.85rem;
  padding: 0 0.25rem;
}

.how-steps {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  justify-content: center;
}

.how-step {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 1rem 2rem;
  border-radius: 16px;
  transition: background 0.2s;
  cursor: default;
}

.how-step:hover {
  background: rgba(255, 255, 255, 0.4);
}

.step-number {
  font-family: 'Cormorant Garant', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: rgba(174, 209, 36, 0.35);
  border: 1.5px solid rgba(174, 209, 36, 0.5);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(45deg);
}

.step-number span {
  transform: rotate(-45deg);
  display: block;
}

.step-content h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.step-content p {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.8;
}

/* Services grain */
#services::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 180px 180px;
  /* fade out at the bottom */
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.35) 70%, rgba(0,0,0,0) 100%);
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.35) 70%, rgba(0,0,0,0) 100%);
  z-index: 0;
}

.how-photo-caption span {
  color: var(--accent-dark);
  font-size: 1.1rem;
  margin-left: 0.4rem;
}

/* ── Meet the Dev ── */
#about {
  background: linear-gradient(to bottom, #aebcc8, #96a5b4);
  padding: 8rem 2.5rem;
  position: relative;
  z-index: 2;
  scroll-margin-top: 0px;
}

.about-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 6rem;
}

/* Left text */
.about-text {
  flex: 1;
}

.about-text .section-label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-dark);
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.about-text h2 {
  font-family: 'Cormorant Garant', serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 3rem;
}

.about-text h2 span {
  color: var(--accent-dark);
}

.about-bio {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.9;
  margin-bottom: 1.25rem;
}

.about-tagline {
  font-family: 'Cormorant Garant', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  font-style: italic;
  margin-top: 1.5rem;
  border-left: 3px solid var(--accent-dark);
  padding-left: 1rem;
}

/* Right photo */
.about-photo {
  flex: 0 0 400px;
  padding-top: 1rem;
}

.mobile-tagline {
  display: none !important;
}

.about-img-wrap {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  z-index: 51;
  display: block;
  width: 100%;
}

.about-img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  display: block;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* ── FAQ ── */
#faq {
  background: linear-gradient(to bottom, #96a5b4, #7d8fa0);
  padding: 1rem 2.5rem 7rem;
  position: relative;
  z-index: 2;
  scroll-margin-top: 0px;
}


.faq-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.faq-header {
  margin-bottom: 3.5rem;
  text-align: center;
}

.faq-header h2 {
  font-family: 'Cormorant Garant', serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #1a1a1a;
}

.faq-header h2 span {
  color: var(--accent);
}

/* ── Flip grid ── */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.flip-card {
  height: 160px;
  perspective: 1000px;
  cursor: pointer;
}

.flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s ease;
  transform-style: preserve-3d;
}

.flip-card.flipped .flip-inner {
  transform: rotateX(180deg);
}

.flip-front {
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 1.5rem 2rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  background: rgba(255, 255, 255, 0.15);
  border: 1.5px solid rgba(198, 241, 53, 0.4);
  backdrop-filter: blur(10px);
  gap: 1rem;
}


.flip-back {
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: rotateX(180deg);
  background: rgba(255, 255, 255, 0.2);
  border: 1.5px solid rgba(198, 241, 53, 0.6);
  backdrop-filter: blur(10px);
}

.flip-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  opacity: 1;
  position: static;
  transform: none;
}

.flip-front p {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #1a1a1a;
  line-height: 1.4;
}


.flip-back p {
  font-size: 0.9rem;
  color: #1a1a1a;
  line-height: 1.7;
}

.faq-cta {
  grid-column: 2;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.25rem 2rem;
  background: transparent;
  border: none;
  height: 160px;
  position: relative;
}

.faq-cta::before {
  content: '';
  position: absolute;
  left: -410px;
  top: 50%;
  width: 410px;
  height: 2px;
  background: rgba(198, 241, 53, 0.5);
}

.faq-cta::after {
  content: '';
  position: absolute;
  right: -410px;
  top: 50%;
  width: 410px;
  height: 2px;
  background: rgba(198, 241, 53, 0.5);
}


.faq-cta p {
  font-size: 1rem;
  color: #1a1a1a;
  font-weight: 300;
}

.faq-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent);
  color: #1a1a1a;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.7rem 1.5rem;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}

.faq-cta-link:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
}

.faq-cta-arrow {
  font-size: 1.1rem;
  animation: bounce 1.5s ease-in-out infinite;
}

/* ── Contact ── */

#contact {
  scroll-margin-top: 70px;
  background: linear-gradient(to bottom, #7d8fa0, #4a5568);
  padding: 5rem 2.5rem 7rem;
  position: relative;
  z-index: 2;
}

.contact-inner {
  max-width: 800px;
  margin: 0 auto;
}

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

.contact-header .section-label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1a1a1a;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.contact-header h2 {
  font-family: 'Cormorant Garant', serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #1a1a1a;
  margin-bottom: 2.5rem;
}

.contact-header h2 span {
  color: var(--accent);
}

.contact-sub {
  font-size: 1rem;
  color: #1a1a1a;
  font-weight: 300;
}

/* ── Form ── */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

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

.form-group label {
  font-size: 0.85rem;
  font-weight: 500;
  color: #1a1a1a;
  letter-spacing: 0.02em;
}

.form-group input,
.form-group textarea {
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 0.85rem 1.25rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  color: #1a1a1a;
  transition: border-color 0.2s, background 0.2s;
  outline: none;
  width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #4a5568;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(198, 241, 53, 0.6);
  background: rgba(255, 255, 255, 0.15);
}

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

/* ── Checkboxes ── */
.checkbox-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  gap: 0.75rem;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.12);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
   width: fit-content;
  padding: 0.5rem 1rem;
  transition: background 0.2s, border-color 0.2s;
  font-size: 0.88rem;
  color: #1a1a1a
}

.checkbox-label:has(input:checked) {
  background: rgba(198, 241, 53, 0.25);
  border-color: var(--accent);
  color: var(--accent);
}

.checkbox-label input {
  display: none;
}

/* ── Submit ── */
.submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent);
  color: #1a1a1a;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 1rem 2.5rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  align-self: center;
  position: relative;
  margin: 1rem auto 0;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.submit-btn::before {
  content: '';
  position: absolute;
   right: calc(100% + 4rem);
  top: 50%;
  transform: translateY(-50%);
  width: 200px;
  height: 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 250 20'%3E%3Cpath d='M0,10 C30,0 60,20 90,10 C120,0 150,20 180,10 C210,0 230,20 250,10' fill='none' stroke='rgba(198,241,53,0.5)' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.submit-btn::after {
  content: '';
  position: absolute;
   left: calc(100% + 4rem);
  top: 50%;
  transform: translateY(-50%);
  width: 200px;
  height: 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 250 20'%3E%3Cpath d='M0,10 C30,0 60,20 90,10 C120,0 150,20 180,10 C210,0 230,20 250,10' fill='none' stroke='rgba(198,241,53,0.5)' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.submit-btn:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
}

/* ── Popup ── */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(6px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.popup-overlay.visible {
  opacity: 1;
  pointer-events: all;
}

.popup-box {
  background: #dce3ed;
  border: 1.5px solid rgba(198, 241, 53, 0.4);
  border-radius: 20px;
  padding: 3rem 2.5rem;
  text-align: center;
  max-width: 400px;
  width: 90%;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.popup-overlay.visible .popup-box {
  transform: translateY(0);
}

.popup-icon {
  font-size: 3rem;
  color: var(--accent-dark);
  margin-bottom: 1rem;
  font-weight: 700;
}

.popup-box h3 {
  font-family: 'Cormorant Garant', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.popup-box p {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.popup-close {
  background: var(--accent);
  color: #1a1a1a;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.75rem 2rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.popup-close:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
}

.field-error {
  font-size: 0.8rem;
  color: #ff6b6b;
  margin-top: 0.25rem;
  display: block;
}

#services,
#how-it-works,
#about,
#faq,
#contact {
  margin-top: -1px;
}

/* ── Footer ── */
footer {
  background: linear-gradient(to bottom, #4a5568 0%, #3d4a58 100%);
  padding: 3rem 2.5rem;
  position: relative;
  z-index: 2;
  margin-top: -1px;
}

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

.footer-copy {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
}

.other-input {
  margin-top: 0.75rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 0.85rem 1.25rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  color: #ffffff;
  width: 100%;
  outline: none;
  transition: border-color 0.2s;
}

.other-input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.other-input:focus {
  border-color: rgba(198, 241, 53, 0.6);
}

.footer-tagline {
  font-family: 'Cormorant Garant', serif;
  font-size: 1rem;
  font-weight: 400;
  font-style: italic;
  color: rgba(255, 255, 255, 0.5);
}

.hamburger {
  display: none;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: linear-gradient(to bottom, #4a5568, #6a7a8e);
  z-index: 9997;
  transition: opacity 0.3s ease, transform 0.3s ease;
  padding: 8rem 2rem 3rem;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  height: 100%;
  justify-content: flex-start;
}

.mobile-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-cta {
  display: inline-flex !important;
  width: 100%;
  justify-content: center;
  padding: 1.25rem 2rem;
  font-size: 1.1rem;
  margin-top: 2rem;
  border-radius: 999px;
  background: var(--accent);
  color: #1a1a1a;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  text-decoration: none;
}

.mobile-menu ul a {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #1a1a1a;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: background 0.2s, border-color 0.2s;
}

.mobile-menu ul a::after {
  content: '›';
  font-size: 3rem;
  color: var(--accent-dark);
  line-height: 1;
}

.mobile-menu ul a:hover {
  background: rgba(0, 0, 0, 0.15);
  border-color: rgba(198, 241, 53, 0.5);
}

.mobile-tagline {
  display: none;
}

/* ── Mobile ── */
@media (max-width: 768px) {

  #cursor-glow {
  display: none !important;
}

#trail-canvas {
  display: none !important;
}

#services,
#how-it-works,
#about,
#faq,
#contact {
  margin-top: -1px;
}

  nav {
    padding: 0 1.5rem;
    width: calc(100% - 2rem);
  }

  .nav-links {
    display: none;
  }

  .nav-cta {
    display: none;
  }

  .hamburger {
    display: flex !important;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 10000;
    position: relative;
  }

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

  .hamburger.open span:nth-child(2) {
    opacity: 0;
  }

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

#hero {
   padding: 8.5rem 1.5rem 2rem;
}

#hero h1 {
  font-size: 2.8rem;
  margin-bottom: 2rem;
}

.hero-sub {
  font-size: 1rem;
  margin-bottom: 0;
}

.hero-stats {
  position: absolute;
  bottom: 30%;
  left: 0;
  right: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0 1.5rem;
}


.stat-number {
  font-size: 2.8rem;
}

.stat-label {
  font-size: 1.1rem;
}

.stat-divider {
  width: 2px;
  height: 40px;
  background: rgba(0, 0, 0, 0.18);
  margin: 0.5rem auto;
}

 

  #services {
    padding: 5rem 1.5rem 4rem;
    scroll-margin-top: 50px;
  }

  .services-header {
  margin-bottom: 3.5rem;
}

  .services-header h2 {
  font-size: 2rem;
}

.service-card h3 {
  font-size: 1.1rem;
}

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

  #how-it-works {
    padding: 6rem 1.5rem 4rem;
  }

  .how-header {
  margin-bottom: 3.5rem;
}

.how-header h2 {
  font-size: 2rem;
}

  .how-content {
    flex-direction: column;
    gap: 2rem;
  }

  .how-photo {
    flex: 0 0 auto;
    width: 100%;
  }

  .how-img {
    height: 380px;
  }

  .how-step {
  background: rgba(255, 255, 255, 0.25);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

  .how-steps {
  margin-top: 3.5rem;
}

#about {
  scroll-margin-top: 63px;
  padding: 4rem 1.5rem;
}

  .about-text {
  text-align: center;
}

.about-img {
  height: 280px;
}

.mobile-tagline {
  display: block !important;
  margin-top: 1.5rem;
}

.about-tagline {
  text-align: left;
  font-size: 1.2rem;
}

  .about-text h2 {
  font-size: 2rem;
} 

.mobile-tagline {
  display: block;
  margin-top: 1.5rem;
}

.about-tagline:not(.mobile-tagline) {
  display: none;
}

.about-photo {
  flex: 0 0 auto;
  width: 100%;
  padding-top: 0;
  margin-top: 1.5rem;
}

.about-img-wrap {
  width: 100%;
  display: block;
}

.about-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

  .about-inner {
  flex-direction: column;
  gap: 0.6rem;
}

 

  #faq {
    padding: 4.25rem 1.5rem 4rem;
  }

  .faq-header {
    font-size: 1.8rem;
  margin-bottom: 2.5rem;
}

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

  .flip-card {
  height: 180px;
}

  .flip-front p {
  font-size: 0.85rem;
}

.flip-back p {
  font-size: 0.75rem;
}

.mobile-hide {
  display: none;
}

.faq-cta {
  grid-column: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: auto;
  padding: 1rem 1.5rem;
  gap: 1.5rem;
}

  .faq-cta::before,
  .faq-cta::after {
    display: none;
  }

  #contact {
    padding: 3rem 1.5rem 4rem;
  }

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

  .submit-btn::before,
  .submit-btn::after {
    display: none;
  }

  .checkbox-group {
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
}

.checkbox-label {
  padding: 0.4rem 0.85rem;
  font-size: 0.8rem;
}


  .footer-inner {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }
}



@media (max-width: 480px) {
  #hero h1 {
    font-size: 2.2rem;
  }

  .hero-stats {
    gap: 0.75rem;
  }

  .stat-number {
    font-size: 1.5rem;
  }

  #hero {
  padding: 7.5rem 1.5rem 2rem;
}

.hero-stats {
  bottom: 15%;
}

  .service-card {
    min-height: auto;
  }

  .service-card h3 {
  font-size: 1rem;
}

  .about-tagline {
  font-size: 0.9rem;
}

  .flip-card {
    height: 120px;
  }
}


.checkbox-label {
  padding: 0.4rem 0.75rem;
  font-size: 0.78rem;
  justify-content: center;
}

@media (min-width: 376px) and (max-width: 480px) {

    #hero {
    padding: 9rem 1.5rem 2rem;
  }

  .hero-stats {
    bottom: 25%;
  }
}

@media (min-width: 640px) and (max-width: 768px) {
  .how-img {
    height: 500px;
    object-position: center 35%;
  }

  .about-img {
    height: 500px;
  }
}

  .how-img {
    height: 380px;
    object-position: center 20%;
  }

  .about-img {
    height: 380px;
  }

  /* Service cards less tall */
  .service-card {
    min-height: 250px;
  }

  /* How it works caption centered */
  .how-photo-caption {
    text-align: center;
  }

  /* Meet the dev tagline centered with green borders */
  .about-tagline {
    text-align: center;
    border-left: 3px solid var(--accent-dark);
    border-right: 3px solid var(--accent-dark);
    border-top: none;
    border-bottom: none;
    padding: 0 1rem;
    display: inline-block;
  }

  /* FAQ less wide */
  .faq-inner {
    max-width: 90%;
  }

  /* Checkbox buttons smaller */
  .checkbox-label {
    padding: 0.3rem 0.65rem;
    font-size: 0.78rem;
  }


/* ── Tablet ── */
@media (min-width: 769px) and (max-width: 1024px) {

  #cursor-glow {
  display: none !important;
}

#trail-canvas {
  display: none !important;
}

#services,
#how-it-works,
#about,
#faq,
#contact {
  margin-top: -1px;
}

 
  nav {
  padding: 0 2rem;
  width: calc(100% - 3rem);
  left: 50%;
  transform: translateX(-50%);
}

#hero {
  padding: 11rem 2.5rem 16rem;
}

.hero-stats {
  position: absolute;
  bottom: 8rem;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

#hero h1 {
  font-size: 4.75rem;
  margin-bottom: 2rem;
}

.hero-sub {
  font-size: 1.5rem;
}

.stat-number {
  font-size: 3rem;
}

.stat-label {
  font-size: 1.3rem;
}

.hero-stats {
  bottom: 15rem;
}

.stat-divider {
  width: 2px;
  height: 35px;
  background: rgba(0, 0, 0, 0.18);
  margin: 0;
}

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

.service-card {
  min-height: 280px;
}

.how-content {
  flex-direction: column-reverse;
  gap: 2rem;
}


.how-photo {
  flex: 0 0 auto;
  width: 100%;
  margin-top: 2rem;
}

.how-photo-caption {
  text-align: center;
  font-size: 1rem;
  font-weight: 600;
}

.how-img {
  height: 500px;
  object-position: center 35%;
}

.how-step {
  background: rgba(255, 255, 255, 0.25);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.how-steps {
  width: 100%;
}

.about-inner {
  flex-direction: column;
  gap: 2rem;
}

.about-photo {
  flex: 0 0 auto;
  width: 100%;
  margin-top: 2rem;
}


.about-tagline {
  text-align: center;
  border-left: 3px solid var(--accent-dark);
  border-right: 3px solid var(--accent-dark);
  border-top: none;
  border-bottom: none;
  padding: 0 1rem;
  margin: 1.5rem auto;
  display: inline-block;
}

.mobile-tagline {
  display: none;
}

.about-text {
  text-align: center;
}

.about-img {
  height: 500px;
}

.about-tagline {
  text-align: left;
}

  .faq-grid {
    grid-template-columns: repeat(2, 1fr);
  }
.faq-cta {
  grid-column: 1 / -1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: auto;
  padding: 1.5rem;
  gap: 1rem;
}

.faq-cta p {
  font-size: 1.2rem;
  font-weight: 600;
}

.faq-cta::before,
.faq-cta::after {
  display: none;
}

  .how-photo {
    flex: 0 0 320px;
  }

  .about-photo {
    flex: 0 0 300px;
  }
}

.checkbox-label {
  padding: 0.4rem 0.85rem;
  font-size: 0.8rem;
}

.submit-btn::before {
  width: 150px;
  right: calc(100% + 0.5rem);
}

.submit-btn::after {
  width: 150px;
  left: calc(100% + 0.5rem);
}

.submit-btn::before {
  width: 150px;
  right: calc(100% + 0.5rem);
}

.submit-btn::after {
  width: 150px;
  left: calc(100% + 0.5rem);
}

html, body {
  overflow-x: hidden;
  max-width: 100%;
}

@media (min-width: 1025px) and (max-width: 1280px) {
  .faq-cta {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: auto;
    padding: 1.5rem;
    gap: 1rem;
  }

  .faq-cta::before,
  .faq-cta::after {
    display: none;
  }
}