/* ==========================================
   NEXUS V-CARD — AURORA EDITION
   ========================================== */

:root {
  --bg: #050510;
  --surface: rgba(255, 255, 255, 0.025);
  --surface-hover: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(255, 255, 255, 0.15);
  --text: #f0f0f5;
  --text-dim: #6b7280;
  --text-muted: #9ca3af;
  --purple: #a855f7;
  --indigo: #6366f1;
  --cyan: #06b6d4;
  --emerald: #10b981;
  --rose: #f43f5e;
  --amber: #f59e0b;
  --whatsapp: #25D366;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius: 20px;
  --radius-sm: 12px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ==========================================
   AURORA BACKGROUND
   ========================================== */

.bg-aurora {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  filter: blur(120px) saturate(1.5);
  opacity: 0.4;
}

.aurora-blob {
  position: absolute;
  border-radius: 50%;
  will-change: transform;
}

.blob-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--purple), transparent 70%);
  top: -20%; left: -10%;
  animation: auroraFloat1 20s ease-in-out infinite;
}

.blob-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--cyan), transparent 70%);
  top: 30%; right: -15%;
  animation: auroraFloat2 25s ease-in-out infinite;
}

.blob-3 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--indigo), transparent 70%);
  bottom: -10%; left: 30%;
  animation: auroraFloat3 22s ease-in-out infinite;
}

.blob-4 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, var(--rose), transparent 70%);
  top: 60%; left: -5%;
  animation: auroraFloat4 18s ease-in-out infinite;
}

@keyframes auroraFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(100px, 50px) scale(1.1); }
  66% { transform: translate(-50px, 100px) scale(0.9); }
}
@keyframes auroraFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-80px, 60px) scale(1.15); }
  66% { transform: translate(60px, -80px) scale(0.85); }
}
@keyframes auroraFloat3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(120px, -60px) scale(1.2); }
}
@keyframes auroraFloat4 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(80px, 80px) scale(1.1); }
}

/* Noise Texture */
.noise-overlay {
  position: fixed;
  inset: 0;
  z-index: 1;
  opacity: 0.03;
  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)'/%3E%3C/svg%3E");
  pointer-events: none;
}

/* Particles Canvas */
#particles {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

/* ==========================================
   PAGE LAYOUT
   ========================================== */

.page-wrapper {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  gap: 24px;
}

/* ==========================================
   TOP BADGE
   ========================================== */

.top-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--emerald);
  letter-spacing: 0.5px;
  animation: fadeSlideDown 0.8s ease backwards;
}

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

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

@keyframes fadeSlideDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================
   THE CARD
   ========================================== */

.nexus-card {
  position: relative;
  width: 100%;
  max-width: 520px;
  border-radius: var(--radius);
  padding: 1.5px;
  animation: fadeSlideUp 0.6s ease backwards 0.2s;
  transform-style: preserve-3d;
  transition: transform 0.15s ease;
}

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Animated Gradient Border */
.card-border-glow {
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  background: conic-gradient(
    from var(--border-angle, 0deg),
    var(--purple),
    var(--indigo),
    var(--cyan),
    var(--indigo),
    var(--purple)
  );
  animation: rotateBorder 6s linear infinite;
  opacity: 0.6;
  z-index: -1;
}

@property --border-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

@keyframes rotateBorder {
  to { --border-angle: 360deg; }
}

/* Card Inner */
.card-inner {
  background: rgba(8, 8, 20, 0.85);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border-radius: calc(var(--radius) - 1.5px);
  padding: 36px 30px 28px;
  position: relative;
  overflow: hidden;
}

/* Subtle inner glow */
.card-inner::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.5), rgba(99, 102, 241, 0.5), rgba(6, 182, 212, 0.5), transparent);
}

/* ==========================================
   BRAND HEADER
   ========================================== */

.brand-header {
  text-align: center;
  margin-bottom: 32px;
}

.brand-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
}

.logo-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}

.logo-icon svg {
  width: 100%;
  height: 100%;
}

.brand-name {
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: 2px;
  background: linear-gradient(135deg, #fff 0%, #d1d5db 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.brand-sub {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 5px;
  color: var(--text-dim);
  margin-top: 2px;
}

.brand-tagline {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
  font-weight: 400;
}

.gradient-text {
  background: linear-gradient(135deg, var(--purple), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 600;
}

/* ==========================================
   PROFILES
   ========================================== */

.profiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 28px;
}

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

.profile-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  transition: all 0.3s ease;
}

.profile-card:hover {
  background: var(--surface-hover);
  border-color: var(--border-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

/* Avatar */
.profile-avatar-ring {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  padding: 2px;
  background: conic-gradient(from 0deg, var(--purple), var(--cyan), var(--purple));
  animation: rotateRing 4s linear infinite;
  flex-shrink: 0;
}

.profile-avatar-ring.ring-alt {
  background: conic-gradient(from 0deg, var(--rose), var(--amber), var(--rose));
}

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

.profile-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--indigo), var(--purple));
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-avatar.avatar-alt {
  background: linear-gradient(135deg, var(--rose), var(--amber));
}

.avatar-letter {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
}

/* Profile Info */
.profile-info {
  flex: 1;
  min-width: 0;
}

.profile-info h2 {
  font-size: 0.95rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.profile-info .role {
  font-size: 0.72rem;
  color: var(--text-dim);
  font-weight: 500;
  margin-top: 2px;
}

/* WhatsApp Button */
.wa-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(37, 211, 102, 0.1);
  border: 1px solid rgba(37, 211, 102, 0.25);
  color: var(--whatsapp);
  padding: 7px 14px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 600;
  transition: all 0.3s ease;
  flex-shrink: 0;
  white-space: nowrap;
}

.wa-btn:hover {
  background: rgba(37, 211, 102, 0.2);
  border-color: rgba(37, 211, 102, 0.6);
  box-shadow: 0 0 20px rgba(37, 211, 102, 0.2);
  transform: scale(1.05);
}

/* ==========================================
   SEPARATOR
   ========================================== */

.separator {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}

.separator::before,
.separator::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.sep-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--text-dim);
}

/* ==========================================
   PORTFOLIO
   ========================================== */

.portfolio {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.portfolio-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  text-decoration: none;
  color: var(--text);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* Shimmer effect on hover */
.portfolio-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.03) 45%, rgba(255,255,255,0.06) 50%, rgba(255,255,255,0.03) 55%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.portfolio-item:hover::after {
  transform: translateX(100%);
}

.portfolio-item:hover {
  background: var(--surface-hover);
  border-color: var(--border-hover);
  transform: translateX(4px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

/* Mini Mockup Preview */
.port-preview {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
}

.port-mockup {
  width: 100%;
  height: 100%;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.mockup-1 { background: linear-gradient(135deg, #1a1a2e, #16213e); }
.mockup-2 { background: linear-gradient(135deg, #2d1b3d, #1a1a2e); }
.mockup-3 { background: linear-gradient(135deg, #3d2b1a, #2e1a1a); }

.mockup-bar {
  height: 3px;
  border-radius: 1px;
  background: rgba(255,255,255,0.15);
}

.mockup-line {
  height: 2px;
  border-radius: 1px;
  background: rgba(255,255,255,0.08);
}

.mockup-line.w80 { width: 80%; }
.mockup-line.w70 { width: 70%; }
.mockup-line.w60 { width: 60%; }
.mockup-line.w50 { width: 50%; }

.mockup-dots {
  display: flex;
  gap: 3px;
  margin-top: auto;
}

.mockup-dots span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
}

/* Portfolio Info */
.port-info {
  flex: 1;
}

.port-info h3 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.port-info p {
  font-size: 0.75rem;
  color: var(--text-dim);
}

.port-arrow {
  color: var(--text-dim);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.portfolio-item:hover .port-arrow {
  color: var(--text);
  transform: translate(3px, -3px);
}

/* ==========================================
   FOOTER
   ========================================== */

.card-footer {
  text-align: center;
}

/* ==========================================
   STATS ROW
   ========================================== */

.stats-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-bottom: 28px;
}

.stat {
  flex: 1;
  text-align: center;
}

.stat-num {
  display: block;
  font-size: 1.3rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--purple), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.stat-label {
  display: block;
  font-size: 0.65rem;
  color: var(--text-dim);
  font-weight: 500;
  margin-top: 2px;
  letter-spacing: 0.3px;
}

.stat-divider {
  width: 1px;
  height: 30px;
  background: var(--border);
  flex-shrink: 0;
}

/* ==========================================
   SERVICES
   ========================================== */

.services {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.service-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
}

.service-item:hover {
  background: var(--surface-hover);
  border-color: var(--border-hover);
}

.service-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--indigo);
}

.service-icon.icon-green {
  background: rgba(37, 211, 102, 0.1);
  border-color: rgba(37, 211, 102, 0.15);
  color: var(--whatsapp);
}

.service-icon.icon-amber {
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.15);
  color: var(--amber);
}

.service-item h4 {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 3px;
}

.service-item p {
  font-size: 0.75rem;
  color: var(--text-dim);
  line-height: 1.4;
}

/* ==========================================
   FOOTER
   ========================================== */

.card-footer {
  text-align: center;
  padding-top: 8px;
}

.footer-cta {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 8px;
}

.footer-copy {
  font-size: 0.65rem;
  color: var(--text-dim);
  font-weight: 400;
  letter-spacing: 0.3px;
}

/* ==========================================
   RESPONSIVE
   ========================================== */

@media (max-width: 560px) {
  .card-inner {
    padding: 28px 18px 22px;
  }
  .brand-name {
    font-size: 1.5rem;
  }
  .brand-tagline {
    font-size: 0.85rem;
  }
  .stats-row {
    padding: 14px 12px;
  }
  .stat-num {
    font-size: 1.1rem;
  }
  .profiles {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}
