/* ============================================================
   DivineCore Technologies — style.css
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&family=Syne:wght@400;600;700;800&family=DM+Sans:ital,wght@0,300;0,400;0,500;1,300&display=swap');

:root {
  --bg-deep: #050b18;
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-card-hover: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(0, 212, 255, 0.35);
  --accent: #00d4ff;
  --accent2: #7b5cf0;
  --accent3: #ff6b6b;
  --gold: #f0b429;
  --text-primary: #f0f4ff;
  --text-muted: rgba(240, 244, 255, 0.55);
  --text-faint: rgba(240, 244, 255, 0.25);
  --grad-hero: linear-gradient(135deg, #050b18 0%, #0a1628 50%, #0d0f2e 100%);
  --grad-accent: linear-gradient(135deg, #00d4ff, #7b5cf0);
  --grad-card: linear-gradient(145deg, rgba(0, 212, 255, 0.06), rgba(123, 92, 240, 0.06));
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 40px;
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 40px rgba(0, 212, 255, 0.15);
  --nav-height: 72px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

html {
  scroll-behavior: smooth
}

body {
  font-family: var(--font-body);
  background: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  cursor: none; /* hide default cursor on desktop */
}

/* ── Custom Cursor ──────────────────────────── */
.cur-dot,
.cur-ring {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 999999;
  transform: translate(-50%, -50%);
  transition-property: opacity;
  transition-duration: 0.3s;
}

/* Inner dot — snaps exactly to the pointer */
.cur-dot {
  width: 6px;
  height: 6px;
  background: #fff;
  box-shadow: 0 0 6px rgba(0,212,255,0.8);
  top: 0; left: 0;
  will-change: transform;
}

/* Outer ring — trails with CSS lerp via JS */
.cur-ring {
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(0,212,255,0.7);
  background: transparent;
  top: 0; left: 0;
  transition: width 0.3s ease, height 0.3s ease,
              border-color 0.3s ease, background 0.3s ease,
              opacity 0.3s ease;
  will-change: transform;
}

/* Hover states — ring expands & fills on links / buttons */
body.cur-hover .cur-ring {
  width: 52px;
  height: 52px;
  border-color: rgba(0,212,255,0.35);
  background: rgba(0,212,255,0.08);
}

body.cur-hover .cur-dot {
  transform: translate(-50%, -50%) scale(0);
}

/* Hide cursor UI on mobile / touch */
@media (hover: none) {
  .cur-dot, .cur-ring { display: none; }
  body { cursor: auto; }
}

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

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

ul {
  list-style: none
}

button {
  cursor: pointer;
  font-family: var(--font-body);
  border: none;
  background: none
}

::-webkit-scrollbar {
  width: 6px
}

::-webkit-scrollbar-track {
  background: var(--bg-deep)
}

::-webkit-scrollbar-thumb {
  background: var(--accent2);
  border-radius: 3px
}

h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.01em
}

h1 {
  font-size: clamp(2.4rem, 6vw, 5rem);
  font-weight: 700
}

h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 600
}

h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 600
}

h4 {
  font-size: 1.1rem;
  font-weight: 600
}

p {
  color: var(--text-muted);
  font-size: 1.0rem;
  font-weight: 300
}

.text-accent {
  color: var(--accent)
}

.text-accent2 {
  color: var(--accent2)
}

.text-gradient {
  background: var(--grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text
}

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 12px
}

.section {
  padding: 80px 0
}

.section-sm {
  padding: 60px 0
}

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

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

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px
}

.flex {
  display: flex;
  align-items: center
}

.flex-col {
  display: flex;
  flex-direction: column
}

.gap-sm {
  gap: 12px
}

.gap-md {
  gap: 24px
}

.gap-lg {
  gap: 40px
}

.center {
  text-align: center
}

.mt-sm {
  margin-top: 12px
}

.mt-md {
  margin-top: 24px
}

.mt-lg {
  margin-top: 48px
}

.mb-sm {
  margin-bottom: 12px
}

.mb-md {
  margin-bottom: 24px
}

.section-header {
  text-align: center;
  margin-bottom: 64px
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.2);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 16px
}

.section-label::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite
}

.section-header p {
  max-width: 560px;
  margin: 16px auto 0;
  font-size: 1.05rem
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 100px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden
}

.btn-primary {
  background: var(--grad-accent);
  color: #fff;
  box-shadow: 0 4px 24px rgba(0, 212, 255, 0.3)
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 212, 255, 0.5)
}

.btn-outline {
  border: 1px solid var(--border-glow);
  color: var(--accent);
  background: rgba(0, 212, 255, 0.04)
}

.btn-outline:hover {
  background: rgba(0, 212, 255, 0.1);
  transform: translateY(-2px)
}

.btn-ghost {
  color: var(--text-muted);
  padding: 14px 20px
}

.btn-ghost:hover {
  color: var(--accent)
}

.btn-sm {
  padding: 10px 22px;
  font-size: 0.85rem
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: var(--transition);
  position: relative;
  overflow: hidden
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-card);
  opacity: 0;
  transition: var(--transition)
}

.card:hover {
  border-color: var(--border-glow);
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow)
}

.card:hover::before {
  opacity: 1
}

/* NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: var(--transition);
  border-bottom: 1px solid transparent
}

.navbar.scrolled {
  background: rgba(5, 11, 24, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-color: var(--border);
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.4)
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 32px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-right: auto;
}

.nav-brand .logo-icon {
  width: 36px;
  height: 36px;
  background: var(--grad-accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #fff
}

.nav-brand span em {
  font-style: normal;
  color: var(--accent)
}

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

.nav-links a {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition)
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06)
}

.nav-cta {
  margin-left: 16px
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px
}

.hamburger span {
  display: block;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition)
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px)
}

.hamburger.open span:nth-child(2) {
  opacity: 0
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px)
}

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: rgba(5, 11, 24, 0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 20px 24px 28px;
  z-index: 999;
  flex-direction: column;
  gap: 4px
}

.mobile-menu.open {
  display: flex
}

.mobile-menu a {
  display: block;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 1rem;
  color: var(--text-muted);
  transition: var(--transition)
}

.mobile-menu a:hover,
.mobile-menu a.active {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06)
}

.mobile-menu .btn {
  margin-top: 12px;
  width: 100%;
  justify-content: center
}

/* FOOTER */
.footer {
  background: rgba(0, 0, 0, 0.4);
  border-top: 1px solid var(--border);
  padding: 70px 0 0
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px
}

.footer-brand p {
  margin-top: 16px;
  font-size: 0.92rem;
  max-width: 300px
}

.footer-brand .social-links {
  display: flex;
  gap: 12px;
  margin-top: 24px
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: var(--transition)
}

.social-link:hover {
  color: var(--accent);
  border-color: var(--border-glow);
  background: rgba(0, 212, 255, 0.08);
  transform: translateY(-2px)
}

.footer-col h4 {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 20px
}

.footer-col a {
  display: block;
  font-size: 0.92rem;
  color: var(--text-muted);
  padding: 5px 0;
  transition: var(--transition)
}

.footer-col a:hover {
  color: var(--accent);
  padding-left: 6px
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px
}

.footer-bottom p {
  font-size: 0.85rem;
  color: var(--text-faint)
}

/* BG EFFECTS */
.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0
}

.bg-orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.07) 0%, transparent 70%);
  top: -200px;
  right: -200px
}

.bg-orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(123, 92, 240, 0.08) 0%, transparent 70%);
  bottom: -100px;
  left: -150px
}

.bg-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none
}

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--grad-hero);
  padding-top: calc(var(--nav-height) + 60px)
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 100px;
  padding: 8px 18px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 24px
}

.hero-badge::before {
  content: '●';
  font-size: 0.5rem;
  animation: pulse 1.5s infinite
}

.hero h1 {
  margin-bottom: 20px
}

.typed-wrapper {
  display: block;
  min-height: 1.2em;
  margin: 8px 0
}

.hero-subtitle {
  display: block;
  color: var(--text-muted);
  font-weight: 400;
  margin-top: -10px
}

.typed-cursor {
  color: var(--accent);
  font-weight: 300;
  animation: pulse 1s infinite;
  margin-left: 2px;
  opacity: 0.8
}

.hero p {
  font-size: 1.1rem;
  max-width: 520px;
  margin-bottom: 36px
}

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

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--border)
}

.hero-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-primary)
}

.hero-stat span {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em
}

.hero-visual {
  position: relative;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.hero-visual-inner {
  position: relative;
  width: 440px;
  height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Abstract Glassmorphic Composition */
.hero-glass-comp {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 0;
  left: 0;
}

.glow-ring {
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  border: 1px solid rgba(0, 212, 255, 0.2);
  background: radial-gradient(circle at 30% 30%, rgba(0, 212, 255, 0.1), transparent 60%),
              radial-gradient(circle at 70% 70%, rgba(123, 92, 240, 0.1), transparent 60%);
  box-shadow: 0 0 60px rgba(0, 212, 255, 0.1), inset 0 0 40px rgba(123, 92, 240, 0.1);
  animation: spin 24s linear infinite;
  z-index: 1;
}

.glass-card {
  background: rgba(15, 22, 40, 0.6);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top-color: rgba(255, 255, 255, 0.2);
  border-left-color: rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  box-shadow: 0 24px 40px rgba(0, 0, 0, 0.4), 
              0 0 40px rgba(0, 212, 255, 0.1);
  position: absolute;
  z-index: 2;
}

/* Main Dashboard Card */
.main-card {
  width: 320px;
  padding: 24px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: float-glass 8s ease-in-out infinite;
}

.card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  font-weight: 600;
  font-size: 0.95rem;
  color: #fff;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(0, 212, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 212, 255, 0); }
}

.chart-bars {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 120px;
  gap: 12px;
}

.bar {
  flex: 1;
  background: linear-gradient(180deg, var(--accent) 0%, rgba(0, 212, 255, 0.1) 100%);
  border-radius: 6px 6px 0 0;
  position: relative;
  animation: rise 1.5s ease-out forwards;
  transform-origin: bottom;
}

@keyframes rise {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}

/* Secondary Stat Card */
.stat-card {
  bottom: 60px;
  right: -20px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 3;
  animation: float-glass 6s ease-in-out infinite 1s;
}

.stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(123, 92, 240, 0.2), rgba(0, 212, 255, 0.2));
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-info { display: flex; flex-direction: column; }
.stat-val { font-size: 1.1rem; font-weight: 700; color: #fff; }
.stat-label { font-size: 0.75rem; color: var(--text-faint); }

@keyframes float-glass {
  0% { transform: translateY(0) translate(-50%, -50%); }
  50% { transform: translateY(-15px) translate(-50%, -50%); }
  100% { transform: translateY(0) translate(-50%, -50%); }
}

.stat-card {
  transform: none; /* override the translate for the mini card */
}

@keyframes float-glass-mini {
  0% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}
.stat-card {
  animation: float-glass-mini 6s ease-in-out infinite 1s;
}

.hero-float-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: float 6s ease-in-out infinite;
  white-space: nowrap;
  z-index: 3;
}

.hero-float-card:nth-child(2) {
  top: 10px;
  right: -80px;
  animation-delay: 0s
}

.hero-float-card:nth-child(3) {
  bottom: 80px;
  left: -80px;
  animation-delay: -2s
}

.hero-float-card:nth-child(4) {
  bottom: 10px;
  right: -60px;
  animation-delay: -4s
}

.hero-float-card .card-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--grad-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
  flex-shrink: 0
}

.hero-float-card strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 600
}

.hero-float-card span {
  font-size: 0.75rem;
  color: var(--text-muted)
}

/* SERVICE CARDS */
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  backdrop-filter: blur(16px);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  cursor: default
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--grad-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition)
}

.service-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-8px);
  box-shadow: var(--shadow-glow)
}

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

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: var(--grad-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 24px;
  box-shadow: 0 4px 20px rgba(0, 212, 255, 0.25)
}

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

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

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

.service-link:hover {
  gap: 10px
}

/* PORTFOLIO */
.portfolio-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: var(--transition)
}

.portfolio-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow)
}

.portfolio-img {
  height: 200px;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(123, 92, 240, 0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: relative;
  overflow: hidden
}

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

.portfolio-card:hover .portfolio-img img {
  transform: scale(1.05);
}

.portfolio-body {
  padding: 24px
}

.portfolio-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.15);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 12px
}

.portfolio-body h3 {
  font-size: 1.1rem;
  margin-bottom: 8px
}

.portfolio-body p {
  font-size: 0.9rem
}

.portfolio-status {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 4px 14px;
  border-radius: 100px;
}

.portfolio-status.completed {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.portfolio-status.ongoing {
  background: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.portfolio-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center
}

/* TECH SCROLLING MARQUEE */
.tech-scroll-container {
  overflow: hidden;
  width: 100%;
  position: relative;
  margin-top: 48px;
  /* Fading edges */
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.tech-scroll-track {
  display: flex;
  width: max-content;
  animation: techScroll 35s linear infinite;
  gap: 16px;
}

.tech-scroll-track:hover {
  animation-play-state: paused;
}

@keyframes techScroll {
  to {
    /* Translate exactly half the width and account for the gap */
    transform: translateX(calc(-50% - 8px));
  }
}

.tech-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 10px 22px;
  font-size: 0.88rem;
  font-weight: 500;
  white-space: nowrap;
  transition: var(--transition);
  color: var(--text-muted);
}

.tech-pill:hover {
  border-color: var(--border-glow);
  color: var(--text-primary);
  background: rgba(0, 212, 255, 0.06);
  transform: translateY(-3px)
}

.tech-pill i {
  font-size: 1.1rem;
  color: var(--accent)
}

/* TESTIMONIALS */
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: var(--transition)
}

.testimonial-card:hover {
  border-color: var(--border-glow);
  box-shadow: var(--shadow-glow)
}

.testimonial-stars {
  color: var(--gold);
  font-size: 0.9rem;
  margin-bottom: 16px;
  letter-spacing: 2px
}

.testimonial-text {
  font-size: 0.95rem;
  font-style: italic;
  margin-bottom: 24px;
  line-height: 1.7
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px
}

.author-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--grad-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: #fff;
  font-size: 1rem;
  flex-shrink: 0;
  overflow: hidden;
}

.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-info strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600
}

.author-info span {
  font-size: 0.78rem;
  color: var(--text-muted)
}

/* WHY US */
.why-item {
  display: flex;
  gap: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: var(--transition)
}

.why-item:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow)
}

.why-icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 12px;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--accent)
}

.why-content h4 {
  margin-bottom: 8px
}

.why-content p {
  font-size: 0.9rem
}

/* CTA */
.cta-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.06) 0%, rgba(123, 92, 240, 0.1) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border)
}

.cta-section .container {
  position: relative;
  z-index: 2;
  text-align: center
}

.cta-section h2 {
  margin-bottom: 16px
}

.cta-section p {
  font-size: 1.1rem;
  margin-bottom: 36px
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap
}

/* PAGE HERO */
.page-hero {
  padding: 160px 0 80px;
  position: relative;
  overflow: hidden;
  background: var(--grad-hero)
}

.page-hero .container {
  position: relative;
  z-index: 2;
  text-align: center
}

.page-hero p {
  max-width: 600px;
  margin: 16px auto 0;
  font-size: 1.1rem
}

/* ABOUT */
.about-story .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center
}

.about-story-content h2 {
  margin-bottom: 20px
}

.about-story-content p {
  margin-bottom: 16px
}

.about-card-stack {
  position: relative;
  height: 360px
}

.about-big-card {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--grad-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem
}

.about-mini-card {
  position: absolute;
  background: rgba(5, 11, 24, 0.9);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px
}

.about-mini-card:nth-child(2) {
  bottom: 20px;
  left: -20px
}

.about-mini-card:nth-child(3) {
  top: 20px;
  right: -20px
}

.about-mini-card .mini-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--grad-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.95rem
}

.about-mini-card strong {
  font-size: 0.88rem
}

.about-mini-card span {
  font-size: 0.75rem;
  color: var(--text-muted)
}

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

.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition)
}

.value-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow)
}

.value-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--grad-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
  box-shadow: var(--shadow-glow)
}

.value-card h3 {
  margin-bottom: 12px;
  font-size: 1.1rem
}

.founder-section {
  padding: 100px 0;
  background: rgba(0, 0, 0, 0.2)
}

.founder-card {
  max-width: 1040px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0;
  overflow: hidden
}

.founder-img-wrap {
  width: 380px;
  position: relative;
  background: linear-gradient(145deg, rgba(0, 212, 255, 0.1), rgba(123, 92, 240, 0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden
}

.founder-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  filter: brightness(1.15);
}

.founder-img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 300px;
  font-size: 6rem;
  color: var(--accent);
  opacity: 0.4
}

.founder-content {
  padding: 48px 44px
}

.founder-role {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px
}

.founder-content h2 {
  margin-bottom: 20px
}

.founder-content p {
  margin-bottom: 28px;
  font-size: 0.98rem;
  line-height: 1.8
}

.founder-signature {
  margin-bottom: 28px;
  display: inline-block;
  opacity: 0.85;
}

.founder-signature img {
  height: 100px;
  width: auto;
  mix-blend-mode: screen;
  display: block;
}

.founder-links {
  display: flex;
  gap: 12px
}

.founder-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 100px;
  font-size: 0.88rem;
  font-weight: 500;
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: var(--transition)
}

.founder-link:hover {
  border-color: var(--border-glow);
  color: var(--accent);
  background: rgba(0, 212, 255, 0.06)
}

.team-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
  width: 100%;
}

.team-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.05); /* very subtle border */
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  transition: var(--transition);
  text-align: center; /* Center everything like the image */
  height: 420px; 
  width: calc(25% - 24px);
  min-width: 280px;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.team-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.02);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  z-index: 1;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.6s ease, filter 0.6s ease;
  filter: brightness(0.9);
}

/* On hover, image dims, zooms slightly, and blurs slightly like the reference */
.team-card:hover .team-photo img {
  transform: scale(1.05);
  filter: brightness(0.4) blur(2px);
}

/* The gradient overlay */
.team-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 11, 24, 0.95) 0%, rgba(5, 11, 24, 0.2) 60%, transparent 100%);
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.team-card:hover::after {
  opacity: 1;
}

/* Info container centered at bottom */
.team-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* Hidden and shifted down */
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.team-card:hover .team-info {
  opacity: 1;
  transform: translateY(0);
}

.team-info h4 {
  margin-bottom: 6px;
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
}

.team-info p {
  font-size: 0.85rem;
  color: var(--text-muted); /* grey like the reference */
  font-weight: 400;
  margin-bottom: 16px;
}

/* Socials fade in on hover */
.team-socials {
  display: flex;
  gap: 16px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.team-card:hover .team-socials {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.1s;
}

.team-socials a {
  color: var(--accent);
  font-size: 1rem;
  transition: color 0.3s ease;
}

.team-socials a:hover {
  color: #fff;
}

/* PROCESS */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  margin-top: 48px
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  z-index: 0
}

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

.step-num {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--bg-deep);
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--accent);
  position: relative;
  z-index: 1;
  transition: var(--transition)
}

.process-step:hover .step-num {
  background: var(--grad-accent);
  color: #fff;
  border-color: transparent
}

.process-step h4 {
  margin-bottom: 8px
}

.process-step p {
  font-size: 0.88rem
}

/* FILTER */
.filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 48px
}

.filter-btn {
  padding: 8px 22px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid var(--border);
  color: var(--text-muted);
  background: var(--bg-card);
  transition: var(--transition);
  cursor: pointer
}

.filter-btn:hover,
.filter-btn.active {
  border-color: var(--border-glow);
  color: var(--accent);
  background: rgba(0, 212, 255, 0.08)
}

/* CAREERS */
.job-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: var(--transition);
  flex-wrap: wrap
}

.job-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow)
}

.job-info h3 {
  margin-bottom: 8px;
  font-size: 1.1rem
}

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

.job-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted)
}

.job-tag i {
  color: var(--accent);
  font-size: 0.75rem
}

.badge-type {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px
}

.badge-fulltime {
  background: rgba(0, 212, 255, 0.1);
  color: var(--accent);
  border: 1px solid rgba(0, 212, 255, 0.2)
}

.badge-remote {
  background: rgba(123, 92, 240, 0.1);
  color: var(--accent2);
  border: 1px solid rgba(123, 92, 240, 0.2)
}

.badge-intern {
  background: rgba(240, 180, 41, 0.1);
  color: var(--gold);
  border: 1px solid rgba(240, 180, 41, 0.2)
}

.no-jobs {
  text-align: center;
  padding: 60px 24px;
  border: 1px dashed var(--border);
  border-radius: var(--radius-md)
}

.no-jobs i {
  font-size: 3rem;
  color: var(--text-faint);
  margin-bottom: 16px;
  display: block
}

/* BLOG */
.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition)
}

.blog-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow)
}

.blog-img {
  height: 200px;
  background: linear-gradient(145deg, rgba(0, 212, 255, 0.08), rgba(123, 92, 240, 0.12));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: relative;
  overflow: hidden
}

.blog-body {
  padding: 28px
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
  flex-wrap: wrap
}

.blog-cat {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.15);
  padding: 3px 12px;
  border-radius: 100px
}

.blog-date {
  font-size: 0.8rem;
  color: var(--text-faint)
}

.blog-body h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  line-height: 1.4
}

.blog-body p {
  font-size: 0.9rem
}

.blog-footer {
  padding: 16px 28px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between
}

.blog-author {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--text-muted)
}

.blog-author-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--grad-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  color: #fff
}

.read-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition)
}

.read-link:hover {
  gap: 8px
}

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

.contact-info h2 {
  margin-bottom: 16px
}

.contact-info p {
  margin-bottom: 36px
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: var(--transition)
}

.contact-item:hover {
  border-color: var(--border-glow)
}

.contact-item-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 10px;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1rem
}

.contact-item strong {
  display: block;
  font-size: 0.82rem;
  color: var(--text-faint);
  margin-bottom: 4px;
  letter-spacing: 0.08em;
  text-transform: uppercase
}

.contact-item a {
  color: var(--text-muted);
  font-size: 0.92rem;
  transition: var(--transition)
}

.contact-item a:hover {
  color: var(--accent)
}

.contact-social {
  display: flex;
  gap: 12px
}

.contact-form-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px;
  backdrop-filter: blur(16px)
}

.form-title {
  margin-bottom: 32px
}

.form-title h3 {
  margin-bottom: 8px
}

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

.form-group {
  margin-bottom: 20px
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 8px;
  text-transform: uppercase
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition);
  outline: none
}

select.form-control {
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2399a1b3' viewBox='0 0 16 16'%3E%3Cpath d='M1.5 5.5l6.5 6.5 6.5-6.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 12px;
  padding-right: 40px;
}

select.form-control option {
  background: #0d1528;
  color: #e0e6f0;
  padding: 10px;
}

.form-control::placeholder {
  color: var(--text-faint)
}

.form-control:focus {
  border-color: var(--border-glow);
  background: rgba(0, 212, 255, 0.04);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.08)
}

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

.form-submit {
  width: 100%
}

.form-success {
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.25);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  display: none;
  color: var(--accent);
  font-weight: 500
}

.form-error {
  background: rgba(255, 107, 107, 0.08);
  border: 1px solid rgba(255, 107, 107, 0.25);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  margin-bottom: 16px;
  display: none;
  color: #ff6b6b;
  font-size: 0.88rem
}

.map-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  margin-top: 60px;
  height: 380px
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block
}

.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent)
}

/* ANIMATIONS */
@keyframes pulse {

  0%,
  100% {
    opacity: 1
  }

  50% {
    opacity: 0.4
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-12px)
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg)
  }

  to {
    transform: rotate(360deg)
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

@keyframes fadeIn {
  from {
    opacity: 0
  }

  to {
    opacity: 1
  }
}

.animate-fade-up {
  animation: fadeInUp 0.7s ease forwards
}

.animate-fade {
  animation: fadeIn 0.7s ease forwards
}

.animate-delay-1 {
  animation-delay: 0.1s;
  opacity: 0
}

.animate-delay-2 {
  animation-delay: 0.2s;
  opacity: 0
}

.animate-delay-3 {
  animation-delay: 0.3s;
  opacity: 0
}

.animate-delay-4 {
  animation-delay: 0.4s;
  opacity: 0
}

.animate-delay-5 {
  animation-delay: 0.5s;
  opacity: 0
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease
}

.reveal.visible {
  opacity: 1;
  transform: none
}

.reveal-left {
  opacity: 0;
  transform: translateX(-28px);
  transition: opacity 0.7s ease, transform 0.7s ease
}

.reveal-left.visible {
  opacity: 1;
  transform: none
}

.reveal-right {
  opacity: 0;
  transform: translateX(28px);
  transition: opacity 0.7s ease, transform 0.7s ease
}

.reveal-right.visible {
  opacity: 1;
  transform: none
}

/* RESPONSIVE */
@media(max-width:1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px
  }

  .team-grid {
    gap: 24px;
  }

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

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

  .hero .container {
    grid-template-columns: 1fr;
    text-align: center
  }

  .hero p {
    max-width: 100%
  }

  .hero-actions {
    justify-content: center
  }

  .hero-stats {
    justify-content: center
  }

  .hero-visual {
    display: none
  }

  .about-story .container {
    grid-template-columns: 1fr
  }

  .about-story-visual {
    display: none
  }

  .contact-grid {
    grid-template-columns: 1fr
  }

  .founder-card {
    grid-template-columns: 1fr
  }

  .founder-img-wrap {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
  }

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

@media(max-width:768px) {
  .section {
    padding: 70px 0
  }

  .grid-2 {
    grid-template-columns: 1fr
  }

  .grid-3 {
    grid-template-columns: 1fr
  }

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

  .nav-links,
  .nav-cta {
    display: none
  }

  .hamburger {
    display: flex
  }

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

  .values-grid {
    grid-template-columns: 1fr
  }

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

  .contact-form-wrap {
    padding: 28px 20px
  }

  .team-grid {
    gap: 20px;
  }

  .job-card {
    flex-direction: column;
    align-items: flex-start
  }
}

@media(max-width:480px) {
  .grid-4 {
    grid-template-columns: 1fr
  }

  .hero-stats {
    flex-direction: column;
    gap: 24px;
    align-items: center
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.88rem
  }

  h1 {
    font-size: 2rem
  }

  h2 {
    font-size: 1.6rem
  }

  .team-grid {
    flex-direction: column;
    align-items: center;
  }
}

/* =========================================
   PREMIUM LOADER
   ========================================= */
.prl {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #050b18;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  will-change: transform;
}

/* Ambient background */
.prl-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(0,212,255,0.07) 0%, transparent 65%),
    radial-gradient(ellipse 50% 50% at 80% 80%, rgba(123,92,240,0.07) 0%, transparent 60%);
  pointer-events: none;
}

/* Central body */
.prl-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  position: relative;
  z-index: 2;
}

/* === LOGO RING === */
.prl-logo-ring {
  position: relative;
  width: 140px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.prl-ring-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: prlRotate 3s linear infinite;
  transform-origin: center;
}

/* SVG ring draw animation */
.prl-ring-circle {
  /* circumference = 2π × 56 ≈ 351.9 */
  stroke-dasharray: 351.9;
  stroke-dashoffset: 351.9;
  animation: prlRingDraw 1.2s cubic-bezier(0.4,0,0.2,1) forwards;
}

@keyframes prlRotate {
  to { transform: rotate(360deg); }
}

@keyframes prlRingDraw {
  to { stroke-dashoffset: 0; }
}

/* Logo inside ring */
.prl-logo-inner {
  position: relative;
  z-index: 2;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(5,11,24,0.6);
  border-radius: 50%;
  backdrop-filter: blur(4px);
}

.prl-logo {
  width: 72%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(0,212,255,0.35));
  animation: prlLogoIn 0.7s cubic-bezier(0.16,1,0.3,1) both;
}

@keyframes prlLogoIn {
  from { opacity: 0; transform: scale(0.7); }
  to   { opacity: 1; transform: scale(1);   }
}

/* === NAME CLIP REVEAL === */
.prl-name-wrap {
  overflow: hidden;
  line-height: 1;
}

.prl-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: #f0f4ff;
  letter-spacing: 0.1em;
  transform: translateY(100%);
  animation: prlSlideUp 0.7s cubic-bezier(0.16,1,0.3,1) forwards 0.5s;
}

.prl-name em {
  font-style: normal;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.prl-name span {
  opacity: 0.6;
}

/* === TAGLINE CLIP REVEAL === */
.prl-tagline-wrap {
  overflow: hidden;
  line-height: 1;
}

.prl-tagline {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 400;
  color: rgba(240,244,255,0.35);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin: 0;
  transform: translateY(100%);
  animation: prlSlideUp 0.7s cubic-bezier(0.16,1,0.3,1) forwards 0.7s;
}

@keyframes prlSlideUp {
  to { transform: translateY(0); }
}

/* === % COUNTER bottom-right === */
.prl-pct {
  position: absolute;
  bottom: 28px;
  right: 36px;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(0,212,255,0.55);
  opacity: 0;
  animation: prlFadeIn 0.4s ease forwards 0.9s;
}

.prl-pct::after {
  content: '%';
  margin-left: 1px;
}

@keyframes prlFadeIn {
  to { opacity: 1; }
}

/* === BOTTOM PROGRESS BAR === */
.prl-progress-wrap {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(255,255,255,0.05);
}

.prl-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--grad-accent);
  box-shadow: 0 0 16px rgba(0,212,255,0.8), 0 0 40px rgba(0,212,255,0.3);
  transition: width 0.08s linear;
  position: relative;
}

/* Glowing tip on the progress bar */
.prl-progress-bar::after {
  content: '';
  position: absolute;
  right: -1px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 10px var(--accent), 0 0 20px var(--accent);
}

/* === EXIT — full screen slides up === */
.prl.prl-exit {
  transition: transform 0.85s cubic-bezier(0.76,0,0.24,1);
  transform: translateY(-100%);
}