*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* --ink: #0a0a0a;
  --paper: #f5f2ee;
  --gold: #b8933a;
  --gold-lt: #d4ac5a;
  --mist: #e8e4de;
  --grey: #888078;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "DM Sans", sans-serif; */


   --ink: #111827;
  --paper: #f6f6f6;
  --gold: #005bb5;
  --gold-lt: #d4ac5a;
  --mist: #f5f5f5;
  --grey: #111827;
  --textcolor: #111827;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "DM Sans", sans-serif;

  --primary-color: #2baaa9;
  --background-dark: #ffffff;
  --text-lightt: #132743;
  --text-faded: #000000;
  --nav-bar-dark: #1b2a49;
  --slide-x: 0;
}

html {
  scroll-behavior: smooth;
}
body {
  /* background: var(--paper);
  color: var(--ink);
  font-family: var(--sans); */
  font-weight: 300;
  overflow-x: hidden;
  /* cursor: none; */
}

/* CURSOR */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
}
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 36px;
  height: 36px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition:
    width 0.3s,
    height 0.3s,
    opacity 0.3s;
  opacity: 0.6;
}
.cursor-ring.expand {
  width: 60px;
  height: 60px;
  opacity: 0.3;
}

/* HERO BANNER */
.page-hero {
  position: relative;
  overflow: hidden;
  min-height: 480px;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.page-hero-left {
  background: var(--paper);
  padding: 80px 60px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}
.page-hero-left::after {
  content: "";
  position: absolute;
  right: -1px;
  top: 0;
  bottom: 0;
  width: 80px;
  background: linear-gradient(to right, var(--paper), transparent);
  z-index: 3;
}
.hero-eyebrow {
  font-size: 0.90rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.9s 0.2s forwards;
 
  color: var(--textcolor);
  
}
.page-hero-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.8rem, 4.5vw, 5rem);
  line-height: 1.06;
  color: var(--textcolor);
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.9s 0.4s forwards;
}
.page-hero-title em {
  font-style: italic;
  color: var(--gold);
}
.page-hero-sub {
  font-size: 1rem;
  line-height: 1.9;
  color:var(--textcolor);
  
  max-width: 420px;
  opacity: 0;
  animation: fadeUp 0.9s 0.6s forwards;
}
.page-hero-right {
  position: relative;
  overflow: hidden;
}
.page-hero-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(25%) brightness(0.7);
  transform: scale(1.06);
  animation: zoomOut 1.6s 0.1s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}
.page-hero-right::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--paper) 0%, transparent 40%);
}
.hero-badge {
  position: absolute;
  bottom: 36px;
  right: 36px;
  z-index: 5;
  border: 1px solid var(--primary-color);
  padding: 16px 24px;
  text-align: center;
}
.hero-badge-num {
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--gold);
  line-height: 1;
}
.hero-badge-label {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 4px;
}

/* SHARED */
.section-label {
  font-size: 1rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  background-color: var(--gold);
  color: white;
  margin-bottom: 16px;
  display: inline-block;

}
.section-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2rem, 3.2vw, 3.2rem);
  line-height: 1.1;
  color: var(--textcolor);
}
.section-title em {
  font-style: italic;
  color: var(--gold);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.8s cubic-bezier(0.23, 1, 0.32, 1),
    transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.d1 {
  transition-delay: 0.1s;
}
.d2 {
  transition-delay: 0.2s;
}
.d3 {
  transition-delay: 0.3s;
}
.d4 {
  transition-delay: 0.4s;
}
.d5 {
  transition-delay: 0.5s;
}

/* WHY SECTION */
.why {
  padding: 100px 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  border-bottom: 1px solid var(--mist);
}

.why-title {
  margin-bottom: 28px;
}
.why-desc {
  font-size: 1rem;
  line-height: 1.95;
  color: var(--textcolor);
  margin-bottom: 40px;
}
.why-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.pill {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 8px 18px;
  border: 1px solid var(--primary-color);
  color: var(--grey);
  transition:
    border-color 0.3s,
    color 0.3s,
    background 0.3s;
  cursor: default;
}
.pill:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(184, 147, 58, 0.04);
}
.why-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--mist);
  border: 1px solid var(--mist);
}
.why-stat {
  background: var(--paper);
  padding: 36px 28px;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}
.why-stat::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}
.why-stat:hover::before {
  transform: scaleX(1);
}
.why-stat:hover {
  background: #ffffff;
}
.ws-num {
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 300;
  line-height: 1;
  color: var(--ink);
  margin-bottom: 6px;
}
.ws-num span {
  color: var(--gold);
  font-style: italic;
  
}
.ws-label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--grey);
}

/* DEVELOPER ROLES */
.roles {
  padding: 100px 60px;
  background: var(--primary-color);
}
.roles .section-label {
  color: white;
}
.roles .section-title {
  color: var(--paper);
  margin-bottom: 64px;
}
.roles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--primary-color);
  border: 1px solid rgba(255, 255, 255, 0.07);
}
.role-card {
  background: var(--paper);
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  transition: background 0.4s;
  cursor: default;
}
.role-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gold);
  opacity: 0;
  transition: opacity 0.4s;
  z-index: 0;
}
.role-card:hover::after {
  opacity: 0.04;
}
.role-card:hover {
  background: #ffffff;
}
.role-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
  
}
.role-icon svg {
  width: 100%;
  height: 100%;
}
.role-name {
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--gold);
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
  letter-spacing: 0.02em;
}
.role-desc {
  font-size: 0.90rem;
  line-height: 1.85;
  color: var(--textcolor);
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}
.role-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  position: relative;
  z-index: 1;
}
.role-tag {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 10px;
  border: 1px solid var(--textcolor);
  color: var(--gold);
}
.role-card:hover .role-tag {
  /* border-color: rgba(184, 147, 58, 0.6); */
  background-color: white;
  color: var(--gold);
}

/* HOW IT WORKS */
.how {
  padding: 100px 60px;
  border-bottom: 1px solid var(--mist);
}
.how-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 72px;
  border-bottom: 1px solid var(--mist);
  padding-bottom: 32px;
}
.how-sub {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--grey);
  max-width: 320px;
  text-align: right;
}
.how-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.how-steps::before {
  content: "";
  position: absolute;
  top: 32px;
  left: calc(12.5%);
  right: calc(12.5%);
  height: 1px;
  background: linear-gradient(
    to right,
    var(--gold) 0%,
    rgba(184, 147, 58, 0.2) 100%
  );
}
.how-step {
  padding: 0 24px 0 0;
  text-align: center;
}
.step-circle {
  width: 64px;
  height: 64px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
  background: var(--paper);
  position: relative;
  z-index: 1;
  transition: background 0.3s;
}
.step-circle span {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--gold);
}
.how-step:hover .step-circle {
  background: var(--gold);
}
.how-step:hover .step-circle span {
  color: var(--ink);
}
.step-name {
  font-family: var(--serif);
  font-size: 1.15rem;
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}
.step-info {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--grey);
}

/* ENGAGEMENT MODELS */
.models {
  padding: 100px 60px;
  background: var(--paper);
}
.models-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 64px;
}
.model-card {
  background: var(--paper);
  padding: 52px 40px;
  border: 1px solid var(--mist);
  position: relative;
  overflow: hidden;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}
.model-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.08);
}
.model-card.featured {
  background: var(--primary-color);
  border-color: var(--paper);
}
.model-badge {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 0.70rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--paper);
  padding: 5px 12px;
}
.model-num {
  font-family: var(--serif);
  font-size: 0.90rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 20px;
}
.model-name {
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 300;
  margin-bottom: 6px;
  color: var(--ink);
}
.model-card.featured .model-name {
  color: var(--paper);
}
.model-tagline {
  font-size: 1rem;
  color: var(--gold);
  margin-bottom: 32px;
}
.model-card.featured .model-tagline {
  color: white;
}
.model-divider {
  height: 0.5px;
  background: var(--textcolor);
  margin-bottom: 28px;
}
.model-card.featured .model-divider {
  background: rgba(255, 255, 255, 0.1);
}
.model-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.model-features li {
  font-size: 0.90rem;
  color: var(--textcolor);
  padding-left: 20px;
  position: relative;
  line-height: 1.7;
}
.model-card.featured .model-features li {
  color:white;
}
.model-features li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.7rem;
}
.model-cta {
  display: inline-block;
  margin-top: 36px;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 13px 28px;
  text-decoration: none;
  transition:
    background 0.3s,
    color 0.3s;
}
.model-cta.dark {
  background: var(--primary-color);
  color: var(--textcolor);
}

.model-cta.light {
  background: var(--white);
  color: var(--ink);
}


/* TECH STACK */
.tech {
  padding: 100px 60px;
  border-bottom: 1px solid var(--mist);
}
.tech-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 64px;
}
.tech-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--mist);
  margin-bottom: 48px;
}
.tech-tab {
  font-size: 0.80rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 14px 28px;
  background: none;
  border: none;
  color: var(--grey);
  cursor: pointer;
  position: relative;
  transition: color 0.3s;
}
.tech-tab::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}
.tech-tab.active {
  color: var(--ink);
}
.tech-tab.active::after {
  transform: scaleX(1);
}
.tech-panel {
  display: none;
}
.tech-panel.active {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--mist);
  border: 1px solid var(--mist);
}
.tech-item {
  background: var(--paper);
  padding: 28px 20px;
  text-align: center;
  transition: background 0.3s;
  cursor: default;
}
.tech-item:hover {
  background: #ffffff;
}
.tech-item svg {
  width: 36px;
  height: 36px;
  margin-bottom: 12px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.tech-name {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--grey);
}

/* TESTIMONIALS */
.testimonials {
  padding: 100px 60px;
  background: var(--paper);
}
.testimonials .section-label {
  color: var(--gold);
}
.testimonials .section-title {
  color: var(--textcolor);
  margin-bottom: 64px;
}
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.testi-card {
  background: var(--white);
  padding: 44px 36px;
  margin:0px 5px;
}
.testi-quote {
  font-family: var(--serif);
  font-size: 2.5rem;
  color: var(--gold);
  line-height: 0.8;
  margin-bottom: 20px;
}
.testi-text {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--textcolor);
  margin-bottom: 32px;
}
.testi-divider {
  height: 1px;
  background:var(--textcolor);
  margin-bottom: 24px;
}
.testi-author {
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}
.testi-role {
  font-size: 0.90rem;
  color: var(--grey);
}

/* FAQ */
.faq-section {
  padding: 100px 60px;
  max-width: 860px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--mist);
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 0;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 400;
  background: none;
  border: none;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  transition: color 0.3s;
}
.faq-q:hover {
  color: var(--gold);
}
.faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  border: 1px solid var(--gold);
  color: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 0.4s,
    background 0.3s,
    border-color 0.3s;
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--gold);
  border-color: var(--gold);
  color: var(--paper);
}
.faq-a {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--grey);
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.5s cubic-bezier(0.23, 1, 0.32, 1),
    padding 0.4s;
}
.faq-item.open .faq-a {
  max-height: 200px;
  padding-bottom: 26px;
}

/* CTA BANNER */
.cta-banner {
  padding: 100px 60px;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 80px;
  align-items: center;
  background: var(--paper);
  border-top: 1px solid var(--mist);
}
.cta-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.4rem, 3.5vw, 3.8rem);
  line-height: 1.08;
}
.cta-title em {
  font-style: italic;
  color: var(--gold);
}
.cta-panel {
  border: 1px solid var(--mist);
  padding: 48px 40px;
}
.cta-panel-label {
  font-size: 0.6rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.cta-tel {
  display: block;
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--ink);
  text-decoration: none;
  margin-bottom: 6px;
  transition: color 0.3s;
}
.cta-tel:hover {
  color: var(--gold);
}
.cta-email {
  font-size: 0.78rem;
  color: var(--grey);
  margin: 16px 0 32px;
}
.cta-email a {
  color: var(--gold);
  text-decoration: none;
}
.cta-btn {
  display: inline-block;
  font-size: 1rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  
  color: var(--textcolor);
  padding: 15px 36px;
  text-decoration: none;
  transition:
    background 0.3s,
    color 0.3s;
}



/* ANIMATIONS */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes zoomOut {
  from {
    transform: scale(1.1);
  }
  to {
    transform: scale(1);
  }
}

/* RESPONSIVE */
@media (max-width: 960px) {
 
  
  .page-hero {
    grid-template-columns: 1fr;
  }
  .page-hero-right {
    height: 260px;
  }
  .page-hero-left {
    padding: 60px 24px;
  }
  .why,
  .how,
  .tech,
  .cta-banner {
    padding: 72px 24px;
    grid-template-columns: 1fr;
  }
  .why-right {
    grid-template-columns: 1fr 1fr;
  }
  .roles,
  .models,
  .testimonials,
  .faq-section {
    padding: 72px 24px;
  }
  .roles-grid {
    grid-template-columns: 1fr 1fr;
  }
  .models-grid {
    grid-template-columns: 1fr;
  }
  .how-steps {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .how-steps::before {
    display: none;
  }
  .tech-panel.active {
    grid-template-columns: repeat(3, 1fr);
  }
  .testi-grid {
    grid-template-columns: 1fr;
  }
  .cta-banner {
    grid-template-columns: 1fr;
  }
  
  .how-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .how-sub {
    text-align: left;
  }
}
