/*
Theme Name: Invincia Custom Theme
Theme URI: https://invincia.com
Author: Invincia Studio
Description: Custom product-first digital studio theme.
Version: 1.0
Text Domain: invincia
*/

:root {
  --bg-color: #03040A;
  --surface-color: #09090E;
  --surface-hover: #111116;
  --surface-border: rgba(255, 255, 255, 0.08);
  --text-primary: #FFFFFF;
  --text-secondary: #A1A1AA;
  --text-muted: #52525B;

  --accent-color: #3b82f6;
  --accent-gradient: linear-gradient(135deg, #2563eb, #8b5cf6);
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);

  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-color);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Background effects */
.background-effects {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 110vh;
  pointer-events: none;
  z-index: -1;
  background: url('https://theinvincia.com/wp-content/uploads/2026/03/invincia_dark_wave_bg_1774000270758.jpg') no-repeat;
  /* Anchor to bottom-left and aggressively scale height to steepen the rightward slope to the top border */
  background-position: left bottom;
  background-size: 100vw 130vh;
  opacity: 0.9;
  -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
}


.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* NAVBAR (Premium Floating Glass) */
.navbar {
  position: fixed;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1280px;
  z-index: 100;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 100px;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease, background 0.3s ease;
}

.navbar.navbar-hidden {
  transform: translate(-50%, -120%);
  opacity: 0;
  pointer-events: none;
}

.navbar.navbar-scrolled {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  padding: 0 1.5rem;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #fff;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--text-primary);
}

/* SECTIONS */
.section {
  padding: 80px 0;
  position: relative;
  z-index: 1;
  scroll-snap-align: center;
  scroll-snap-stop: always;
  min-height: 100vh;
  display: flex;
  align-items: center;
  scroll-margin-top: 100px;
}

.bg-subtle {
  background-color: rgba(255, 255, 255, 0.015);
  border-top: 1px solid var(--surface-border);
  border-bottom: 1px solid var(--surface-border);
}

.section-header {
  margin-bottom: 4rem;
  max-width: 600px;
}

.section-header.flex-between {
  max-width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 700px;
  line-height: 1.6;
  padding-right: 2rem;
}

/* REVEAL TRANSITIONS */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* GRIDS */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem;
}

/* UTILS */
.mt-4 {
  margin-top: 1.5rem;
}

.mt-8 {
  margin-top: 3rem;
  display: inline-block;
}

.text-center {
  text-align: center;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  border-radius: 100px;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s;
  cursor: pointer;
  text-decoration: none;
  font-family: var(--font-body);
}

.btn-primary {
  background: var(--accent-gradient);
  color: #fff;
  border: none;
  box-shadow: 0 8px 24px -4px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px -4px rgba(37, 99, 235, 0.5);
  filter: brightness(1.1);
  color: #fff;
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: var(--glass-bg);
}

.btn-large {
  padding: 1.125rem 2.5rem;
  font-size: 1.125rem;
}

/* HERO SECTION */
.hero-section {
  padding-top: clamp(100px, 12vh, 140px);
  padding-bottom: clamp(40px, 6vh, 80px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1320px;
  margin: 0 auto;
  padding-left: 2rem;
  padding-right: 2rem;
  scroll-snap-align: center;
  scroll-snap-stop: always;
  min-height: 100vh;
}

.hero-headline {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  background: linear-gradient(180deg, #FFFFFF 0%, #A1A1AA 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subheadline {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-weight: 400;
  max-width: 90%;
}

.capability-line {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
}

.cta-group {
  display: flex;
  gap: 1rem;
  align-items: center;
}

/* HERO RIGHT SHOWCASE */
.hero-showcase {
  position: relative;
  animation: slideInUp 0.8s ease-out forwards;
}

@keyframes slideInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.showcase-label {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.showcase-label::before {
  content: "";
  display: block;
  width: 24px;
  height: 1px;
  background-color: var(--text-muted);
}

.showcase-card {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.9), 0 0 0 1px var(--surface-border);
  background: var(--surface-color);
  position: relative;
}

.showcase-card iframe,
.showcase-card img {
  width: 100%;
  aspect-ratio: 16/9;
  display: block;
  object-fit: cover;
  border: none;
}

.glass-reflection {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 30%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, transparent 100%);
  pointer-events: none;
  border-radius: 24px 24px 0 0;
  z-index: 2;
}

.soco-meta {
  margin-top: 1.5rem;
}

.soco-meta h4 {
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
  font-family: var(--font-heading);
}

.soco-meta p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* LABEL PILL */
.label-small {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.875rem;
  border-radius: 100px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 2rem;
  color: #E4E4E7;
}

/* WHAT WE BUILD CARDS */
.service-card {
  padding: 2.5rem 2rem;
  border-radius: 12px;
  border: 1px solid var(--surface-border);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background-color: var(--surface-color);
}

.service-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  background-color: var(--surface-hover);
}

.card-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
  color: var(--text-primary);
}

.card-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* PREMIUM INVINCIA METHOD SECTION */
.premium-method-section {
  padding: 100px 0;
  background: radial-gradient(circle at right top, rgba(37, 99, 235, 0.05), transparent 40%);
  border-top: 1px solid var(--surface-border);
  border-bottom: 1px solid var(--surface-border);
  scroll-snap-align: center;
  scroll-snap-stop: always;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.method-layout {
  display: grid;
  grid-template-columns: 4fr 6fr;
  gap: 6rem;
  align-items: stretch;
}

.sidebar-sticky {
  position: relative;
  top: 0;
}

.method-features {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.feature-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-color);
  flex-shrink: 0;
}

.feature-title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.feature-item p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}

.method-timeline {
  position: relative;
  padding-left: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  gap: 1.5rem;
}

.v-line {
  position: absolute;
  top: 1.5rem;
  bottom: 1.5rem;
  left: 0;
  width: 2px;
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.5) 0%, rgba(37, 99, 235, 0.1) 100%);
  border-radius: 2px;
}

.v-step {
  position: relative;
  display: flex;
  align-items: stretch;
  flex: 1;
}

.v-dot {
  position: absolute;
  left: -2.95rem;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg-color);
  border: 3px solid var(--accent-color);
  box-shadow: 0 0 16px rgba(37, 99, 235, 0.3);
  z-index: 2;
  transition: all 0.4s;
}

.v-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--surface-color);
  border: 1px solid var(--surface-border);
  padding: 1.75rem 2.5rem;
  border-radius: 16px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.4);
  flex: 1;
  position: relative;
  overflow: hidden;
}

.v-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.v-card:hover {
  transform: translateX(8px);
  border-color: rgba(37, 99, 235, 0.4);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.6);
  background: var(--surface-hover);
}

.v-step:hover .v-dot {
  transform: translateY(-50%) scale(1.3);
  background: var(--accent-color);
  box-shadow: 0 0 20px rgba(37, 99, 235, 0.8);
}

.v-num {
  position: absolute;
  top: -1.25rem;
  right: 0.5rem;
  font-family: var(--font-heading);
  font-size: 7rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.02);
  line-height: 1;
  pointer-events: none;
  letter-spacing: -0.05em;
  margin: 0;
}

.v-content {
  position: relative;
  z-index: 2;
}

.v-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.v-desc {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
}

/* SPLIT SECTION & FEATURED PRODUCT */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.soco-section {
  background-color: rgba(37, 99, 235, 0.03);
  border-top: 1px solid rgba(37, 99, 235, 0.1);
  border-bottom: 1px solid rgba(37, 99, 235, 0.1);
}

.soco-title {
  font-size: 2.5rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #ffffff 0%, #a1a1aa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.mockup-container {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--surface-border);
  background: var(--surface-color);
  position: relative;
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.5);
}

.mockup-container img {
  width: 100%;
  display: block;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.cura-premium-card .mockup-container {
  max-width: 550px !important;
  width: 100%;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  overflow: visible;
  border-radius: 0;
}

.cura-premium-card .mockup-container img {
  aspect-ratio: unset;
  object-fit: unset;
  border-radius: 16px;
}

/* CALL TO ACTION */
.cta-section {
  padding: 80px 0;
}

.container-sm {
  max-width: 800px;
  margin: 0 auto;
  clear: both;
}

/* FOOTER */
.site-footer {
  border-top: 1px solid var(--surface-border);
  padding: 3rem 0 2rem;
  background-color: rgba(255, 255, 255, 0.01);
  scroll-snap-align: end;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.brand-col .logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  font-family: var(--font-heading);
  letter-spacing: 0.05em;
  display: block;
}

.footer-desc {
  color: var(--text-muted);
  margin-top: 1rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-col a {
  display: block;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  border-top: 1px solid var(--surface-border);
  padding-top: 2rem;
  color: var(--text-muted);
  font-size: 0.875rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-legal {
  display: flex;
  gap: 2rem;
}

.footer-legal a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-legal a:hover {
  color: var(--text-secondary);
}

/* RESPONSIVE */
@media (max-width: 1024px) {

  .hero-section,
  .split-section {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 4rem;
  }

  .method-layout {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .sidebar-sticky {
    position: relative;
    top: 0;
  }

  .method-features {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1.5rem;
  }

  .feature-item {
    flex: 1 1 calc(50% - 1.5rem);
  }

  .hero-content {
    align-items: center;
  }

  .capability-line {
    justify-content: center;
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .navbar {
    width: 95%;
    top: 1rem;
  }

  .nav-container {
    height: auto;
    padding: 0.75rem 1.25rem;
    flex-direction: column;
    gap: 1rem;
    border-radius: 20px;
  }

  .nav-links {
    gap: 1rem;
    width: 100%;
    justify-content: center;
  }

  .nav-links a {
    font-size: 0.75rem;
  }

  .logo {
    font-size: 1.1rem;
  }

  .grid-4 {
    grid-template-columns: 1fr;
  }

  /* mobile specific overrides */
  .hero-headline {
    font-size: 2.25rem;
    line-height: 1.2;
  }

  .cta-group {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .section {
    padding: 60px 0;
    min-height: auto;
    scroll-margin-top: 20px;
  }
}