/* ════════════════════════════════════════════
   RESET & BASE
════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:       #080c1d;
  --navy-mid:   #0d1133;
  --blue-bg:    #2828c8;
  --blue-text:  #5b65f8;
  --orange:     #f97316;
  --white:      #ffffff;
  --card-mid:   #1a2060;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--navy);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

/* ════ BUTTONS ════ */
.btn {
  display: inline-block;
  padding: 0.85rem 2.4rem;
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
  border: none;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); opacity: 0.93; }

.btn-orange {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 4px 24px rgba(249,115,22,0.35);
}
.btn-orange:hover { box-shadow: 0 6px 30px rgba(249,115,22,0.5); }

.btn-outline {
  background: rgba(255,255,255,0.12);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.35);
}
.btn-outline:hover { background: rgba(255,255,255,0.2); }

/* ════ SHARED HEADING ════ */
.section-heading-blue {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.8vw, 2.75rem);
  font-weight: 400;
  color: var(--blue-text);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

/* ════════════════════════════════════════════
   NAV
════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2.5rem;
  background: rgba(8,12,29,0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-logo-text {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.1em;
  color: var(--orange);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--white);
  opacity: 0.82;
  transition: opacity 0.2s, color 0.2s;
}
.nav-links a:hover { opacity: 1; color: var(--orange); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ════════════════════════════════════════════
   HERO
════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 2rem 5rem;
  overflow: hidden;
  background: var(--navy);
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(91,101,248,0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91,101,248,0.13) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}
.hero-grid-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 75% 65% at 50% 40%, rgba(8,12,29,0) 0%, rgba(8,12,29,0.65) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 860px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: 600;
  color: var(--blue-text);
  line-height: 1.15;
}

.hero-divider {
  width: 150px;
  height: 3px;
  background: var(--orange);
  margin: 1.1rem auto;
  border-radius: 2px;
}

.hero-subtitle {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--blue-text);
  margin-bottom: 1.5rem;
}

.hero-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.72);
  margin-bottom: 0.3rem;
}

.hero-cta { margin-top: 2.5rem; font-size: 1.1rem; padding: 1rem 3rem; }

/* ════════════════════════════════════════════
   LOGOS
════════════════════════════════════════════ */
.logos-section {
  background: var(--navy-mid);
  padding: 3.5rem 2rem;
  text-align: center;
}

.logos-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 2rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.logos-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 3rem 5rem;
  max-width: 900px;
  margin: 0 auto;
}

.logo-item {
  opacity: 0.55;
  transition: opacity 0.2s;
  filter: brightness(1.1);
}
.logo-item:hover { opacity: 0.85; }
.logo-item img { max-height: 36px; width: auto; object-fit: contain; }

/* ════════════════════════════════════════════
   VALUE PROP
════════════════════════════════════════════ */
.value-prop { background: var(--navy); padding: 7rem 2rem; }

.value-prop-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.value-prop-text p {
  color: rgba(255,255,255,0.72);
  font-size: 1.05rem;
  margin-bottom: 1rem;
  max-width: 480px;
}

.value-prop-illustration { display: flex; justify-content: center; opacity: 0.82; }

/* ════════════════════════════════════════════
   PRODUCT STORY
════════════════════════════════════════════ */
.product-story { background: var(--navy-mid); padding: 7rem 2rem; }

.product-story-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.story-illustration { display: flex; justify-content: center; opacity: 0.82; }

.story-text p { color: rgba(255,255,255,0.72); font-size: 1.05rem; max-width: 480px; }

/* ════════════════════════════════════════════
   BRAND STORY
════════════════════════════════════════════ */
.brand-story { background: var(--navy); padding: 7rem 2rem; }

.brand-story-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.brand-text p { color: rgba(255,255,255,0.72); font-size: 1.05rem; max-width: 480px; }
.brand-illustration { display: flex; justify-content: center; opacity: 0.82; }

/* ════════════════════════════════════════════
   SERVICES
════════════════════════════════════════════ */
.services { background: var(--blue-bg); padding: 6rem 2rem; }

.services-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 2rem;
}

.services-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.services-header p { color: rgba(255,255,255,0.78); font-size: 1rem; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}

.service-card {
  background: var(--white);
  border-radius: 12px;
  padding: 1.75rem 1.5rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 14px 42px rgba(0,0,0,0.22); }

.service-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 0.6rem;
}

.service-card h3 {
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
  color: #0d1133;
  line-height: 1.3;
}

.service-card p { font-size: 0.88rem; color: #444; line-height: 1.55; }

.services-footer-cta { text-align: center; margin-top: 3rem; }

/* ════════════════════════════════════════════
   TEAM
════════════════════════════════════════════ */
.team { background: var(--navy); padding: 6rem 0; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 380px));
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 5rem;
}

.team-card {
  background: #2828c8;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.team-card-top {
  padding: 1.5rem 1.5rem 1rem;
}

.team-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.2rem;
}

.team-role {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.62);
  margin-bottom: 0.9rem;
}

.team-socials {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
}

.team-socials a {
  color: rgba(255,255,255,0.75);
  transition: color 0.2s;
  display: flex;
  align-items: center;
}
.team-socials a:hover { color: var(--white); }

.team-photo-wrap {
  position: relative;
  flex: 1;
  min-height: 260px;
  overflow: hidden;
}

.team-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  filter: grayscale(100%);
}

.team-photo.aakansha {
  object-position: center center;
}

.team-wave {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 120px;
  pointer-events: none;
}

/* Team quote */
.team-quote {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 2rem;
}

.team-quote-mark {
  font-family: var(--font-display);
  font-size: 7rem;
  line-height: 0.7;
  color: var(--blue-text);
  margin-bottom: 1.5rem;
}

.team-quote p {
  color: rgba(255,255,255,0.78);
  font-size: 1.05rem;
  line-height: 1.72;
  margin-bottom: 1rem;
}

/* ════════════════════════════════════════════
   WORK
════════════════════════════════════════════ */
.work { background: var(--blue-bg); padding: 6rem 2rem; }

.work-inner {
  display: grid;
  grid-template-columns: 1fr 1.7fr;
  gap: 4rem;
  align-items: center;
}

.work-text h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 1.2rem;
}

.work-text p {
  color: rgba(255,255,255,0.78);
  font-size: 1rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.work-buttons { display: flex; flex-direction: column; gap: 1rem; max-width: 260px; }

.work-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.work-card {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
  transition: transform 0.2s;
}
.work-card:hover { transform: translateY(-4px); }

.work-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ════════════════════════════════════════════
   TESTIMONIALS
════════════════════════════════════════════ */
.testimonials { background: var(--navy); padding: 6rem 2rem; }

.testimonials-title { text-align: center; margin-bottom: 3.5rem; }

.testimonial-featured {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
  background: var(--card-mid);
  border-radius: 20px;
  padding: 3rem;
  margin-bottom: 1.5rem;
}

.testimonial-quote {
  font-size: 1rem;
  color: rgba(255,255,255,0.82);
  line-height: 1.78;
  font-style: italic;
  margin-bottom: 2rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar-placeholder {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--blue-text);
  border: 3px solid rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: white;
  flex-shrink: 0;
}

.testimonial-author strong { display: block; font-size: 1rem; color: var(--white); }
.testimonial-author span { font-size: 0.83rem; color: rgba(255,255,255,0.48); }

/* Featured visual */
.testimonial-featured-visual {
  position: relative;
  height: 260px;
}

.testimonial-screen {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 210px;
  background: var(--navy-mid);
  border-radius: 10px;
  border: 1px solid rgba(91,101,248,0.3);
  padding: 1rem;
  overflow: hidden;
}

.screen-header {
  font-size: 0.62rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 0.6rem;
}

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

.screen-node {
  height: 28px;
  border-radius: 5px;
  background: rgba(91,101,248,0.22);
  border: 1px solid rgba(91,101,248,0.38);
}

.float-av {
  position: absolute;
  border-radius: 50%;
  background: #888;
  border: 3px solid white;
}
.float-av-1 { width: 58px; height: 58px; top: 8px; right: 18px; background: #aaa; }
.float-av-2 { width: 76px; height: 76px; top: 96px; right: -8px; background: #999; }
.float-av-3 { width: 48px; height: 48px; bottom: 22px; right: 38px; background: #bbb; }

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

.testimonial-card {
  background: var(--card-mid);
  border-radius: 16px;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-card p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.76);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  flex: 1;
}

.testimonials-close-quote {
  text-align: right;
  font-family: var(--font-display);
  font-size: 7rem;
  line-height: 0.5;
  color: var(--blue-text);
  margin-top: 1rem;
  opacity: 0.65;
}

/* ════════════════════════════════════════════
   FRACTIONAL DEVREL
════════════════════════════════════════════ */
.fractional { background: var(--navy); padding: 6rem 2rem; border-top: 1px solid rgba(255,255,255,0.05); }

.fractional-inner {
  display: flex;
  justify-content: center;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.collage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 140px 140px 140px;
  gap: 8px;
}

.col-circle {
  border-radius: 50%;
  width: 120px;
  height: 120px;
  justify-self: center;
  align-self: center;
}
.col-blue    { background: #3535d6; }
.col-purple  { background: #7c3aed; }
.col-lavender { background: #a78bfa; }

.col-photo {
  border-radius: 10px;
  overflow: hidden;
  width: 100%;
  height: 100%;
}
.col-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; filter: grayscale(100%); }

.col-photo-1 { grid-column: 2; grid-row: 1; }
.col-photo-2 { grid-column: 1 / span 2; grid-row: 2; }
.col-photo-2 img { object-position: 50% 25%; }
.col-photo-3 { grid-column: 2; grid-row: 3; }

.fractional-text .section-heading-blue { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }

.heart { color: #e53e3e; font-style: normal; }

/* ════════════════════════════════════════════
   CONNECT
════════════════════════════════════════════ */
.connect {
  background: linear-gradient(135deg, #2828c8 0%, #1a1f8e 100%);
  padding: 6rem 2rem;
}

.connect-inner { text-align: center; max-width: 640px; margin: 0 auto; }

.connect h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
}

.connect p { color: rgba(255,255,255,0.72); font-size: 1rem; margin-bottom: 2.5rem; line-height: 1.6; }
.connect-btn { font-size: 1.05rem; padding: 1rem 2.8rem; }

/* ════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════ */
.footer {
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 2rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

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

.footer-socials {
  display: flex;
  gap: 1.2rem;
  align-items: center;
}

.footer-socials a {
  color: rgba(255,255,255,0.4);
  transition: color 0.2s;
  display: flex;
}
.footer-socials a:hover { color: rgba(255,255,255,0.85); }

/* ════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2,1fr); }
  .work-inner { grid-template-columns: 1fr; }
  .testimonial-featured { grid-template-columns: 1fr; }
  .testimonial-featured-visual { display: none; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(8,12,29,0.97);
    flex-direction: column;
    padding: 1.5rem 2rem;
    gap: 1.25rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }

  .value-prop-inner,
  .product-story-inner,
  .brand-story-inner,
  .fractional-inner { grid-template-columns: 1fr; }
  .value-prop-illustration,
  .story-illustration,
  .brand-illustration,
  .fractional-collage { display: none; }

  .team-grid { grid-template-columns: 1fr; max-width: 380px; margin-left: auto; margin-right: auto; }

  .testimonials-grid { grid-template-columns: 1fr; }
  .work-cards { grid-template-columns: 1fr; }

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

@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
  .logos-row { gap: 2rem 3rem; }
}
