/* ============================================
   CODIXA - AI-Powered Software Studio
   Dark + Neon Design System
   ============================================ */

/* ---------- CSS RESET & BASE ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Colors */
  --bg-primary: #07070d;
  --bg-secondary: #0d0d18;
  --bg-card: #12121f;
  --bg-elevated: #1a1a2e;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.15);

  --text-primary: #ffffff;
  --text-secondary: #b8b8d0;
  --text-muted: #6a6a85;

  --neon-cyan: #00e5ff;
  --neon-purple: #b026ff;
  --neon-pink: #ff2d9c;
  --neon-green: #00ff95;

  --gradient-primary: linear-gradient(135deg, #00e5ff 0%, #b026ff 100%);
  --gradient-secondary: linear-gradient(135deg, #b026ff 0%, #ff2d9c 100%);
  --gradient-accent: linear-gradient(135deg, #00ff95 0%, #00e5ff 100%);

  /* Shadows & Glows */
  --glow-cyan: 0 0 30px rgba(0, 229, 255, 0.4);
  --glow-purple: 0 0 30px rgba(176, 38, 255, 0.4);
  --glow-soft: 0 0 60px rgba(0, 229, 255, 0.15);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.6);

  /* Spacing */
  --container: 1200px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  /* Type */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', Consolas, monospace;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Animated background grid */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 229, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: '';
  position: fixed;
  top: -50%;
  left: -20%;
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(176, 38, 255, 0.15) 0%, transparent 60%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  animation: float 20s ease-in-out infinite;
}

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

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { list-style: none; }

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

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.2rem; }

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

.section-tag {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.3);
  color: var(--neon-cyan);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.muted { color: var(--text-secondary); }

/* ---------- LAYOUT ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

section {
  padding: 96px 0;
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  section { padding: 64px 0; }
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-top: 16px;
}

/* ---------- NAVIGATION ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(7, 7, 13, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.logo-mark {
  width: 36px;
  height: 36px;
  background: var(--gradient-primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: #07070d;
  font-size: 1.1rem;
  box-shadow: var(--glow-cyan);
}

.logo {
  max-width: 240px !important;
  max-height: 56px !important;
  overflow: hidden;
}

.logo-img {
  height: 48px !important;
  max-height: 48px !important;
  width: auto !important;
  max-width: 220px !important;
  display: block !important;
  object-fit: contain !important;
  filter: drop-shadow(0 0 12px rgba(0, 229, 255, 0.25));
  transition: filter 0.3s ease;
}

.logo:hover .logo-img {
  filter: drop-shadow(0 0 20px rgba(0, 229, 255, 0.45));
}

footer .logo-img {
  height: 42px !important;
  max-height: 42px !important;
}

@media (max-width: 600px) {
  .logo-img {
    height: 38px !important;
    max-height: 38px !important;
    max-width: 160px !important;
  }
  .logo {
    max-width: 170px !important;
  }
}

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

.nav-links a {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s ease;
  position: relative;
}

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

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0 8px;
}

.menu-toggle span {
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: 0.3s;
}

@media (max-width: 880px) {
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(7, 7, 13, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 24px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-150%);
    transition: transform 0.3s ease;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--border); }
  .nav-links .btn { margin-top: 12px; }
  .menu-toggle { display: flex; }
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #07070d;
  box-shadow: var(--glow-cyan);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(0, 229, 255, 0.6);
}

.btn-secondary {
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
}

.btn-secondary:hover {
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
  background: rgba(0, 229, 255, 0.05);
}

.btn-lg {
  padding: 18px 36px;
  font-size: 1.05rem;
}

.btn-block { width: 100%; }

/* ---------- HERO ---------- */
.hero {
  padding: 160px 0 120px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero h1 {
  margin-bottom: 24px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 40px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px;
  max-width: 800px;
  margin: 0 auto;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.stat-num {
  font-size: 2.2rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 4px;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* ---------- CARDS ---------- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-card), var(--glow-soft);
}

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

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--neon-cyan);
}

.card h3 { margin-bottom: 12px; }
.card p { color: var(--text-secondary); }

.grid {
  display: grid;
  gap: 24px;
}

.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

/* ---------- PRICING ---------- */
.pricing-toggle {
  display: inline-flex;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 4px;
  margin: 0 auto 48px;
  position: relative;
}

.pricing-toggle button {
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.pricing-toggle button.active {
  background: var(--gradient-primary);
  color: #07070d;
}

.toggle-wrap {
  text-align: center;
}

.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.price-card.featured {
  border-color: var(--neon-cyan);
  box-shadow: var(--glow-soft);
  transform: scale(1.02);
}

.price-card.featured::before {
  content: 'MOST POPULAR';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-primary);
  color: #07070d;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 4px 14px;
  border-radius: 50px;
}

.price-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
}

.price-card.featured:hover { transform: scale(1.02) translateY(-4px); }

.price-name {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--neon-cyan);
  margin-bottom: 8px;
}

.price-tagline {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.price-amount {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.price-period {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 24px;
}

.price-features {
  margin-bottom: 32px;
  flex-grow: 1;
}

.price-features li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.93rem;
}

.price-features li::before {
  content: '✓';
  color: var(--neon-green);
  font-weight: 700;
  flex-shrink: 0;
}

.price-features li:last-child { border-bottom: none; }

/* ---------- PROCESS / STEPS ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
}

.step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: #07070d;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: var(--glow-cyan);
}

.step h4 { margin-bottom: 8px; }
.step p { color: var(--text-secondary); font-size: 0.95rem; }

/* ---------- FEATURES / BENEFITS ---------- */
.feature-row {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}

.feature-row:last-child { border-bottom: none; }

.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--gradient-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #07070d;
  font-weight: 700;
  font-size: 1.2rem;
}

.feature-text h4 { margin-bottom: 6px; }
.feature-text p { color: var(--text-secondary); }

/* ---------- CTA SECTION ---------- */
.cta-section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 64px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: -50%;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.15) 0%, transparent 50%);
  filter: blur(60px);
  z-index: 0;
}

.cta-section > * { position: relative; z-index: 1; }

.cta-section h2 { margin-bottom: 16px; }
.cta-section p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto 32px;
}

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

/* ---------- PORTFOLIO ---------- */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s ease;
}

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

.project-image {
  height: 220px;
  background: var(--gradient-primary);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 900;
  color: rgba(7, 7, 13, 0.7);
}

.project-image.alt-1 { background: linear-gradient(135deg, #b026ff, #ff2d9c); }
.project-image.alt-2 { background: linear-gradient(135deg, #00ff95, #00e5ff); }
.project-image.alt-3 { background: linear-gradient(135deg, #ff2d9c, #00e5ff); }
.project-image.alt-4 { background: linear-gradient(135deg, #00e5ff, #00ff95); }
.project-image.alt-5 { background: linear-gradient(135deg, #b026ff, #00e5ff); }

.project-body { padding: 24px; }
.project-tag {
  display: inline-block;
  background: rgba(0, 229, 255, 0.1);
  color: var(--neon-cyan);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 12px;
}
.project-body h3 { margin-bottom: 10px; font-size: 1.3rem; }
.project-body p { color: var(--text-secondary); font-size: 0.95rem; margin-bottom: 16px; }
.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tech-pill {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.78rem;
  color: var(--text-secondary);
  font-family: var(--font-mono);
}

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

@media (max-width: 880px) {
  .about-hero { grid-template-columns: 1fr; gap: 40px; }
}

.about-image {
  aspect-ratio: 1;
  background: var(--gradient-primary);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-image::after {
  content: 'MF';
  font-size: 8rem;
  font-weight: 900;
  color: rgba(7, 7, 13, 0.5);
  letter-spacing: -0.05em;
}

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

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

@media (max-width: 880px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.contact-info {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}

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

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

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

.contact-item-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neon-cyan);
  flex-shrink: 0;
}

.contact-item-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.contact-item-value { color: var(--text-primary); font-weight: 500; }

.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
}

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

@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
}

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--neon-cyan);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.1);
}

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

.form-success {
  display: none;
  background: rgba(0, 255, 149, 0.1);
  border: 1px solid var(--neon-green);
  color: var(--neon-green);
  padding: 14px 18px;
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  text-align: center;
  font-weight: 600;
}

.form-success.show { display: block; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 800px; margin: 0 auto; }

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item.open { border-color: var(--neon-cyan); }

.faq-question {
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-toggle {
  color: var(--neon-cyan);
  font-size: 1.5rem;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 24px;
  color: var(--text-secondary);
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 24px 20px;
}

/* ---------- FOOTER ---------- */
footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

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

.footer-brand p {
  color: var(--text-secondary);
  margin-top: 16px;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: var(--text-secondary);
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.footer-col ul li a:hover { color: var(--neon-cyan); }

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.socials {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all 0.2s ease;
}

.social-link:hover {
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
  transform: translateY(-2px);
}

/* ---------- SERVICE VISUALS (animated mockups) ---------- */
.svc-visual {
  position: relative;
  aspect-ratio: 5/4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, rgba(0,229,255,0.08), rgba(176,38,255,0.08));
  border: 1px solid var(--border-strong);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.svc-visual::before {
  content: '';
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle, rgba(0,229,255,0.18) 0%, transparent 55%);
  filter: blur(40px);
  z-index: 0;
  animation: svc-glow 6s ease-in-out infinite;
}
@keyframes svc-glow {
  0%, 100% { transform: translate(0,0) scale(1); opacity: 0.7; }
  50% { transform: translate(10%, -10%) scale(1.1); opacity: 1; }
}
.svc-visual > * { position: relative; z-index: 1; }

/* Browser mockup */
.svc-browser {
  width: 100%;
  max-width: 420px;
  background: #0a0a14;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  box-shadow: 0 12px 40px rgba(0,0,0,0.5), 0 0 30px rgba(0,229,255,0.15);
  overflow: hidden;
  animation: svc-float 4s ease-in-out infinite;
}
@keyframes svc-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.svc-browser-bar {
  background: #14141f;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid var(--border);
}
.svc-dot { width: 8px; height: 8px; border-radius: 50%; }
.svc-dot.r { background: #ff5f57; }
.svc-dot.y { background: #febc2e; }
.svc-dot.g { background: #28c840; }
.svc-url {
  margin-left: 10px;
  background: rgba(255,255,255,0.06);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 0.7rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  flex: 1;
}
.svc-browser-body { padding: 16px; display: grid; gap: 10px; }
.svc-line { height: 8px; border-radius: 4px; background: linear-gradient(90deg, rgba(0,229,255,0.4), rgba(176,38,255,0.2)); animation: svc-shimmer 2.5s ease-in-out infinite; }
.svc-line.short { width: 60%; }
.svc-line.mid { width: 80%; }
@keyframes svc-shimmer {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}
.svc-block {
  height: 50px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(0,229,255,0.15), rgba(176,38,255,0.15));
  border: 1px solid rgba(0,229,255,0.2);
}
.svc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* Phone mockup */
.svc-phone {
  width: 160px;
  height: 290px;
  background: #0a0a14;
  border-radius: 28px;
  border: 3px solid #2a2a3a;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5), 0 0 30px rgba(176,38,255,0.25);
  padding: 14px 10px;
  position: relative;
  animation: svc-float 4s ease-in-out infinite;
}
.svc-phone::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 6px;
  background: #2a2a3a;
  border-radius: 6px;
}
.svc-phone-screen { display: grid; gap: 8px; margin-top: 12px; }
.svc-app-icon-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 4px; }
.svc-app-icon {
  aspect-ratio: 1;
  border-radius: 8px;
  background: linear-gradient(135deg, #00e5ff, #b026ff);
  animation: svc-pulse 3s ease-in-out infinite;
}
.svc-app-icon:nth-child(2) { background: linear-gradient(135deg, #b026ff, #ff2d9c); animation-delay: 0.3s; }
.svc-app-icon:nth-child(3) { background: linear-gradient(135deg, #00ff95, #00e5ff); animation-delay: 0.6s; }
.svc-app-icon:nth-child(4) { background: linear-gradient(135deg, #ff2d9c, #00e5ff); animation-delay: 0.9s; }
.svc-app-icon:nth-child(5) { background: linear-gradient(135deg, #00e5ff, #00ff95); animation-delay: 1.2s; }
.svc-app-icon:nth-child(6) { background: linear-gradient(135deg, #b026ff, #00e5ff); animation-delay: 1.5s; }
@keyframes svc-pulse {
  0%, 100% { opacity: 0.85; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}
.svc-notif {
  background: rgba(0,229,255,0.12);
  border: 1px solid rgba(0,229,255,0.3);
  border-radius: 8px;
  padding: 8px;
  font-size: 0.6rem;
  color: var(--neon-cyan);
  animation: svc-shimmer 2.5s ease-in-out infinite;
}

/* SaaS dashboard mockup */
.svc-dash {
  width: 100%;
  max-width: 380px;
  background: #0a0a14;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  box-shadow: 0 12px 40px rgba(0,0,0,0.5), 0 0 30px rgba(0,255,149,0.2);
  padding: 16px;
  display: grid;
  gap: 12px;
  animation: svc-float 4s ease-in-out infinite;
}
.svc-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.svc-stat {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px;
}
.svc-stat-num {
  font-size: 1.1rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.svc-stat-label { font-size: 0.6rem; color: var(--text-muted); }
.svc-chart {
  height: 90px;
  background: rgba(255,255,255,0.03);
  border-radius: 8px;
  padding: 10px;
  display: flex;
  align-items: flex-end;
  gap: 6px;
}
.svc-bar {
  flex: 1;
  background: linear-gradient(180deg, #00e5ff, #b026ff);
  border-radius: 4px 4px 0 0;
  animation: svc-grow 2.5s ease-in-out infinite;
  transform-origin: bottom;
}
.svc-bar:nth-child(1) { height: 30%; animation-delay: 0s; }
.svc-bar:nth-child(2) { height: 55%; animation-delay: 0.2s; }
.svc-bar:nth-child(3) { height: 40%; animation-delay: 0.4s; }
.svc-bar:nth-child(4) { height: 75%; animation-delay: 0.6s; }
.svc-bar:nth-child(5) { height: 90%; animation-delay: 0.8s; }
.svc-bar:nth-child(6) { height: 60%; animation-delay: 1s; }
.svc-bar:nth-child(7) { height: 80%; animation-delay: 1.2s; }
@keyframes svc-grow {
  0%, 100% { transform: scaleY(1); opacity: 0.9; }
  50% { transform: scaleY(1.08); opacity: 1; }
}

/* AI chat mockup */
.svc-ai {
  width: 100%;
  max-width: 380px;
  display: grid;
  gap: 10px;
  animation: svc-float 4s ease-in-out infinite;
}
.svc-chat-user, .svc-chat-bot {
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.75rem;
  max-width: 80%;
}
.svc-chat-user {
  background: rgba(0,229,255,0.15);
  border: 1px solid rgba(0,229,255,0.3);
  color: var(--text-primary);
  align-self: flex-end;
  justify-self: end;
  border-bottom-right-radius: 4px;
}
.svc-chat-bot {
  background: rgba(176,38,255,0.15);
  border: 1px solid rgba(176,38,255,0.3);
  color: var(--text-primary);
  border-bottom-left-radius: 4px;
  position: relative;
}
.svc-typing { display: flex; gap: 4px; }
.svc-typing span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--neon-pink);
  animation: svc-bounce 1.2s ease-in-out infinite;
}
.svc-typing span:nth-child(2) { animation-delay: 0.2s; }
.svc-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes svc-bounce {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50% { transform: translateY(-4px); opacity: 1; }
}
.svc-ai-orb {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: radial-gradient(circle, #ff2d9c, #b026ff);
  box-shadow: 0 0 30px rgba(255,45,156,0.6);
  animation: svc-pulse 2.5s ease-in-out infinite;
}

/* Design palette mockup */
.svc-design {
  display: grid;
  gap: 12px;
  width: 100%;
  max-width: 360px;
  animation: svc-float 4s ease-in-out infinite;
}
.svc-palette { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.svc-swatch {
  aspect-ratio: 1;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  animation: svc-pulse 3s ease-in-out infinite;
}
.svc-swatch:nth-child(1) { background: #00e5ff; }
.svc-swatch:nth-child(2) { background: #b026ff; animation-delay: 0.2s; }
.svc-swatch:nth-child(3) { background: #ff2d9c; animation-delay: 0.4s; }
.svc-swatch:nth-child(4) { background: #00ff95; animation-delay: 0.6s; }
.svc-swatch:nth-child(5) { background: #ffffff; animation-delay: 0.8s; }
.svc-type {
  background: #0a0a14;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  padding: 18px 16px;
  font-family: var(--font-sans);
}
.svc-type-h { font-size: 1.4rem; font-weight: 800; background: var(--gradient-primary); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.svc-type-p { font-size: 0.7rem; color: var(--text-secondary); margin-top: 4px; }

/* Uptime / maintenance mockup */
.svc-uptime {
  width: 100%;
  max-width: 360px;
  background: #0a0a14;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  box-shadow: 0 12px 40px rgba(0,0,0,0.5), 0 0 30px rgba(0,255,149,0.2);
  padding: 20px;
  display: grid;
  gap: 14px;
  animation: svc-float 4s ease-in-out infinite;
}
.svc-status {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 600;
}
.svc-status-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--neon-green);
  box-shadow: 0 0 12px var(--neon-green);
  animation: svc-pulse 1.5s ease-in-out infinite;
}
.svc-uptime-num {
  font-size: 2.4rem;
  font-weight: 900;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.svc-checks { display: grid; gap: 6px; }
.svc-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  color: var(--text-secondary);
}
.svc-check::before {
  content: '✓';
  color: var(--neon-green);
  font-weight: 700;
}

@media (max-width: 880px) {
  .svc-visual { aspect-ratio: auto; min-height: 280px; padding: 20px; }
  .svc-phone { width: 140px; height: 260px; }
}

/* ---------- ANIMATIONS ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

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

/* ---------- BADGES & UTILITIES ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(0, 255, 149, 0.1);
  color: var(--neon-green);
  border: 1px solid rgba(0, 255, 149, 0.3);
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--neon-green);
  animation: pulse 2s infinite;
}

.text-center { text-align: center; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }

/* ---------- SCROLLBAR ---------- */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb {
  background: var(--bg-elevated);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover { background: var(--neon-purple); }

/* ---------- PAGE HEADER (Inner pages) ---------- */
.page-header {
  padding: 140px 0 64px;
  text-align: center;
}

.page-header h1 { margin-bottom: 16px; }
.page-header p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto;
}
