/* =============================================
   CREATIVE CATS - Global Stylesheet
   Accent: #6C3FC5 | Black: #0D0D0D | White: #FFFFFF
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ---- Reset & Base ---- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #0D0D0D;
  background: #FFFFFF;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ---- Typography ---- */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.1rem; }

p {
  color: #444;
  line-height: 1.75;
}

/* ---- Colors / Variables ---- */
:root {
  --accent: #6C3FC5;
  --accent-hover: #5a32a8;
  --accent-light: #f0eaff;
  --black: #0D0D0D;
  --white: #FFFFFF;
  --gray-100: #F7F7F7;
  --gray-200: #EEEEEE;
  --gray-400: #999999;
  --gray-600: #666666;
  --dark-bg: #0D0D0D;
  --dark-surface: #161616;
  --dark-border: #2a2a2a;
}

/* ---- Utilities ---- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

.section--gray {
  background: var(--gray-100);
}

.section--dark {
  background: var(--dark-bg);
  color: var(--white);
}

.section--dark p {
  color: #aaa;
}

.section--accent {
  background: var(--accent);
  color: var(--white);
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 16px;
}

.section--dark .section-label {
  color: #a07ee0;
}

.section-header {
  max-width: 640px;
  margin-bottom: 64px;
}

.section-header--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-header p {
  margin-top: 16px;
  font-size: 1.05rem;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1.5px solid transparent;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(108, 63, 197, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.35);
}

.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.08);
}

.btn-outline-dark {
  background: transparent;
  color: var(--black);
  border-color: #ccc;
}

.btn-outline-dark:hover {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.btn-lg {
  padding: 13px 26px;
  font-size: 0.925rem;
}

/* ---- Navigation ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(13, 13, 13, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #2a2a2a;
  transition: transform 0.35s ease, box-shadow 0.3s ease, height 0.3s ease;
}

.nav.hidden {
  transform: translateY(-100%);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 12px;
}

.nav__logo img {
  height: 36px;
  width: auto;
}

.nav__logo-text {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.2;
  text-align: center;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav__links a,
.nav__dropdown-toggle {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 6px;
  transition: all 0.2s;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav__links a:hover,
.nav__dropdown-toggle:hover {
  color: var(--white);
  background: rgba(255,255,255,0.08);
}

.nav__links a.active {
  color: var(--white);
  font-weight: 600;
}

/* Dropdown */
.nav__dropdown {
  position: relative;
}

.nav__dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 8px;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s ease;
  box-shadow: 0 16px 40px rgba(0,0,0,0.1);
}

.nav__dropdown:hover .nav__dropdown-menu,
.nav__dropdown:focus-within .nav__dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav__dropdown-menu a {
  display: flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 8px;
  color: #444;
  font-size: 0.875rem;
  font-weight: 500;
}

.nav__dropdown-menu a:hover {
  background: var(--accent-light);
  color: var(--accent);
}

.nav__cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

/* Mobile nav */
.nav__mobile {
  display: none;
  background: var(--dark-bg);
  border-top: 1px solid var(--dark-border);
  padding: 16px 24px 24px;
}

.nav__mobile a {
  display: block;
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 12px 0;
  border-bottom: 1px solid var(--dark-border);
}

.nav__mobile a:last-child {
  border-bottom: none;
}

.nav__mobile a.sub {
  padding-left: 20px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.4);
}

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--dark-bg);
  padding-top: 72px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(13,13,13,0.95) 0%, rgba(13,13,13,0.85) 55%, rgba(13,13,13,0.2) 85%, rgba(13,13,13,0.0) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px 48px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  background: rgba(108, 63, 197, 0.2);
  border: 1px solid rgba(108, 63, 197, 0.4);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #c4a8f0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 32px;
}

.hero__title {
  font-size: clamp(1.75rem, 2.8vw, 2.6rem);
  color: var(--white);
  max-width: 820px;
  margin-bottom: 24px;
  white-space: normal;
}

.hero__title span {
  color: #a07ee0;
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.65);
  max-width: 620px;
  margin-bottom: 32px;
  line-height: 1.75;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 48px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--dark-border);
}

.hero__stat-value {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
}

.hero__stat-value span {
  color: var(--accent);
}

.hero__stat-label {
  font-size: 0.85rem;
  color: var(--gray-400);
  margin-top: 4px;
}

/* ---- Hero Logo ---- */
.hero__logo {
  height: 300px;
  width: auto;
  margin-bottom: 16px;
  margin-left: -85px;
  filter: brightness(0) invert(1);
  animation: heroFadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.05s;
}

/* ---- Page Hero (subpages) ---- */
.page-hero {
  background: var(--dark-bg);
  background-size: cover;
  background-position: center;
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(13,13,13,0.95) 0%, rgba(13,13,13,0.85) 55%, rgba(13,13,13,0.2) 85%, rgba(13,13,13,0.0) 100%);
  z-index: 0;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero__label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #a07ee0;
  margin-bottom: 16px;
}

.page-hero h1 {
  color: var(--white);
  max-width: 720px;
}

.page-hero p {
  color: rgba(255,255,255,0.65);
  font-size: 1.1rem;
  max-width: 600px;
  margin-top: 20px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--gray-400);
  margin-bottom: 24px;
}

.breadcrumb a {
  color: var(--gray-400);
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: #a07ee0;
}

.breadcrumb-sep {
  color: var(--dark-border);
}

/* ---- Services Grid ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 36px 32px;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.service-card:hover {
  border-color: rgba(108, 63, 197, 0.3);
  box-shadow: 0 12px 40px rgba(108, 63, 197, 0.1);
  transform: translateY(-4px);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card__icon {
  width: 52px;
  height: 52px;
  background: var(--accent-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 24px;
}

.service-card h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.9rem;
  line-height: 1.65;
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
}

.service-card__link::after {
  content: '→';
  transition: transform 0.2s;
}

.service-card:hover .service-card__link::after {
  transform: translateX(4px);
}

/* ---- Features List ---- */
.features-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.feature-item {
  display: flex;
  gap: 20px;
}

.feature-item__dot {
  width: 10px;
  height: 10px;
  min-width: 10px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 7px;
}

.feature-item h4 {
  margin-bottom: 8px;
  font-size: 1rem;
}

.feature-item p {
  font-size: 0.875rem;
}

/* ---- Two Column Layout ---- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.two-col--reverse {
  direction: rtl;
}

.two-col--reverse > * {
  direction: ltr;
}

.two-col__image {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.two-col__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.two-col__image:hover img {
  transform: scale(1.03);
}

.two-col__content h2 {
  margin-bottom: 20px;
}

.two-col__content p {
  margin-bottom: 16px;
}

/* ---- Checklist ---- */
.checklist {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: #444;
}

.checklist li::before {
  content: '';
  width: 20px;
  height: 20px;
  min-width: 20px;
  background: var(--accent-light);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%236C3FC5' d='M7 10l2.5 2.5L13 7' stroke='%236C3FC5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
  background-size: 20px;
  background-position: center;
  background-repeat: no-repeat;
  margin-top: 2px;
}

/* ---- CTA Banner ---- */
.cta-banner {
  background: var(--dark-bg);
  border-radius: 24px;
  padding: 72px 64px;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(108,63,197,0.3) 0%, transparent 70%);
}

.cta-banner__content {
  position: relative;
  z-index: 1;
  max-width: 600px;
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 16px;
}

.cta-banner p {
  color: rgba(255,255,255,0.65);
  font-size: 1.05rem;
  margin-bottom: 36px;
}

.cta-banner__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---- Testimonials / Trust ---- */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.trust-card {
  background: var(--dark-surface);
  border: 1px solid var(--dark-border);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.3s;
}

.trust-card:hover {
  border-color: rgba(108,63,197,0.4);
}

.trust-card__icon {
  font-size: 2rem;
  margin-bottom: 20px;
}

.trust-card h4 {
  color: var(--white);
  margin-bottom: 10px;
}

.trust-card p {
  color: var(--gray-400);
  font-size: 0.875rem;
}

/* ---- Process Steps ---- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: var(--gray-200);
  z-index: 0;
}

.process-step {
  text-align: center;
  padding: 0 24px 40px;
  position: relative;
  z-index: 1;
}

.process-step__number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 0 0 8px var(--white), 0 0 0 9px var(--gray-200);
}

.process-step h4 {
  margin-bottom: 10px;
}

.process-step p {
  font-size: 0.875rem;
}

/* ---- Contact Form ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}

.contact-info h2 {
  margin-bottom: 20px;
}

.contact-info p {
  margin-bottom: 32px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--gray-200);
}

.contact-detail:last-child {
  border-bottom: none;
}

.contact-detail__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-detail h4 {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-400);
  margin-bottom: 4px;
}

.contact-detail p {
  font-size: 0.95rem;
  color: var(--black);
  font-weight: 500;
  margin: 0;
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 20px;
  padding: 48px;
  box-shadow: 0 4px 40px rgba(0,0,0,0.06);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-group:last-of-type {
  margin-bottom: 0;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--black);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 13px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  color: var(--black);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(108, 63, 197, 0.12);
}

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

.form-submit {
  margin-top: 28px;
}

.form-notice {
  font-size: 0.8rem;
  color: var(--gray-400);
  margin-top: 14px;
}

/* Form messages */
.form-message {
  display: none;
  padding: 16px 20px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  margin-top: 20px;
}

.form-message.success {
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.form-message.error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* ---- Service Detail Page ---- */
.scope-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.scope-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 24px;
  background: var(--gray-100);
  border-radius: 12px;
  border-left: 3px solid var(--accent);
}

.scope-item p {
  font-size: 0.9rem;
  color: #333;
  margin: 0;
  font-weight: 500;
}

/* ---- Footer ---- */
.footer {
  background: var(--gray-100);
  color: var(--black);
  padding: 72px 0 32px;
  border-top: 1px solid var(--gray-200);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--gray-200);
}

.footer__brand img {
  height: 32px;
  width: auto;
  margin-bottom: 16px;
}

.footer__brand p {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.65;
  max-width: 280px;
}

.footer__col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #999;
  margin-bottom: 20px;
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__col ul a {
  font-size: 0.875rem;
  color: var(--gray-600);
  transition: color 0.2s;
}

.footer__col ul a:hover {
  color: var(--black);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
}

.footer__copy {
  font-size: 0.8rem;
  color: #999;
}

.footer__credit {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer__credit span {
  font-size: 0.8rem;
  color: #999;
}

.footer__credit img {
  height: 18px !important;
  width: auto !important;
  max-width: none;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.footer__credit a:hover img {
  opacity: 1;
}

.footer__copy a {
  color: var(--accent);
}

/* ---- Accent Strip ---- */
.accent-strip {
  height: 4px;
  background: linear-gradient(90deg, var(--accent), #a07ee0);
}

/* =============================================
   ENHANCEMENTS
   ============================================= */

/* ---- Custom Cursor ---- */
@media (hover: hover) {
  * { cursor: none !important; }
}

.cursor-dot {
  position: fixed;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: width 0.2s ease, height 0.2s ease, background 0.2s ease;
  will-change: left, top;
}

.cursor-ring {
  position: fixed;
  width: 34px;
  height: 34px;
  border: 1.5px solid rgba(108, 63, 197, 0.45);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  will-change: left, top;
  transition: width 0.25s ease, height 0.25s ease, border-color 0.25s ease;
}

.cursor-dot--hover {
  width: 14px;
  height: 14px;
  background: var(--accent-hover);
}

.cursor-ring--hover {
  width: 48px;
  height: 48px;
  border-color: rgba(108, 63, 197, 0.7);
}

.cursor-dot--click {
  width: 6px;
  height: 6px;
}

/* ---- Page Transition Overlay ---- */
#page-overlay {
  position: fixed;
  inset: 0;
  background: var(--dark-bg);
  z-index: 9000;
  opacity: 1;
  pointer-events: all;
  transition: opacity 0.38s cubic-bezier(0.76, 0, 0.24, 1);
}


/* ---- Scroll Progress Bar ---- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), #a07ee0, #6C3FC5);
  z-index: 2000;
  pointer-events: none;
  transition: width 0.08s linear;
}

/* ---- Nav Scrolled State ---- */
.nav.scrolled {
  box-shadow: 0 4px 28px rgba(0,0,0,0.09);
}
.nav.scrolled .nav__inner {
  height: 60px;
}

/* ---- Back to Top ---- */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 46px;
  height: 46px;
  background: var(--accent);
  color: var(--white);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.2s, box-shadow 0.2s;
  z-index: 900;
  box-shadow: 0 4px 20px rgba(108,63,197,0.38);
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--accent-hover);
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(108,63,197,0.5);
}

/* ---- Hero Entrance Animations ---- */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero__badge {
  animation: heroFadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.05s;
}

.hero__title {
  animation: heroFadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.2s;
}

.hero__subtitle {
  animation: heroFadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.35s;
}

.hero__actions {
  animation: heroFadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.5s;
}

.hero__stats {
  animation: heroFadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.65s;
}

/* ---- Dot Grid Texture on Gray Sections ---- */
.section--gray {
  background-image: radial-gradient(circle, rgba(108,63,197,0.14) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
}


/* ---- Section Label Accent Line ---- */
.section-label::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 2px;
  background: currentColor;
  margin-right: 10px;
  vertical-align: middle;
  opacity: 0.8;
  border-radius: 2px;
}

/* ---- Trust Card Glow Enhancement ---- */
.trust-card {
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}
.trust-card:hover {
  border-color: rgba(108,63,197,0.5);
  box-shadow: 0 0 0 1px rgba(108,63,197,0.12),
              0 12px 40px rgba(108,63,197,0.22),
              inset 0 0 60px rgba(108,63,197,0.04);
  transform: translateY(-3px);
}

/* ---- CTA Banner Animated Orbs ---- */
@keyframes orbFloat {
  0%, 100% { transform: scale(1)   translate(0px,   0px);  opacity: 0.3; }
  33%       { transform: scale(1.1) translate(-20px, 14px); opacity: 0.45; }
  66%       { transform: scale(0.9) translate(12px, -16px); opacity: 0.32; }
}

.cta-banner::before {
  animation: orbFloat 8s ease-in-out infinite;
  transform-origin: center;
}

.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -60px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(108,63,197,0.18) 0%, transparent 70%);
  pointer-events: none;
  animation: orbFloat 11s ease-in-out infinite reverse;
}

/* ---- 3D Tilt: disable conflicting transform from CSS hover ---- */
.service-card.tilt-active {
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.service-card.tilt-active::before {
  transform: scaleX(1);
}

/* =============================================
   END ENHANCEMENTS
   ============================================= */

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .hero__content {
    padding: 80px 32px;
  }

  .nav__links,
  .nav__cta {
    display: none;
  }

  .nav__hamburger {
    display: flex;
  }

  .nav__mobile.open {
    display: block;
  }

  .two-col,
  .two-col--reverse {
    grid-template-columns: 1fr;
    gap: 40px;
    direction: ltr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .hero__stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-banner {
    padding: 48px 32px;
  }

  .process-steps::before {
    display: none;
  }

  .contact-form {
    padding: 32px 24px;
  }
}

@media (max-width: 600px) {
  .hero__content {
    padding: 60px 24px;
  }

  .section {
    padding: 64px 0;
  }

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

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

  .hero__stats {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero__actions {
    flex-direction: column;
  }

  .cta-banner__actions {
    flex-direction: column;
  }

  .cta-banner {
    padding: 40px 24px;
  }

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

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

  .scope-list {
    grid-template-columns: 1fr;
  }

  .hero__logo {
    height: 180px;
    margin-left: -40px;
  }
}
