/* ============================================
   AppXValley — Main Stylesheet
   ============================================ */

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

:root {
  --bg: #06060a;
  --bg2: #0d0d18;
  --bg3: #111126;
  --accent: #7c5cfc;
  --accent2: #c084fc;
  --accent3: #38bdf8;
  --text: #f0eeff;
  --muted: #8b85aa;
  --border: rgba(124, 92, 252, 0.18);
  --glow: rgba(124, 92, 252, 0.35);
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  overflow-x: hidden;
  cursor: none;
}

/* ============================================
   NOISE OVERLAY
   ============================================ */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
  opacity: 0.35;
}

/* ============================================
   CUSTOM CURSOR
   ============================================ */
#cursor {
  position: fixed;
  width: 12px;
  height: 12px;
  background: var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.08s, width 0.2s, height 0.2s, opacity 0.2s;
  mix-blend-mode: exclusion;
}

#cursor-ring {
  position: fixed;
  width: 40px;
  height: 40px;
  border: 1.5px solid rgba(124, 92, 252, 0.6);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: left 0.12s ease-out, top 0.12s ease-out,
              width 0.25s, height 0.25s, border-color 0.2s;
}

body:has(a:hover) #cursor-ring,
body:has(button:hover) #cursor-ring {
  width: 60px;
  height: 60px;
  border-color: var(--accent2);
}

/* ============================================
   NAVIGATION
   ============================================ */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.4s, backdrop-filter 0.4s, border-bottom 0.4s;
}

nav.scrolled {
  background: rgba(6, 6, 10, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 22px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.5px;
}

.nav-logo img {
  height: 32px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 36px;
  margin-left: auto;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.3px;
  transition: color 0.2s;
  cursor: none;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-cta {
  background: var(--accent);
  color: #fff;
  padding: 10px 24px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  cursor: none;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 0 24px var(--glow);
}

.nav-cta:hover {
  transform: scale(1.05);
  box-shadow: 0 0 40px var(--glow);
}

/* ============================================
   HERO SECTION
   ============================================ */
#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 24px 60px;
  position: relative;
  overflow: hidden;
}

#hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 30%, transparent 80%);
  animation: gridFloat 8s ease-in-out infinite;
}

@keyframes gridFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* Orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  animation: orbFloat 10s ease-in-out infinite;
}

.orb1 {
  width: 500px;
  height: 500px;
  background: rgba(124, 92, 252, 0.18);
  top: -100px;
  left: -100px;
  animation-delay: 0s;
}

.orb2 {
  width: 400px;
  height: 400px;
  background: rgba(192, 132, 252, 0.12);
  bottom: -80px;
  right: -80px;
  animation-delay: 3s;
}

.orb3 {
  width: 300px;
  height: 300px;
  background: rgba(56, 189, 248, 0.1);
  top: 30%;
  right: 20%;
  animation-delay: 6s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 30px) scale(0.95); }
}

/* Hero badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(124, 92, 252, 0.12);
  border: 1px solid var(--border);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 12px;
  color: var(--accent2);
  font-weight: 500;
  margin-bottom: 32px;
  letter-spacing: 1px;
  text-transform: uppercase;
  position: relative;
  z-index: 2;
  animation: fadeUp 0.8s ease both;
}

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

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* Hero title */
h1.hero-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(40px, 5.2vw, 68px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -2.2px;
  position: relative;
  z-index: 2;
  animation: fadeUp 0.8s 0.1s ease both;
}

.grad-text {
  background: linear-gradient(135deg, #fff 0%, var(--accent2) 50%, var(--accent3) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Hero subtitle */
.hero-sub {
  max-width: 560px;
  margin: 28px auto 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
  position: relative;
  z-index: 2;
  animation: fadeUp 0.8s 0.2s ease both;
}

/* Hero action buttons */
.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 44px;
  position: relative;
  z-index: 2;
  animation: fadeUp 0.8s 0.3s ease both;
}

/* Phone mockup */
.hero-phone {
  margin-top: 72px;
  position: relative;
  z-index: 2;
  animation: fadeUp 0.8s 0.4s ease both;
}

.phone-wrap {
  position: relative;
  display: inline-block;
  will-change: transform;
  transition: transform 0.1s ease-out;
  perspective: 1000px;
}

.phone-frame {
  width: 240px;
  height: 480px;
  background: linear-gradient(160deg, #1e1a3a, #0d0b1e);
  border-radius: 40px;
  border: 1.5px solid rgba(124, 92, 252, 0.4);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 40px 80px rgba(0, 0, 0, 0.6),
    0 0 80px rgba(124, 92, 252, 0.2);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 16px;
  position: relative;
}

.phone-frame img.phone-screenshot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 40px;
  opacity: 0.85;
}

.phone-notch {
  width: 80px;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  margin-bottom: 24px;
  position: relative;
  z-index: 2;
}

.phone-app-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 16px;
  box-shadow: 0 8px 24px var(--glow);
  position: relative;
  z-index: 2;
}

.phone-app-icon img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.phone-text-block {
  text-align: center;
  position: relative;
  z-index: 2;
}

.phone-text-block h3 {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.phone-text-block p {
  font-size: 11px;
  color: var(--muted);
}

.phone-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  width: 100%;
  margin-top: 24px;
  position: relative;
  z-index: 2;
}

.phone-stat {
  background: rgba(124, 92, 252, 0.1);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 8px;
  text-align: center;
}

.phone-stat .val {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--accent2);
}

.phone-stat .lbl {
  font-size: 9px;
  color: var(--muted);
  margin-top: 2px;
}

/* ============================================
   TICKER
   ============================================ */
.ticker-wrap {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  background: rgba(124, 92, 252, 0.03);
  position: relative;
  z-index: 2;
}

.ticker {
  display: flex;
  gap: 64px;
  width: max-content;
  animation: ticker 20s linear infinite;
}

.ticker-item {
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ticker-item::before {
  content: '✦';
  color: var(--accent);
  font-size: 10px;
}

@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================
   SECTION COMMONS
   ============================================ */
section {
  position: relative;
  z-index: 2;
}

.section-label {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 800;
  letter-spacing: -1.2px;
  line-height: 1.15;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  padding: 14px 32px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  cursor: none;
  box-shadow: 0 0 32px var(--glow);
  transition: transform 0.2s, box-shadow 0.2s;
  display: inline-block;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 48px var(--glow);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 14px 32px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  cursor: none;
  backdrop-filter: blur(10px);
  transition: background 0.2s, border-color 0.2s;
  display: inline-block;
}

.btn-ghost:hover {
  background: rgba(124, 92, 252, 0.1);
  border-color: var(--accent);
}

/* ============================================
   FEATURES SECTION
   ============================================ */
#features {
  padding: 120px 48px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.features-header {
  text-align: center;
  margin-bottom: 80px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.feature-card {
  background: linear-gradient(135deg, rgba(124, 92, 252, 0.06), rgba(192, 132, 252, 0.04));
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 32px;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
  cursor: none;
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at var(--mx, 50%) var(--my, 50%),
    rgba(124, 92, 252, 0.08),
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.3s;
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card:hover {
  border-color: rgba(124, 92, 252, 0.5);
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(124, 92, 252, 0.1);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
  box-shadow: 0 8px 20px var(--glow);
}

.feature-icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.feature-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}

.feature-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

/* ============================================
   PHASES SECTION
   ============================================ */
#phases {
  padding: 120px 48px;
  background: linear-gradient(
    180deg,
    transparent,
    var(--bg2) 20%,
    var(--bg2) 80%,
    transparent
  );
}

.phases-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.phases-header {
  text-align: center;
  margin-bottom: 80px;
}

.phases-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.phases-list::before {
  content: '';
  position: absolute;
  left: 32px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(
    to bottom,
    transparent,
    var(--border) 20%,
    var(--border) 80%,
    transparent
  );
}

.phase-item {
  display: grid;
  grid-template-columns: 80px 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 48px 0;
  border-bottom: 1px solid rgba(124, 92, 252, 0.08);
  position: relative;
}

.phase-item:last-child {
  border-bottom: none;
}

.phase-num {
  font-family: 'Inter', sans-serif;
  font-size: 48px;
  font-weight: 800;
  color: rgba(124, 92, 252, 0.15);
  line-height: 1;
  position: relative;
  z-index: 1;
}

.phase-dot {
  position: absolute;
  left: 28px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  transform: translateY(-50%);
  box-shadow: 0 0 16px var(--glow);
}

.phase-content h3 {
  font-family: 'Inter', sans-serif;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.phase-content p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.phase-visual {
  background: linear-gradient(
    135deg,
    rgba(124, 92, 252, 0.08),
    rgba(56, 189, 248, 0.06)
  );
  border: 1px solid var(--border);
  border-radius: 20px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.phase-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  opacity: 0.8;
}

.phase-visual .phase-emoji {
  font-size: 48px;
}

/* ============================================
   STATS SECTION
   ============================================ */
#stats {
  padding: 100px 48px;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin-top: 60px;
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
}

.stat-item {
  padding: 48px 24px;
  background: rgba(124, 92, 252, 0.03);
  border-right: 1px solid var(--border);
  transition: background 0.3s;
}

.stat-item:last-child {
  border-right: none;
}

.stat-item:hover {
  background: rgba(124, 92, 252, 0.08);
}

.stat-num {
  font-family: 'Inter', sans-serif;
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -2px;
  background: linear-gradient(135deg, var(--text), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  color: var(--muted);
  font-size: 14px;
  margin-top: 8px;
}

/* ============================================
   CTA SECTION
   ============================================ */
#cta {
  padding: 160px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

#cta .cta-orb {
  width: 600px;
  height: 600px;
  background: rgba(124, 92, 252, 0.15);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: blur(120px);
  position: absolute;
}

#cta .inner {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}

#cta h2 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 800;
  letter-spacing: -1.8px;
  line-height: 1.05;
  margin-bottom: 24px;
}

#cta p {
  color: var(--muted);
  font-size: 18px;
  margin-bottom: 44px;
  line-height: 1.6;
}

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

/* ============================================
   FOOTER
   ============================================ */
footer {
  padding: 48px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 13px;
  position: relative;
  z-index: 2;
}

.footer-logo {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 18px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-logo img {
  height: 28px;
  width: auto;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
  cursor: none;
}

.footer-links a:hover {
  color: var(--text);
}

/* ============================================
   SCROLL REVEAL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ============================================
   KEYFRAME ANIMATIONS
   ============================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  nav {
    padding: 16px 20px;
  }

  .nav-links {
    display: none;
  }

  #features {
    padding: 80px 20px;
  }

  #phases {
    padding: 80px 20px;
  }

  .phase-item {
    grid-template-columns: 60px 1fr;
  }

  .phase-visual {
    display: none;
  }

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

  footer {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
}

/* ============================================
   MULTI-PAGE ADDITIONS
   ============================================ */

/* Page Hero (inner pages) */
.page-hero {
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 24px 80px;
  position: relative;
  overflow: hidden;
}
.page-hero .orb1 { width: 400px; height: 400px; top: -120px; left: -80px; }
.page-hero .orb2 { width: 300px; height: 300px; bottom: -60px; right: -60px; }

.page-hero-label {
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--accent); font-weight: 600; margin-bottom: 16px;
  position: relative; z-index: 2;
  animation: fadeUp 0.7s ease both;
}
.page-hero h1 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(36px, 4.5vw, 60px);
  font-weight: 800; letter-spacing: -2px; line-height: 1.05;
  position: relative; z-index: 2;
  animation: fadeUp 0.7s 0.1s ease both;
}
.page-hero p {
  max-width: 540px; margin: 20px auto 0;
  color: var(--muted); font-size: 17px; line-height: 1.7;
  position: relative; z-index: 2;
  animation: fadeUp 0.7s 0.2s ease both;
}

/* App Cards Grid */
.apps-section {
  max-width: 1200px; margin: 0 auto;
  padding: 80px 48px 120px;
}

.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
  margin-top: 60px;
}

.app-card {
  background: linear-gradient(135deg, rgba(124,92,252,0.07), rgba(192,132,252,0.04));
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 36px 32px;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  cursor: none;
  position: relative;
  overflow: hidden;
}
.app-card::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at var(--mx,50%) var(--my,50%), rgba(124,92,252,0.07), transparent 65%);
  opacity: 0; transition: opacity 0.3s;
}
.app-card:hover::before { opacity: 1; }
.app-card:hover {
  transform: translateY(-8px);
  border-color: rgba(124,92,252,0.45);
  box-shadow: 0 28px 64px rgba(0,0,0,0.45), 0 0 48px rgba(124,92,252,0.1);
}

.app-card-top {
  display: flex; align-items: center; gap: 16px; margin-bottom: 20px;
}
.app-icon-wrap {
  width: 64px; height: 64px; border-radius: 18px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  display: flex; align-items: center; justify-content: center;
  font-size: 30px; flex-shrink: 0;
  box-shadow: 0 8px 24px var(--glow);
  position: relative; z-index: 1;
}
.app-icon-wrap img { width: 40px; height: 40px; object-fit: contain; }

.app-card-meta { position: relative; z-index: 1; }
.app-card-meta h3 {
  font-family: 'Inter', sans-serif;
  font-size: 20px; font-weight: 700; letter-spacing: -0.4px;
  margin-bottom: 4px;
}
.app-card-meta .app-category {
  font-size: 12px; color: var(--accent2); font-weight: 500;
  letter-spacing: 0.5px;
}

.app-card p {
  color: var(--muted); font-size: 14px; line-height: 1.7;
  margin-bottom: 24px; position: relative; z-index: 1;
}

.app-tags {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 24px; position: relative; z-index: 1;
}
.app-tag {
  background: rgba(124,92,252,0.12); border: 1px solid var(--border);
  color: var(--muted); font-size: 11px; font-weight: 500;
  padding: 4px 10px; border-radius: 100px; letter-spacing: 0.3px;
}

.app-card-footer {
  display: flex; align-items: center; justify-content: space-between;
  position: relative; z-index: 1;
}
.app-status {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 500;
}
.app-status.live { color: #4ade80; }
.app-status.soon { color: var(--accent2); }
.app-status::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: currentColor;
}
.app-status.live::before { animation: pulse 2s infinite; }

.btn-app-store {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  color: var(--text); padding: 8px 16px; border-radius: 100px;
  font-size: 12px; font-weight: 500; text-decoration: none; cursor: none;
  transition: background 0.2s, border-color 0.2s;
}
.btn-app-store:hover { background: rgba(124,92,252,0.15); border-color: var(--accent); }

/* Web Solutions Portfolio */
.portfolio-section {
  max-width: 1200px; margin: 0 auto;
  padding: 80px 48px 120px;
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px; margin-top: 60px;
}
.portfolio-card {
  border: 1px solid var(--border);
  border-radius: 24px; overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  cursor: none;
  background: rgba(124,92,252,0.04);
}
.portfolio-card:hover {
  transform: translateY(-6px);
  border-color: rgba(124,92,252,0.45);
  box-shadow: 0 24px 56px rgba(0,0,0,0.4);
}
.portfolio-preview {
  height: 200px;
  display: flex; align-items: center; justify-content: center;
  font-size: 56px;
  position: relative; overflow: hidden;
}
.portfolio-preview img {
  width: 100%; height: 100%; object-fit: cover;
}
.portfolio-preview .preview-placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 56px;
}
.portfolio-info { padding: 24px 28px; }
.portfolio-info h3 {
  font-family: 'Inter', sans-serif;
  font-size: 18px; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.3px;
}
.portfolio-info p { color: var(--muted); font-size: 14px; line-height: 1.6; margin-bottom: 16px; }
.portfolio-tech {
  display: flex; flex-wrap: wrap; gap: 6px;
}
.portfolio-tech span {
  background: rgba(56,189,248,0.1); border: 1px solid rgba(56,189,248,0.2);
  color: var(--accent3); font-size: 11px; padding: 3px 10px;
  border-radius: 100px; font-weight: 500;
}

/* AI Automation Services */
.services-section {
  max-width: 1100px; margin: 0 auto;
  padding: 80px 48px 120px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px; margin-top: 60px;
}
.service-card {
  background: linear-gradient(135deg, rgba(56,189,248,0.05), rgba(124,92,252,0.05));
  border: 1px solid var(--border);
  border-radius: 24px; padding: 32px;
  transition: transform 0.3s, border-color 0.3s;
  cursor: none;
}
.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(56,189,248,0.35);
}
.service-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: linear-gradient(135deg, var(--accent3), var(--accent));
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 20px;
  box-shadow: 0 8px 20px rgba(56,189,248,0.25);
}
.service-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 18px; font-weight: 700; margin-bottom: 10px;
}
.service-card p { color: var(--muted); font-size: 14px; line-height: 1.7; }
.service-stack {
  margin-top: 20px; display: flex; flex-wrap: wrap; gap: 6px;
}
.service-stack span {
  background: rgba(124,92,252,0.1); border: 1px solid var(--border);
  color: var(--muted); font-size: 11px; padding: 3px 9px;
  border-radius: 100px;
}

/* Blog */
.blog-section {
  max-width: 1000px; margin: 0 auto;
  padding: 80px 48px 120px;
  position: relative;
  z-index: 2;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px; margin-top: 60px;
}
.blog-card {
  display: block;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--border); border-radius: 20px;
  overflow: hidden; transition: transform 0.3s, border-color 0.3s;
  cursor: none; background: rgba(124,92,252,0.03);
}
.blog-card:hover {
  transform: translateY(-5px);
  border-color: rgba(124,92,252,0.4);
}
.blog-cover {
  height: 160px; background: linear-gradient(135deg, rgba(124,92,252,0.15), rgba(56,189,248,0.1));
  display: flex; align-items: center; justify-content: center; font-size: 44px;
}
.blog-cover img { width: 100%; height: 100%; object-fit: cover; }
.blog-body { padding: 20px 22px; }
.blog-meta {
  display: flex; align-items: center; gap: 10px; margin-bottom: 10px;
}
.blog-tag {
  font-size: 10px; letter-spacing: 1px; text-transform: uppercase;
  color: var(--accent2); font-weight: 600;
}
.blog-date { font-size: 11px; color: var(--muted); }
.blog-body h3 {
  font-family: 'Inter', sans-serif;
  font-size: 16px; font-weight: 700; line-height: 1.4;
  margin-bottom: 8px; letter-spacing: -0.2px;
}
.blog-body p { color: var(--muted); font-size: 13px; line-height: 1.6; }

/* Contact */
.contact-section {
  max-width: 800px; margin: 0 auto;
  padding: 80px 48px 120px;
}
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; margin-top: 60px;
  align-items: start;
}
.contact-info h3 {
  font-family: 'Inter', sans-serif;
  font-size: 24px; font-weight: 700; margin-bottom: 16px;
}
.contact-info p { color: var(--muted); font-size: 15px; line-height: 1.7; margin-bottom: 32px; }
.contact-item {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 16px;
}
.contact-item-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(124,92,252,0.12); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}
.contact-item-text { font-size: 14px; color: var(--muted); }
.contact-item-text a { color: var(--text); text-decoration: none; }
.contact-item-text a:hover { color: var(--accent2); }

.contact-form { display: flex; flex-direction: column; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 12px; color: var(--muted); font-weight: 500; letter-spacing: 0.5px; }
.form-group input,
.form-group textarea,
.form-group select {
  background: rgba(124,92,252,0.06);
  border: 1px solid var(--border);
  border-radius: 12px; padding: 12px 16px;
  color: var(--text); font-family: 'DM Sans', sans-serif;
  font-size: 14px; outline: none;
  transition: border-color 0.2s, background 0.2s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent);
  background: rgba(124,92,252,0.1);
}
.form-group select option { background: #1a1a2e; }
.form-group textarea { resize: vertical; min-height: 120px; }
.btn-submit {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff; border: none; padding: 14px 32px;
  border-radius: 100px; font-size: 15px; font-weight: 500;
  cursor: none; box-shadow: 0 0 28px var(--glow);
  transition: transform 0.2s, box-shadow 0.2s;
  font-family: 'DM Sans', sans-serif;
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 40px var(--glow); }

/* Active nav link */
.nav-links a.active { color: var(--text); }
.nav-links a.active::after {
  content: '';
  display: block; width: 4px; height: 4px;
  background: var(--accent); border-radius: 50%;
  margin: 4px auto 0;
}

/* Divider */
.section-divider {
  border: none; border-top: 1px solid var(--border);
  margin: 0 48px;
}

@media (max-width: 768px) {
  .apps-section, .portfolio-section, .services-section,
  .blog-section, .contact-section { padding: 60px 20px 80px; }
  .contact-grid { grid-template-columns: 1fr; }
  .portfolio-grid, .apps-grid { grid-template-columns: 1fr; }
}

/* nav-logo as link */
a.nav-logo {
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-weight: 800; font-size: 22px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  letter-spacing: -0.5px; cursor: none;
}

/* Mobile menu button */
.nav-mobile-btn {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: none; padding: 4px;
}
.nav-mobile-btn span {
  display: block; width: 22px; height: 2px;
  background: var(--muted); border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-mobile-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-mobile-btn.open span:nth-child(2) { opacity: 0; }
.nav-mobile-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile dropdown menu */
.mobile-menu {
  display: none; flex-direction: column;
  position: fixed; top: 65px; left: 0; right: 0; z-index: 99;
  background: rgba(6,6,10,0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 20px 24px 28px;
  gap: 4px;
}
.mobile-menu a {
  color: var(--muted); text-decoration: none;
  font-size: 18px; font-weight: 500; padding: 10px 0;
  border-bottom: 1px solid rgba(124,92,252,0.08);
  transition: color 0.2s; cursor: none;
}
.mobile-menu a:hover, .mobile-menu a.active { color: var(--text); }
.mobile-menu.open { display: flex; }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-mobile-btn { display: flex; }
}

/* ============================================
   MOUSE SPOTLIGHT
   ============================================ */
.spotlight {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(
    circle 280px at var(--sx, -999px) var(--sy, -999px),
    rgba(124, 92, 252, 0.10) 0%,
    rgba(124, 92, 252, 0.04) 40%,
    transparent 70%
  );
  transition: background 0.05s;
}

/* ============================================
   BLOG POST DETAY SAYFASI
   ============================================ */
.post-hero {
  position: relative;
  padding: 140px 24px 60px;
  text-align: center;
  overflow: hidden;
}
.post-hero #hero-grid { opacity: 0.7; }
.post-hero-inner {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.post-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 28px;
  cursor: none;
  transition: color 0.2s;
}
.post-back:hover { color: var(--accent2); }
.post-tag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 100px;
  background: rgba(124,92,252,0.12);
  border: 1px solid rgba(124,92,252,0.3);
  color: var(--accent2);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.post-hero h1 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 800;
  letter-spacing: -1.4px;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 18px;
}
.post-hero h1 .grad-text {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.post-lead {
  font-size: 17px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto;
}
.post-cover {
  font-size: 80px;
  margin-top: 40px;
  line-height: 1;
  filter: drop-shadow(0 20px 50px rgba(124,92,252,0.3));
}

/* article body */
.post-body {
  max-width: 760px;
  margin: 60px auto 100px;
  padding: 0 24px;
  position: relative;
  z-index: 2;
  font-family: 'DM Sans', sans-serif;
  color: #d4d2e8;
  font-size: 17px;
  line-height: 1.75;
}
.post-body h2 {
  font-family: 'Inter', sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.6px;
  margin: 56px 0 18px;
}
.post-body h3 {
  font-family: 'Inter', sans-serif;
  font-size: 19px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.3px;
  margin: 36px 0 12px;
}
.post-body p { margin-bottom: 22px; }
.post-body ul, .post-body ol {
  margin: 8px 0 24px;
  padding-left: 22px;
}
.post-body li { margin-bottom: 10px; }
.post-body strong { color: var(--text); font-weight: 600; }
.post-body code {
  background: rgba(124,92,252,0.12);
  color: #e7d9ff;
  padding: 2px 8px;
  border-radius: 6px;
  font-family: ui-monospace, 'SF Mono', monospace;
  font-size: 14px;
}
.post-body blockquote {
  border-left: 3px solid var(--accent);
  padding: 8px 22px;
  margin: 32px 0;
  background: rgba(124,92,252,0.05);
  border-radius: 0 12px 12px 0;
  color: var(--text);
  font-style: italic;
}
.post-body .callout {
  background: rgba(124,92,252,0.07);
  border: 1px solid rgba(124,92,252,0.25);
  border-radius: 14px;
  padding: 22px 26px;
  margin: 32px 0;
  font-size: 15.5px;
  line-height: 1.65;
}
.post-body .callout strong {
  display: block;
  color: var(--accent2);
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

/* alt CTA */
.post-cta {
  max-width: 760px;
  margin: 0 auto 100px;
  padding: 36px 28px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(124,92,252,0.08), rgba(192,132,252,0.04));
  border: 1px solid rgba(124,92,252,0.25);
  text-align: center;
  position: relative;
  z-index: 2;
}
.post-cta h3 {
  font-family: 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}
.post-cta p {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 22px;
}

@media (max-width: 768px) {
  .post-hero { padding: 110px 20px 40px; }
  .post-cover { font-size: 60px; }
  .post-body { font-size: 15.5px; padding: 0 20px; margin: 40px auto 70px; }
  .post-body h2 { font-size: 22px; margin-top: 40px; }
  .post-body h3 { font-size: 17px; }
}
