/* ==========================================================================
   Projectsly AI Solutions Private Limited — Corporate Design System
   Derived from the official Projectsly logo & brand palette
   ========================================================================== */

:root {
  /* Primary Brand Colors (from Projectsly Logo & Wordmark) */
  --navy-950: #060B1E;
  --navy-900: #051F49;
  --navy-800: #0B2D66;
  --royal-600: #1D62B5;
  --royal-700: #154E96;
  --cyan-500: #0090D4;
  --cyan-400: #29AAE3;
  --sky-300: #9BD8F6;
  --sky-100: #EBF7FD;

  /* Neutrals */
  --white: #FFFFFF;
  --slate-50: #F7FAFE;
  --slate-100: #EFF4FA;
  --slate-200: #DCE5F0;
  --slate-400: #8D9CB2;
  --slate-500: #5B6B82;
  --slate-700: #2D3D54;
  --slate-900: #0E172A;

  /* Courseexe Accent (isolated to Courseexe showcase) */
  --cx-indigo: #6366F1;
  --cx-purple: #A855F7;

  /* Typography */
  --font-display: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, sans-serif;
  --font-sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;

  /* Radii & Shadows */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-sm: 0 2px 10px rgba(5, 31, 73, 0.05);
  --shadow-md: 0 10px 30px rgba(5, 31, 73, 0.08);
  --shadow-lg: 0 24px 60px rgba(5, 31, 73, 0.12);

  --transition: 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--slate-700);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--royal-600);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--cyan-500);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy-900);
  line-height: 1.2;
  margin: 0;
}

p {
  margin: 0 0 1rem;
}

p:last-child {
  margin-bottom: 0;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 860px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy-900);
  color: var(--white);
  padding: 10px 16px;
  z-index: 999;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  border-radius: var(--radius-sm);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform var(--transition), box-shadow var(--transition), background-color var(--transition), border-color var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--royal-600), var(--cyan-500));
  color: var(--white);
  box-shadow: 0 8px 24px rgba(0, 144, 212, 0.28);
}

.btn-primary:hover {
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 144, 212, 0.38);
}

.btn-secondary-dark {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border-color: rgba(155, 216, 246, 0.3);
}

.btn-secondary-dark:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--sky-300);
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
}

.btn-outline {
  background: var(--white);
  color: var(--navy-900);
  border-color: var(--slate-200);
}

.btn-outline:hover {
  border-color: var(--royal-600);
  color: var(--royal-600);
  background: var(--sky-100);
  transform: translateY(-2px);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--slate-200);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy-900);
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.brand-legal {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cyan-500);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--slate-700);
}

.nav-link:hover {
  color: var(--royal-600);
}

.nav-cta {
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  background: var(--navy-900);
  color: var(--white) !important;
  font-weight: 600;
}

.nav-cta:hover {
  background: var(--royal-600);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  background: var(--white);
  cursor: pointer;
}

.mobile-menu-btn span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--navy-900);
  border-radius: 2px;
  transition: var(--transition);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 18% 20%, #0E234E 0%, var(--navy-950) 65%);
  color: var(--white);
  padding: 88px 0 96px;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(155, 216, 246, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(155, 216, 246, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 35%, transparent 80%);
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}

.hero-glow-1 {
  width: 420px;
  height: 420px;
  top: -120px;
  left: -80px;
  background: rgba(0, 144, 212, 0.24);
}

.hero-glow-2 {
  width: 380px;
  height: 380px;
  bottom: -120px;
  right: -60px;
  background: rgba(29, 98, 181, 0.28);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 52px;
  align-items: center;
}

.corporate-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(155, 216, 246, 0.1);
  border: 1px solid rgba(155, 216, 246, 0.26);
  color: var(--sky-300);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 22px;
}

.pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan-400);
  box-shadow: 0 0 10px var(--cyan-400);
}

.hero-title {
  font-size: clamp(2.3rem, 4.2vw, 3.5rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.025em;
  margin-bottom: 20px;
}

.text-gradient {
  background: linear-gradient(120deg, var(--sky-300), var(--cyan-400), #7DD3FC);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: 1.08rem;
  color: #CBD5E1;
  max-width: 580px;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 38px;
}

.hero-meta-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  padding-top: 24px;
  border-top: 1px solid rgba(155, 216, 246, 0.16);
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.meta-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--sky-300);
}

.meta-value {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--white);
}

.meta-link {
  text-decoration: underline;
  text-decoration-color: rgba(155, 216, 246, 0.45);
  text-underline-offset: 3px;
}

.meta-link:hover {
  color: var(--sky-300);
}

.meta-divider {
  width: 1px;
  height: 28px;
  background: rgba(155, 216, 246, 0.2);
}

/* Hero Ecosystem Visual */
.ecosystem-hub-card {
  background: rgba(11, 20, 48, 0.85);
  border: 1px solid rgba(155, 216, 246, 0.2);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
}

.hub-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.hub-badge {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--sky-300);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hub-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  color: #86EFAC;
}

.status-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ADE80;
  box-shadow: 0 0 8px #4ADE80;
}

.hub-center-node {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(235, 247, 253, 0.94));
  border-radius: var(--radius-md);
  padding: 18px;
  text-align: center;
  color: var(--navy-900);
}

.hub-logo {
  height: 52px;
  width: auto;
  margin: 0 auto 8px;
}

.hub-node-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy-900);
}

.hub-node-sub {
  font-size: 0.8rem;
  color: var(--slate-500);
}

.hub-connector-lines {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  height: 22px;
  padding: 0 24px;
}

.hub-connector-lines span {
  border-left: 1px dashed rgba(155, 216, 246, 0.35);
  margin: 0 auto;
}

.hub-spokes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.spoke-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(155, 216, 246, 0.14);
}

.spoke-icon {
  color: var(--sky-300);
  flex-shrink: 0;
  margin-top: 2px;
}

.spoke-card strong {
  display: block;
  font-size: 0.86rem;
  color: var(--white);
}

.spoke-card span {
  font-size: 0.76rem;
  color: #94A3B8;
  line-height: 1.35;
}

.spoke-card-featured {
  flex-direction: column;
  gap: 4px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.18), rgba(0, 144, 212, 0.16));
  border-color: rgba(155, 216, 246, 0.32);
}

.spoke-badge {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--sky-300);
}

.spoke-link {
  margin-top: 4px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--sky-300);
}

/* ==========================================================================
   Shared Section Styles
   ========================================================================== */
.section {
  padding: 88px 0;
}

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

.section-tint {
  background: var(--slate-50);
  border-top: 1px solid var(--slate-100);
  border-bottom: 1px solid var(--slate-100);
}

.section-dark {
  background: linear-gradient(160deg, var(--navy-950) 0%, var(--navy-900) 100%);
  color: #CBD5E1;
}

.section-header {
  margin-bottom: 48px;
}

.section-header.centered {
  text-align: center;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cyan-500);
  margin-bottom: 10px;
}

.eyebrow-light {
  color: var(--sky-300);
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.title-light {
  color: var(--white);
}

.section-subtitle {
  font-size: 1.04rem;
  color: var(--slate-500);
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: start;
}

.lead-text {
  font-size: 1.2rem;
  color: var(--navy-900);
  line-height: 1.55;
  margin-bottom: 18px;
}

.pillars-stack {
  display: grid;
  gap: 16px;
}

.pillar-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 22px;
  border-radius: var(--radius-md);
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  transition: transform var(--transition), border-color var(--transition);
}

.pillar-card:hover {
  transform: translateY(-2px);
  border-color: var(--cyan-500);
}

.pillar-number {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--royal-600);
  background: var(--sky-100);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
}

.pillar-card h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.pillar-card p {
  font-size: 0.94rem;
  color: var(--slate-500);
}

/* ==========================================================================
   Products & Brands — Featured Courseexe Showcase
   ========================================================================== */
.featured-brand-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-lg);
  margin-bottom: 48px;
}

.featured-brand-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 22px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--slate-200);
}

.ownership-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--sky-100);
  color: var(--navy-900);
  font-size: 0.82rem;
  font-weight: 600;
}

.ownership-tag svg {
  color: var(--royal-600);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.status-live {
  background: #DCFCE7;
  color: #166534;
}

.status-dev {
  background: var(--sky-100);
  color: var(--royal-700);
}

.courseexe-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: start;
}

.courseexe-title {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 800;
  background: linear-gradient(120deg, var(--navy-900), var(--cx-indigo), var(--cx-purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.courseexe-pos {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--royal-600);
  margin-top: 4px;
}

.courseexe-tagline {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy-900);
  margin: 14px 0 10px;
}

.courseexe-desc {
  font-size: 0.96rem;
  color: var(--slate-500);
  margin-bottom: 22px;
}

/* Category Tabs */
.courseexe-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.tab-btn {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--slate-200);
  background: var(--slate-50);
  color: var(--slate-700);
  font-family: var(--font-sans);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.tab-btn:hover {
  border-color: var(--royal-600);
  color: var(--royal-600);
}

.tab-btn.active {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: var(--white);
}

.courseexe-tab-panel {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 18px;
  margin-bottom: 24px;
}

.cx-panel-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 10px;
}

.cx-tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px;
}

.cx-tool-item {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--navy-900);
}

.cx-tool-item span {
  display: block;
  font-size: 0.76rem;
  font-weight: 400;
  color: var(--slate-500);
  margin-top: 2px;
}

.courseexe-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.courseexe-url-link {
  font-family: var(--font-mono);
  font-size: 0.86rem;
  color: var(--slate-500);
}

/* Courseexe Visuals & Mockup */
.courseexe-visuals {
  display: grid;
  gap: 18px;
}

.courseexe-logo-banner {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
}

.courseexe-logo-banner img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.workspace-mockup {
  background: #0F172A;
  border: 1px solid #1E293B;
  border-radius: var(--radius-md);
  overflow: hidden;
  color: #E2E8F0;
  box-shadow: var(--shadow-md);
}

.mockup-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: #0B1120;
  border-bottom: 1px solid #1E293B;
}

.mockup-dots {
  display: flex;
  gap: 6px;
}

.mockup-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #334155;
}

.mockup-address {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #94A3B8;
}

.mockup-pill {
  font-size: 0.68rem;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(99, 102, 241, 0.2);
  color: #A5B4FC;
  font-weight: 600;
}

.mockup-body {
  display: grid;
  grid-template-columns: 128px 1fr;
  min-height: 205px;
}

.mockup-sidebar {
  background: #0F172A;
  border-right: 1px solid #1E293B;
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mockup-brand-mini {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: #C7D2FE;
  margin-bottom: 6px;
  padding-left: 6px;
}

.mockup-nav-item {
  font-size: 0.72rem;
  color: #94A3B8;
  padding: 6px 8px;
  border-radius: 6px;
}

.mockup-nav-item.active {
  background: rgba(99, 102, 241, 0.25);
  color: var(--white);
  font-weight: 600;
}

.mockup-main {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mockup-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.mockup-stat {
  background: #1E293B;
  padding: 9px;
  border-radius: 8px;
}

.ms-label {
  display: block;
  font-size: 0.66rem;
  color: #94A3B8;
}

.ms-val {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--white);
}

.mockup-cards-row {
  display: grid;
  gap: 8px;
}

.mockup-mini-card {
  background: rgba(30, 41, 59, 0.65);
  border: 1px solid #334155;
  border-radius: 8px;
  padding: 10px;
}

.mockup-mini-card strong {
  display: block;
  font-size: 0.78rem;
  color: var(--white);
}

.mockup-mini-card span {
  font-size: 0.7rem;
  color: #94A3B8;
}

/* Future Products Grid */
.future-header {
  margin-bottom: 22px;
}

.future-header h3 {
  font-size: 1.4rem;
  margin-bottom: 6px;
}

.future-header p {
  color: var(--slate-500);
  font-size: 0.96rem;
}

.product-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 26px;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.product-card-pipeline {
  border-style: dashed;
  background: rgba(255, 255, 255, 0.72);
}

.product-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.product-logo-box {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--slate-200);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-logo-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-logo-projectsly img {
  object-fit: contain;
  padding: 6px;
}

.product-category {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--cyan-500);
  margin-bottom: 6px;
}

.product-card h4 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.product-card p {
  font-size: 0.94rem;
  color: var(--slate-500);
  flex-grow: 1;
  margin-bottom: 18px;
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--slate-100);
  font-size: 0.84rem;
}

.product-owner {
  color: var(--slate-500);
  font-weight: 500;
}

.product-link {
  font-weight: 600;
}

/* ==========================================================================
   Capabilities Grid
   ========================================================================== */
.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.capability-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.capability-card:hover {
  transform: translateY(-3px);
  border-color: var(--royal-600);
  box-shadow: var(--shadow-md);
}

.cap-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--sky-100);
  color: var(--royal-600);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.capability-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.capability-card p {
  font-size: 0.94rem;
  color: var(--slate-500);
}

/* ==========================================================================
   Technology Approach (Dark Section)
   ========================================================================== */
.approach-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.approach-lead {
  color: #CBD5E1;
  margin-bottom: 24px;
}

.principles-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.principles-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-weight: 500;
}

.check-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cyan-400);
  box-shadow: 0 0 10px rgba(41, 170, 227, 0.7);
  flex-shrink: 0;
}

.tech-ecosystem-panel {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(155, 216, 246, 0.18);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.tech-panel-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--sky-300);
}

.tech-panel-note {
  font-size: 0.76rem;
  font-weight: 500;
  color: #94A3B8;
}

.tech-domains-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.tech-domain-card {
  background: rgba(6, 11, 30, 0.55);
  border: 1px solid rgba(155, 216, 246, 0.14);
  border-radius: var(--radius-md);
  padding: 16px;
}

.tech-domain-wide {
  grid-column: span 2;
}

.domain-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--cyan-400);
}

.tech-domain-card h4 {
  color: var(--white);
  font-size: 0.98rem;
  margin: 4px 0 6px;
}

.tech-domain-card p {
  font-size: 0.84rem;
  color: #94A3B8;
}

/* ==========================================================================
   Vision & Mission
   ========================================================================== */
.vision-mission-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.vm-card {
  border-radius: var(--radius-lg);
  padding: 38px;
}

.vm-vision {
  background: var(--navy-900);
  color: var(--white);
}

.vm-vision h3 {
  color: var(--white);
}

.vm-vision p {
  color: #CBD5E1;
}

.vm-mission {
  background: var(--sky-100);
  border: 1px solid #C6E8FA;
  color: var(--navy-900);
}

.vm-label {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cyan-500);
  margin-bottom: 10px;
}

.vm-vision .vm-label {
  color: var(--sky-300);
}

.vm-card h3 {
  font-size: 1.55rem;
  margin-bottom: 14px;
}

/* ==========================================================================
   Why Projectsly & Development Philosophy
   ========================================================================== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.why-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 26px;
}

.why-card h3 {
  font-size: 1.12rem;
  margin-bottom: 8px;
}

.why-card p {
  font-size: 0.94rem;
  color: var(--slate-500);
}

.why-card-accent {
  background: linear-gradient(135deg, var(--navy-900), var(--royal-700));
  color: var(--white);
  border-color: transparent;
}

.why-card-accent h3 {
  color: var(--white);
}

.why-card-accent p {
  color: #DCE9F9;
}

.timeline-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}

.timeline-step {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 26px 22px;
}

.step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--royal-600), var(--cyan-500));
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.86rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.timeline-step h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.timeline-step p {
  font-size: 0.92rem;
  color: var(--slate-500);
}

/* ==========================================================================
   Recognition / Social Proof
   ========================================================================== */
.recognition-featured-card {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 32px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-md);
  margin-bottom: 24px;
}

.recognition-featured-info h3 {
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.recognition-featured-info p {
  font-size: 0.98rem;
  color: var(--slate-500);
  margin-bottom: 18px;
}

.cert-meta-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cert-meta-pills span {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--sky-100);
  border: 1px solid #CBE7F7;
  font-size: 0.82rem;
  color: var(--navy-900);
}

.certificate-frame {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--slate-200);
  background: var(--slate-50);
  box-shadow: var(--shadow-sm);
}

.certificate-trigger {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
}

.certificate-trigger img {
  width: 100%;
  height: auto;
  transition: transform var(--transition);
}

.certificate-trigger:hover img {
  transform: scale(1.015);
}

.cert-zoom-hint {
  display: block;
  padding: 8px 12px;
  background: var(--navy-900);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  text-align: center;
}

.cert-modal[hidden] {
  display: none;
}

.cert-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.cert-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 11, 30, 0.8);
  backdrop-filter: blur(4px);
}

.cert-modal-dialog {
  position: relative;
  z-index: 1;
  max-width: 920px;
  width: 100%;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.cert-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--slate-200);
}

.cert-modal-header h4 {
  font-size: 0.96rem;
}

.cert-modal-close {
  border: none;
  background: var(--slate-100);
  color: var(--navy-900);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
}

.cert-modal-img {
  width: 100%;
  max-height: 82vh;
  object-fit: contain;
  background: var(--slate-50);
}

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

.recognition-slot {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 26px;
}

.slot-type {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--royal-600);
  margin-bottom: 8px;
}

.recognition-slot h4 {
  font-size: 1.12rem;
  margin-bottom: 8px;
}

.recognition-slot p {
  font-size: 0.92rem;
  color: var(--slate-500);
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */
.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  background: var(--white);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy-900);
  cursor: pointer;
}

.faq-icon {
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--royal-600);
  transition: transform var(--transition);
  flex-shrink: 0;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease;
}

.faq-answer p {
  padding: 0 22px 20px;
  font-size: 0.95rem;
  color: var(--slate-500);
}

/* ==========================================================================
   Contact & Partnerships
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.contact-sub {
  font-size: 1.04rem;
  color: var(--slate-500);
  margin-bottom: 24px;
}

.audience-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.audience-chips span {
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--slate-200);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--navy-900);
}

.contact-assurance {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-left: 4px solid var(--royal-600);
  border-radius: var(--radius-md);
  padding: 20px;
}

.contact-assurance h4 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.contact-assurance p {
  font-size: 0.9rem;
  color: var(--slate-500);
}

.contact-form-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--navy-900);
  margin-bottom: 6px;
}

.required {
  color: #DC2626;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.94rem;
  color: var(--navy-900);
  background: var(--slate-50);
  transition: border-color var(--transition), background-color var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--royal-600);
  background: var(--white);
}

.field-error {
  display: block;
  min-height: 16px;
  font-size: 0.78rem;
  color: #DC2626;
  margin-top: 4px;
}

.form-feedback {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
}

.form-feedback.success {
  background: #DCFCE7;
  border: 1px solid #86EFAC;
  color: #166534;
}

.form-feedback.error {
  background: #FEE2E2;
  border: 1px solid #FCA5A5;
  color: #991B1B;
}

.contact-email-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 36px;
}

.email-card-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: var(--sky-100);
  color: var(--royal-600);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.email-card-label {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cyan-500);
  margin-bottom: 6px;
}

.contact-email-card h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.email-card-desc {
  font-size: 0.96rem;
  color: var(--slate-500);
  margin-bottom: 20px;
}

.email-display-box {
  width: 100%;
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 22px;
}

.email-address-text {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy-900);
  word-break: break-all;
}

.email-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  width: 100%;
}

.copy-feedback {
  min-height: 20px;
  margin-top: 12px;
  font-size: 0.86rem;
  font-weight: 600;
  color: #166534;
}

/* ==========================================================================
   Final CTA & Footer
   ========================================================================== */
.final-cta-section {
  background: radial-gradient(circle at 80% 20%, #0F2958 0%, var(--navy-950) 70%);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
}

.final-cta-inner {
  max-width: 760px;
}

.final-cta-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--sky-300);
  margin-bottom: 12px;
}

.final-cta-section h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
  color: var(--white);
  margin-bottom: 14px;
}

.final-cta-section p {
  color: #CBD5E1;
  font-size: 1.05rem;
  margin-bottom: 28px;
}

.final-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.site-footer {
  background: var(--white);
  border-top: 1px solid var(--slate-200);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.9fr 0.8fr;
  gap: 36px;
  margin-bottom: 42px;
}

.footer-wordmark {
  height: 32px;
  width: auto;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.92rem;
  color: var(--slate-500);
  max-width: 340px;
}

.footer-tagline {
  font-weight: 600;
  color: var(--navy-900) !important;
  margin-top: 10px;
}

.footer-col h4 {
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.footer-col a {
  font-size: 0.92rem;
  color: var(--slate-500);
}

.footer-col a:hover {
  color: var(--royal-600);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--slate-200);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.84rem;
  color: var(--slate-500);
}

/* Legal Pages */
.legal-page {
  padding: 64px 0 88px;
  background: var(--slate-50);
  min-height: 70vh;
}

.legal-back {
  display: inline-block;
  font-weight: 600;
  margin-bottom: 20px;
}

.legal-page h1 {
  font-size: 2.2rem;
  margin-bottom: 8px;
}

.legal-meta {
  color: var(--cyan-500);
  font-weight: 600;
  margin-bottom: 32px;
}

.legal-section {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 16px;
}

.legal-section h2 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid,
  .about-grid,
  .courseexe-layout,
  .approach-grid,
  .recognition-featured-card,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

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

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

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: flex;
  }

  .main-nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--slate-200);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px;
    gap: 16px;
    display: none;
    box-shadow: var(--shadow-md);
  }

  .main-nav.open {
    display: flex;
  }

  .nav-cta {
    width: 100%;
    text-align: center;
  }

  .featured-brand-card {
    padding: 22px;
  }

  .product-cards-grid,
  .capabilities-grid,
  .vision-mission-grid,
  .why-grid,
  .timeline-grid,
  .recognition-grid,
  .form-row,
  .tech-domains-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .tech-domain-wide {
    grid-column: span 1;
  }

  .hub-spokes-grid {
    grid-template-columns: 1fr;
  }

  .mockup-body {
    grid-template-columns: 1fr;
  }

  .mockup-sidebar {
    border-right: none;
    border-bottom: 1px solid #1E293B;
    flex-direction: row;
    flex-wrap: wrap;
  }

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