/* ============================================================
   NEX07 — Design System v2.0
   Premium tech company aesthetic
   ============================================================ */

/* ────────────────────────────────────────
   IMPORTS
──────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300&display=swap');

/* ────────────────────────────────────────
   TOKENS
──────────────────────────────────────── */
:root {
  /* Brand */
  --cyan:   #00f2c3;
  --purple: #7c3aed;
  --blue:   #0ea5e9;

  /* Surfaces */
  --bg-base:    #060a14;
  --bg-raised:  #0d1424;
  --bg-overlay: rgba(13, 20, 36, 0.85);
  --border:     rgba(255, 255, 255, 0.06);
  --border-glow:rgba(0, 242, 195, 0.25);

  /* Text */
  --text-primary:   #f0f4ff;
  --text-secondary: #8892a4;
  --text-muted:     #4b5563;

  /* Glow effects */
  --glow-cyan:   0 0 40px rgba(0, 242, 195, 0.3);
  --glow-purple: 0 0 40px rgba(124, 58, 237, 0.3);

  /* Gradients */
  --grad-brand:  linear-gradient(135deg, var(--cyan), var(--blue), var(--purple));
  --grad-subtle: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 100%);

  /* Spacing */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 40px;

  /* Typography */
  --font-display: 'Syne', sans-serif;
  --font-body:    'DM Sans', sans-serif;

  /* Transitions */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out:   cubic-bezier(0.4, 0, 0.2, 1);
}

/* ────────────────────────────────────────
   RESET & BASE
──────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  background-color: var(--bg-base);
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-primary);
  overflow-x: hidden;
  background-color: var(--bg-base);

  /* Subtle noise texture */
  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.03'/%3E%3C/svg%3E");
  background-size: 200px;
}

/* ────────────────────────────────────────
   TYPOGRAPHY
──────────────────────────────────────── */
h1, h2, h3, h4, h5, h6,
.title {
  font-family: var(--font-display) !important;
  letter-spacing: -0.02em;
  color: var(--text-primary) !important;
}

p, .subtitle, .has-text-grey-light, .has-text-grey-lighter {
  font-family: var(--font-body) !important;
}

.subtitle {
  color: var(--text-secondary) !important;
}

.display-1 {
  font-family: var(--font-display) !important;
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}

/* ────────────────────────────────────────
   GRADIENT TEXT
──────────────────────────────────────── */
.text-gradient {
  background: var(--grad-brand);
  background-size: 300% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient-shift 4s ease-in-out infinite;
}

@keyframes gradient-shift {
  0%   { background-position: 0%   50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0%   50%; }
}

/* ────────────────────────────────────────
   CUSTOM CURSOR
──────────────────────────────────────── */
*, *::before, *::after {
  cursor: none !important;
}

.cursor-dot,
.cursor-ring {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s var(--ease-out-expo);
}

.cursor-dot {
  width: 6px;
  height: 6px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--cyan);
  transition: transform 0.1s, opacity 0.3s;
}

.cursor-ring {
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(0, 242, 195, 0.5);
  border-radius: 50%;
  transition: transform 0.15s var(--ease-out-expo), width 0.3s var(--ease-out-expo),
              height 0.3s var(--ease-out-expo), border-color 0.3s, opacity 0.3s;
}

.cursor-ring.hovering {
  width: 56px;
  height: 56px;
  border-color: var(--cyan);
  background: rgba(0, 242, 195, 0.05);
}

.cursor-dot.clicking {
  transform: translate(-50%, -50%) scale(0.5);
}

@media (hover: none) {
  .cursor-dot, .cursor-ring { display: none; }
  * { cursor: auto !important; }
}

/* ────────────────────────────────────────
   NAVBAR
──────────────────────────────────────── */
.navbar.is-fixed-top {
  background: rgba(6, 10, 20, 0) !important;
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(0px);
  transition: all 0.4s var(--ease-out-expo);
  height: 68px;
}

.navbar.is-fixed-top.navbar-scrolled {
  background: rgba(6, 10, 20, 0.92) !important;
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 0 var(--border), 0 20px 40px rgba(0,0,0,0.3) !important;
}

.navbar-brand .navbar-item {
  font-family: var(--font-display) !important;
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 1.25rem !important;
}

.navbar-item.nav-link {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  color: var(--text-secondary) !important;
  position: relative;
  transition: color 0.3s var(--ease-out-expo);
  padding: 0.5rem 1rem;
}

.navbar-item.nav-link:hover,
.navbar-item.nav-link.is-active {
  color: var(--text-primary) !important;
  background: transparent !important;
}

.navbar-item.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 1.5px;
  background: var(--grad-brand);
  transition: width 0.3s var(--ease-out-expo);
  border-radius: 2px;
}

.navbar-item.nav-link:hover::after,
.navbar-item.nav-link.is-active::after {
  width: 70%;
}

/* ────────────────────────────────────────
   HERO
──────────────────────────────────────── */
.main-hero {
  background-color: var(--bg-base);
  position: relative;
}

/* Ambient grid overlay */
.main-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 242, 195, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 242, 195, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black, transparent);
  z-index: 1;
  pointer-events: none;
}

/* Radial glow behind content */
.main-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 30% 40%, rgba(124, 58, 237, 0.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 70% 60%, rgba(0, 242, 195, 0.08) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}

.main-hero .hero-body {
  position: relative;
  z-index: 3;
}

.hero-particles-container {
  position: absolute;
  inset: 0;
  z-index: 2;
}

/* ────────────────────────────────────────
   BUTTONS
──────────────────────────────────────── */
.button.is-primary {
  position: relative;
  background: var(--grad-brand);
  background-size: 200% auto;
  border: none;
  color: #000 !important;
  font-family: var(--font-display) !important;
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-xl);
  padding: 0.75em 2em;
  overflow: hidden;
  transition: background-position 0.5s var(--ease-out-expo),
              transform 0.3s var(--ease-out-expo),
              box-shadow 0.3s var(--ease-out-expo);
  box-shadow: 0 0 0 rgba(0,0,0,0);
}

.button.is-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.button.is-primary:hover {
  background-position: right center;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 30px rgba(0, 242, 195, 0.35),
              0 0 0 1px rgba(0, 242, 195, 0.2);
  color: #000 !important;
}

.button.is-primary:hover::before {
  opacity: 1;
}

.button.is-primary:active {
  transform: translateY(0) scale(0.99);
}

/* Secondary/outlined button */
.button.is-primary.is-outlined {
  background: transparent !important;
  border: 1px solid var(--border-glow) !important;
  color: var(--text-primary) !important;
  box-shadow: inset 0 0 0 0 var(--cyan);
  transition: all 0.3s var(--ease-out-expo);
}

.button.is-primary.is-outlined:hover {
  background: rgba(0, 242, 195, 0.08) !important;
  border-color: var(--cyan) !important;
  box-shadow: 0 0 20px rgba(0, 242, 195, 0.15),
              inset 0 0 20px rgba(0, 242, 195, 0.05);
  transform: translateY(-2px);
}

.button.is-large {
  font-size: 1rem;
  padding: 1em 2.5em;
}

/* Generic button reset */
.button {
  font-family: var(--font-body);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.04);
  color: var(--text-primary);
  transition: all 0.2s var(--ease-out-expo);
}

.button:hover {
  background: rgba(255,255,255,0.07);
  color: var(--text-primary);
  border-color: rgba(255,255,255,0.12);
}

/* ────────────────────────────────────────
   CARDS — GLASS SYSTEM
──────────────────────────────────────── */
.card,
.feature-card {
  background: var(--grad-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  backdrop-filter: blur(12px) saturate(150%);
  box-shadow: 0 1px 0 rgba(255,255,255,0.04) inset,
              0 20px 60px rgba(0,0,0,0.4);
  transition: all 0.4s var(--ease-out-expo);
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-brand);
  opacity: 0;
  transition: opacity 0.4s;
  mask-image: linear-gradient(to bottom, black, transparent);
  -webkit-mask-image: linear-gradient(to bottom, black, transparent);
  pointer-events: none;
  z-index: 0;
}

.glass-card {
  position: relative;
}

.glass-card:hover {
  border-color: rgba(0, 242, 195, 0.2);
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 0 0 1px rgba(0, 242, 195, 0.1),
              0 30px 80px rgba(0, 0, 0, 0.5),
              0 0 60px rgba(0, 242, 195, 0.06);
}

/* Shine sweep on hover */
.glass-card::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent);
  transition: left 0.6s var(--ease-out-expo);
  pointer-events: none;
  z-index: 1;
}

.glass-card:hover::after {
  left: 160%;
}

.card-content {
  position: relative;
  z-index: 2;
}

/* ────────────────────────────────────────
   PORTFOLIO CARDS
──────────────────────────────────────── */
.portfolio-card {
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--grad-subtle);
  overflow: hidden;
  cursor: none;
  transition: all 0.4s var(--ease-out-expo);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.portfolio-card:hover {
  border-color: rgba(0, 242, 195, 0.25);
  transform: translateY(-10px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5),
              0 0 50px rgba(0, 242, 195, 0.08);
}

.portfolio-card .card-image img {
  transition: transform 0.6s var(--ease-out-expo);
  border-radius: 0;
}

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

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.85), rgba(0, 242, 195, 0.75));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.35s var(--ease-out-expo);
}

.portfolio-card:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-overlay .button {
  font-family: var(--font-display) !important;
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.875rem;
  text-transform: uppercase;
  border: 2px solid rgba(255,255,255,0.8) !important;
  color: white !important;
  background: transparent !important;
  border-radius: var(--radius-xl);
  padding: 0.6em 1.8em;
  transform: translateY(12px);
  opacity: 0;
  transition: all 0.35s var(--ease-out-expo) 0.05s;
}

.portfolio-card:hover .portfolio-overlay .button {
  transform: translateY(0);
  opacity: 1;
}

.portfolio-overlay .button:hover {
  background: rgba(255,255,255,0.15) !important;
  transform: scale(1.05) !important;
}

/* ────────────────────────────────────────
   TAGS
──────────────────────────────────────── */
.tag {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 100px;
  padding: 0.3em 0.9em;
  background: rgba(255,255,255,0.06);
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

.tag.is-primary, .tag.is-link {
  background: rgba(0, 242, 195, 0.1) !important;
  color: var(--cyan) !important;
  border-color: rgba(0, 242, 195, 0.2) !important;
}

.tag.is-light {
  background: rgba(124, 58, 237, 0.1) !important;
  color: #a78bfa !important;
  border-color: rgba(124, 58, 237, 0.2) !important;
}

/* ────────────────────────────────────────
   FORMS
──────────────────────────────────────── */
.input, .textarea {
  font-family: var(--font-body) !important;
  background: rgba(255,255,255,0.03) !important;
  border: 1px solid var(--border) !important;
  color: var(--text-primary) !important;
  border-radius: var(--radius-sm) !important;
  transition: all 0.25s var(--ease-out-expo);
  padding: 0.75em 1em;
}

.input::placeholder, .textarea::placeholder {
  color: var(--text-muted) !important;
}

.input:focus, .textarea:focus {
  border-color: rgba(0, 242, 195, 0.4) !important;
  background: rgba(0, 242, 195, 0.03) !important;
  box-shadow: 0 0 0 3px rgba(0, 242, 195, 0.08) !important;
  outline: none;
}

.label {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  color: var(--text-secondary) !important;
  text-transform: uppercase;
}

/* ────────────────────────────────────────
   MODALS
──────────────────────────────────────── */
.portfolio-modal .modal-card {
  width: 90%;
  max-width: 860px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 40px 100px rgba(0,0,0,0.7);
  animation: modal-in 0.4s var(--ease-out-expo) forwards;
}

@keyframes modal-in {
  from { transform: translateY(24px) scale(0.98); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}

.portfolio-modal .modal-card-head {
  background: var(--bg-raised);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 2rem;
}

.portfolio-modal .modal-card-title {
  font-family: var(--font-display) !important;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-primary);
}

.portfolio-modal .modal-card-body {
  background: var(--bg-base);
  color: var(--text-secondary);
  padding: 2rem;
}

.portfolio-modal .modal-card-body h4 {
  font-family: var(--font-display) !important;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.4em;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.portfolio-modal .modal-card-body p {
  font-size: 0.95rem;
  line-height: 1.8;
}

.portfolio-modal .modal-card-foot {
  background: var(--bg-raised);
  border-top: 1px solid var(--border);
  padding: 1.25rem 2rem;
}

.video-container {
  border-radius: var(--radius-sm);
  overflow: hidden;
  min-height: 400px;
  background: var(--bg-raised);
  border: 1px solid var(--border);
}

/* ────────────────────────────────────────
   SCROLL ANIMATIONS
──────────────────────────────────────── */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out-expo),
              transform 0.7s var(--ease-out-expo);
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-slide-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s var(--ease-out-expo),
              transform 0.8s var(--ease-out-expo);
}

.animate-slide-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s var(--ease-out-expo),
              transform 0.8s var(--ease-out-expo);
}

.animate-slide-in-left.is-visible,
.animate-slide-in-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* ────────────────────────────────────────
   HERO ANIMATIONS
──────────────────────────────────────── */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.animate-fade-in-down {
  animation: fadeInDown 0.9s var(--ease-out-expo) both;
  opacity: 0;
}
.animate-fade-in-up {
  animation: fadeInUp 0.9s var(--ease-out-expo) both;
  opacity: 0;
}

/* ────────────────────────────────────────
   SCROLL INDICATOR
──────────────────────────────────────── */
.scroll-down-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-muted);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: color 0.3s;
  animation: float-scroll 2.5s ease-in-out infinite;
}

.scroll-down-indicator:hover {
  color: var(--cyan);
}

/* Replace chevron with a more elegant pill */
.scroll-down-indicator::before {
  content: '';
  display: block;
  width: 1.5px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, var(--cyan));
  border-radius: 2px;
  animation: line-pulse 2.5s ease-in-out infinite;
}

@keyframes line-pulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50%       { opacity: 1; transform: scaleY(1.2); }
}

@keyframes float-scroll {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ────────────────────────────────────────
   BACK TO TOP
──────────────────────────────────────── */
.back-to-top-btn {
  position: fixed;
  bottom: 90px;
  right: 24px;
  width: 48px;
  height: 48px;
  background: rgba(6, 10, 20, 0.85);
  border: 1px solid var(--border-glow);
  color: var(--cyan);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(0, 242, 195, 0.15), 0 8px 24px rgba(0,0,0,0.3);
  backdrop-filter: blur(12px);
  cursor: none;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.35s var(--ease-out-expo);
  font-size: 0.875rem;
}

.back-to-top-btn.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top-btn:hover {
  background: rgba(0, 242, 195, 0.12);
  border-color: var(--cyan);
  box-shadow: 0 0 30px rgba(0, 242, 195, 0.25), 0 8px 24px rgba(0,0,0,0.3);
  transform: translateY(-3px);
  color: var(--cyan);
}

/* ────────────────────────────────────────
   CTA PARALLAX
──────────────────────────────────────── */
.cta-parallax-section {
  position: relative;
  overflow: hidden;
  background: var(--bg-raised);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cta-parallax-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 20% 50%, rgba(124, 58, 237, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 80% 50%, rgba(0, 242, 195, 0.1) 0%, transparent 60%);
}

/* ────────────────────────────────────────
   TEAM CARDS
──────────────────────────────────────── */
.team-card {
  background: transparent;
  border: none;
  box-shadow: none;
  transition: transform 0.4s var(--ease-out-expo);
}

.team-card:hover {
  transform: translateY(-8px);
}

.team-card .card-image img {
  object-fit: cover;
  border-radius: var(--radius-md);
  filter: grayscale(80%) contrast(110%);
  transition: all 0.5s var(--ease-out-expo);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.team-card:hover .card-image img {
  filter: grayscale(0%) contrast(100%);
  box-shadow: 0 30px 80px rgba(0,0,0,0.5),
              0 0 40px rgba(0, 242, 195, 0.1);
}

/* ────────────────────────────────────────
   FOOTER
──────────────────────────────────────── */
.footer-wrapper {
  position: relative;
}

.site-footer {
  background: var(--bg-base);
  border-top: 1px solid var(--border);
  padding: 5rem 1.5rem 3rem;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 1px;
  background: var(--grad-brand);
  opacity: 0.4;
}

.site-footer::after {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(124, 58, 237, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.footer-brand-name {
  font-family: var(--font-display) !important;
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 0.08em;
  background: var(--grad-brand);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-tagline {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 260px;
}

.footer-section-title {
  font-family: var(--font-display) !important;
  font-size: 0.7rem !important;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted) !important;
  margin-bottom: 1.25rem !important;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.65rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s, transform 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links a::before {
  content: '';
  width: 0;
  height: 1px;
  background: var(--cyan);
  transition: width 0.2s var(--ease-out-expo);
  display: inline-block;
}

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

.footer-links a:hover::before {
  width: 12px;
}

/* Social icons */
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 1.5rem;
}

.footer-social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease-out-expo);
  color: var(--text-muted);
  background: rgba(255,255,255,0.03);
  text-decoration: none;
}

.footer-social-link:hover {
  border-color: var(--cyan);
  background: rgba(0, 242, 195, 0.08);
  color: var(--cyan);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 242, 195, 0.12);
}

.footer-social-link img {
  width: 18px;
  height: 18px;
  opacity: 0.6;
  transition: opacity 0.3s;
  filter: grayscale(100%) brightness(2);
}

.footer-social-link:hover img {
  opacity: 1;
}

.footer-divider {
  border: none;
  height: 1px;
  background: var(--border);
  margin: 3rem 0 2rem;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-copyright {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-copyright strong {
  color: var(--text-secondary);
  font-weight: 500;
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

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

/* Status badge */
.footer-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.footer-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.6);
  animation: pulse-dot 2.5s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 4px rgba(34, 197, 94, 0.4); }
  50%       { box-shadow: 0 0 14px rgba(34, 197, 94, 0.8); }
}

/* ────────────────────────────────────────
   MOBILE BOTTOM NAV
──────────────────────────────────────── */
@media screen and (max-width: 1023px) {
  .navbar.is-fixed-top {
    display: none !important;
  }

  footer, .site-footer {
    padding-bottom: 90px;
  }

  .mobile-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 32px);
    max-width: 400px;
    height: 64px;
    background: rgba(13, 20, 36, 0.92);
    border-radius: 20px;
    border: 1px solid var(--border);
    box-shadow: 0 12px 40px rgba(0,0,0,0.6), 0 0 0 1px var(--border) inset;
    backdrop-filter: blur(20px) saturate(180%);
    align-items: center;
    justify-content: space-around;
    z-index: 200;
    padding: 0 8px;
  }

  .mobile-bottom-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    text-decoration: none;
    color: var(--text-muted);
    font-size: 10px;
    font-family: var(--font-body);
    font-weight: 500;
    letter-spacing: 0.04em;
    width: 64px;
    height: 52px;
    border-radius: 14px;
    transition: all 0.25s var(--ease-out-expo);
    -webkit-tap-highlight-color: transparent;
    cursor: auto;
  }

  .mobile-bottom-nav a .icon {
    font-size: 18px;
    line-height: 1;
    transition: transform 0.25s var(--ease-out-expo);
  }

  .mobile-bottom-nav a:hover,
  .mobile-bottom-nav a.is-active {
    color: var(--text-primary);
    background: rgba(0, 242, 195, 0.08);
  }

  .mobile-bottom-nav a.is-active .icon {
    color: var(--cyan);
    transform: scale(1.1);
  }

  .display-1 {
    font-size: clamp(3rem, 15vw, 5rem);
  }

  .video-container { min-height: 180px; }

  .button.is-large { font-size: 0.9rem; }

  .cursor-dot, .cursor-ring { display: none; }
}

@media screen and (min-width: 1024px) {
  .mobile-bottom-nav { display: none; }

  ::-webkit-scrollbar { width: 8px; }
  ::-webkit-scrollbar-track { background: var(--bg-raised); }
  ::-webkit-scrollbar-thumb { background: rgba(124, 58, 237, 0.4); border-radius: 4px; }
  ::-webkit-scrollbar-thumb:hover { background: rgba(124, 58, 237, 0.7); }
}

/* ────────────────────────────────────────
   SUBMISSION PAGE
──────────────────────────────────────── */
.submission-card {
  background: var(--grad-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 4rem 2.5rem;
  max-width: 560px;
  margin: 0 auto;
  backdrop-filter: blur(16px);
  box-shadow: 0 40px 100px rgba(0,0,0,0.5);
}

@keyframes popIn {
  0%   { transform: scale(0) rotate(-10deg); opacity: 0; }
  60%  { transform: scale(1.15) rotate(2deg); opacity: 1; }
  100% { transform: scale(1) rotate(0deg); }
}

.submission-icon i {
  animation: popIn 0.7s var(--ease-out-expo) 0.2s both;
  color: var(--cyan) !important;
}

#redirect-message {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-top: 1.5rem;
  font-style: italic;
}

/* ────────────────────────────────────────
   UTILITY
──────────────────────────────────────── */
.has-background-dark { background-color: var(--bg-base) !important; }
.has-text-primary     { color: var(--cyan) !important; }
.hero-highlight       { color: var(--cyan); }

.section { padding: 5rem 1.5rem; }
.section.is-medium { padding: 7rem 1.5rem; }

/* Gradient border accent on headings */
.title.section-heading {
  position: relative;
  display: inline-block;
}

.title.section-heading::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 48px;
  height: 2px;
  background: var(--grad-brand);
  border-radius: 2px;
}

/* ============================================================
   PORTFOLIO SHOWCASE — Horizontal cards, sem modais
   Adicione ao seu CSS principal (ex: main.css ou styles.css)
   ============================================================ */

/* ── Layout da seção ── */
.showcase-section {
  background: var(--bg-dark, #0d1117);
}

.showcase-section .container {
  max-width: 1100px;
}

/* ── Card principal ── */
.showcase-card {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3.5rem;
  align-items: center;
  padding: 3.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.showcase-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Alternância: mockup à esquerda, info à direita */
.showcase-card--reverse {
  grid-template-columns: 1.4fr 1fr;
}
.showcase-card--reverse .showcase-info  { order: 2; }
.showcase-card--reverse .showcase-mockup { order: 1; }

.showcase-card:last-child {
  border-bottom: none;
}

/* ── Lado esquerdo: informações ── */
.showcase-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.showcase-index {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-primary, #00f2c3);
  opacity: 0.7;
}

.showcase-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin: 0;
}

.showcase-desc {
  font-size: 1rem;
  color: #9ca3af;
  line-height: 1.7;
  margin: 0;
  max-width: 440px;
}

/* ── Tags de tecnologia ── */
.showcase-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.25rem;
}

.showcase-tags span {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 242, 195, 0.25);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-primary, #00f2c3);
  letter-spacing: 0.03em;
  background: rgba(0, 242, 195, 0.05);
  transition: background 0.2s, border-color 0.2s;
}

.showcase-tags span:hover {
  background: rgba(0, 242, 195, 0.12);
  border-color: rgba(0, 242, 195, 0.5);
}

/* ── Botão "Visitar Site" ── */
.showcase-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  padding: 0.65rem 1.5rem;
  border-radius: 999px;
  background: var(--color-primary, #00f2c3);
  color: #0d1117;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  width: fit-content;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s;
  box-shadow: 0 0 0 transparent;
}

.showcase-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 242, 195, 0.3);
  opacity: 0.9;
  color: #0d1117;
}

/* ── Mockup do browser ── */
.showcase-mockup {
  border-radius: 12px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.07),
    0 25px 60px rgba(0, 0, 0, 0.5);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.showcase-card:hover .showcase-mockup {
  transform: translateY(-6px) scale(1.01);
  box-shadow:
    0 0 0 1px rgba(0, 242, 195, 0.15),
    0 35px 80px rgba(0, 0, 0, 0.6),
    0 0 40px rgba(0, 242, 195, 0.06);
}

/* Barra do browser (topo) */
.browser-chrome {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 1rem;
  background: #1c1f26;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.browser-dots {
  display: flex;
  gap: 0.35rem;
  flex-shrink: 0;
}

.browser-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: block;
}

.browser-dots span:nth-child(1) { background: #ff5f57; }
.browser-dots span:nth-child(2) { background: #febc2e; }
.browser-dots span:nth-child(3) { background: #28c840; }

.browser-url {
  flex: 1;
  text-align: center;
  font-size: 0.72rem;
  color: #6b7280;
  background: rgba(255,255,255,0.05);
  border-radius: 6px;
  padding: 0.2rem 0.75rem;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.browser-url i {
  color: #28c840;
  font-size: 0.65rem;
}

/* Área da "tela" do browser */
.browser-screen {
  position: relative;
  background: #0d1117;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  display: block;
}

.browser-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform 0.6s ease;
}

.showcase-card:hover .browser-screen img {
  transform: scale(1.03);
}

/* Camada hover sobre a tela */
.screen-hover-layer {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity 0.3s ease;
  text-decoration: none;
}

.screen-hover-layer span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.6rem 1.4rem;
  border: 1.5px solid rgba(255,255,255,0.4);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  transition: border-color 0.2s, background 0.2s;
}

.screen-hover-layer:hover span {
  border-color: var(--color-primary, #00f2c3);
  background: rgba(0, 242, 195, 0.1);
}

.browser-screen:hover .screen-hover-layer,
.showcase-card:hover .screen-hover-layer {
  opacity: 1;
}

/* ── Responsivo ── */
@media (max-width: 900px) {
  .showcase-card,
  .showcase-card--reverse {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2.5rem 0;
  }

  .showcase-card--reverse .showcase-info  { order: 1; }
  .showcase-card--reverse .showcase-mockup { order: 2; }

  .showcase-desc {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .showcase-card {
    padding: 2rem 0;
    gap: 1.5rem;
  }

  .showcase-title {
    font-size: 1.5rem;
  }
}