/* ========================================
   KYMA LANDING PAGE — PREMIUM DARK DESIGN
   ======================================== */

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

:root {
  --pink:    #e91e8c;
  --cyan:    #00d4e6;
  --lime:    #c8e600;
  --teal:    #00d4aa;
  --bg:      #07070f;
  --bg-2:    #0d0d1a;
  --bg-3:    #12121f;
  --surface: #161628;
  --surface-2: #1e1e35;
  --border:  rgba(255,255,255,0.07);
  --text:    #f0f0f8;
  --text-2:  #9090b8;
  --text-3:  #5a5a80;

  --gradient: linear-gradient(135deg, var(--pink), var(--cyan));
  --gradient-2: linear-gradient(135deg, var(--cyan), var(--teal));
  --gradient-3: linear-gradient(135deg, var(--pink), var(--lime));

  --radius-sm: 8px;
  --radius:    16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-sm: 0 2px 8px rgba(0,0,0,0.4);
  --shadow:    0 8px 32px rgba(0,0,0,0.5);
  --shadow-lg: 0 24px 64px rgba(0,0,0,0.6);
  --shadow-glow-pink: 0 0 40px rgba(233,30,140,0.3);
  --shadow-glow-cyan: 0 0 40px rgba(0,212,230,0.3);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--surface-2); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--pink); }

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

.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

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

.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(0, 212, 230, 0.1);
  border: 1px solid rgba(0, 212, 230, 0.2);
  border-radius: 100px;
  padding: 6px 16px;
  margin-bottom: 20px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--text);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-2);
  max-width: 600px;
  margin: 0 auto;
  font-weight: 400;
}

/* ========================================
   NAVBAR
   ======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(7, 7, 15, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}

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

.logo-icon-sm {
  width: 28px;
  height: 28px;
}

.logo-text {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 2px;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
  margin-left: auto;
}

.nav-links a {
  color: var(--text-2);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}

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

.nav-cta {
  background: var(--gradient);
  color: white;
  text-decoration: none;
  padding: 10px 22px;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: opacity 0.2s, transform 0.2s;
  white-space: nowrap;
}

.nav-cta:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ========================================
   HERO
   ======================================== */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 24px 80px;
  position: relative;
}

.hero-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  animation: orb-float 8s ease-in-out infinite;
}

.orb-1 {
  width: 500px; height: 500px;
  background: var(--pink);
  top: -200px; left: -150px;
  animation-delay: 0s;
}
.orb-2 {
  width: 400px; height: 400px;
  background: var(--cyan);
  top: 50%; right: -100px;
  animation-delay: -3s;
}
.orb-3 {
  width: 350px; height: 350px;
  background: var(--teal);
  bottom: 0; left: 30%;
  animation-delay: -5s;
}
.orb-4 {
  width: 250px; height: 250px;
  background: var(--lime);
  top: 20%; left: 40%;
  opacity: 0.2;
  animation-delay: -2s;
}

@keyframes orb-float {
  0%, 100% { transform: translateY(0px) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}

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

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(233, 30, 140, 0.1);
  border: 1px solid rgba(233, 30, 140, 0.25);
  border-radius: 100px;
  padding: 8px 18px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--pink);
  margin-bottom: 28px;
  animation: fade-up 0.6s ease both;
}

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

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

.hero-title {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 24px;
  animation: fade-up 0.6s 0.1s ease both;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-2);
  margin-bottom: 40px;
  max-width: 500px;
  animation: fade-up 0.6s 0.2s ease both;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
  animation: fade-up 0.6s 0.3s ease both;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gradient);
  color: white;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 100px;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.2s;
  box-shadow: 0 0 30px rgba(233,30,140,0.3);
}

.btn-primary svg {
  width: 18px;
  height: 18px;
  transition: transform 0.2s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 50px rgba(233,30,140,0.45);
}

.btn-primary:hover svg {
  transform: translateX(4px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  color: var(--text);
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 100px;
  font-size: 1rem;
  font-weight: 600;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.04);
  transition: all 0.2s;
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  animation: fade-up 0.6s 0.4s ease both;
}

.stat {
  text-align: center;
  padding: 0 24px;
}

.stat:first-child { padding-left: 0; }

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-3);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* ---- APP MOCKUP ---- */
.hero-visual {
  position: relative;
  z-index: 1;
  animation: fade-up 0.8s 0.2s ease both;
}

.app-mockup {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 80px rgba(0,212,230,0.1);
  transform: perspective(1000px) rotateY(-5deg) rotateX(3deg);
  transition: transform 0.5s ease;
}

.app-mockup:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.mockup-bar {
  background: var(--bg-3);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.mockup-dots {
  display: flex;
  gap: 6px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.dot-red    { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green  { background: #28c840; }

.mockup-title {
  font-size: 0.8rem;
  color: var(--text-3);
  font-weight: 500;
  position: absolute;
  left: 0;
  right: 0;
  text-align: center;
  pointer-events: none;
}

.mockup-body {
  padding: 20px;
}

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

.status-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 4px 10px;
  border-radius: 6px;
}

.status-indicator.live {
  background: rgba(233,30,140,0.15);
  color: var(--pink);
  border: 1px solid rgba(233,30,140,0.3);
}

.live-dot {
  width: 6px;
  height: 6px;
  background: var(--pink);
  border-radius: 50%;
  animation: pulse-dot 1.5s infinite;
}

.waveform {
  display: flex;
  align-items: center;
  gap: 3px;
  flex: 1;
  height: 32px;
}

.wave-bar {
  width: 3px;
  background: var(--gradient);
  border-radius: 2px;
  animation: wave-anim 1.2s ease-in-out infinite;
}

.wave-bar:nth-child(1)  { height: 8px;  animation-delay: 0.0s; }
.wave-bar:nth-child(2)  { height: 20px; animation-delay: 0.1s; }
.wave-bar:nth-child(3)  { height: 12px; animation-delay: 0.2s; }
.wave-bar:nth-child(4)  { height: 26px; animation-delay: 0.3s; }
.wave-bar:nth-child(5)  { height: 16px; animation-delay: 0.4s; }
.wave-bar:nth-child(6)  { height: 30px; animation-delay: 0.5s; }
.wave-bar:nth-child(7)  { height: 18px; animation-delay: 0.6s; }
.wave-bar:nth-child(8)  { height: 24px; animation-delay: 0.7s; }
.wave-bar:nth-child(9)  { height: 14px; animation-delay: 0.8s; }
.wave-bar:nth-child(10) { height: 28px; animation-delay: 0.9s; }
.wave-bar:nth-child(11) { height: 10px; animation-delay: 1.0s; }
.wave-bar:nth-child(12) { height: 22px; animation-delay: 1.1s; }
.wave-bar:nth-child(13) { height: 16px; animation-delay: 0.3s; }
.wave-bar:nth-child(14) { height: 8px;  animation-delay: 0.6s; }
.wave-bar:nth-child(15) { height: 20px; animation-delay: 0.9s; }

@keyframes wave-anim {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(0.3); }
}

.now-detecting {
  text-align: center;
  margin-bottom: 14px;
}

.detecting-label {
  font-size: 0.75rem;
  color: var(--text-3);
  font-weight: 500;
}

.track-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.track-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px;
  transition: all 0.3s;
}

.track-item.detected {
  border-color: rgba(0,212,170,0.2);
}

.track-cover {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  flex-shrink: 0;
}

.cover-1 { background: linear-gradient(135deg, #8B5CF6, #EC4899); }
.cover-2 { background: linear-gradient(135deg, #F59E0B, #EF4444); }
.cover-3 { background: linear-gradient(135deg, #06B6D4, #3B82F6); }

.cover-3.pulse {
  animation: cover-pulse 2s ease-in-out infinite;
}

@keyframes cover-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.track-info {
  flex: 1;
}

.track-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
}

.track-composer {
  font-size: 0.72rem;
  color: var(--text-3);
}

.track-check {
  color: var(--teal);
  font-size: 1rem;
  font-weight: 700;
}

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

.spinner {
  width: 16px;
  height: 16px;
  border: 2px solid var(--border);
  border-top-color: var(--cyan);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

.mockup-footer {
  border-top: 1px solid var(--border);
  padding-top: 14px;
}

.export-btn {
  background: var(--gradient);
  border-radius: var(--radius-sm);
  padding: 10px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: white;
  cursor: pointer;
  transition: opacity 0.2s;
}

.export-btn:hover {
  opacity: 0.9;
}

/* SCROLL INDICATOR */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-3);
  font-size: 0.75rem;
  z-index: 1;
  animation: fade-up 1s 0.8s ease both;
}

.scroll-arrow {
  width: 24px;
  height: 24px;
  border-right: 2px solid var(--text-3);
  border-bottom: 2px solid var(--text-3);
  transform: rotate(45deg);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50% { transform: rotate(45deg) translateY(5px); }
}

/* ========================================
   LOGO BAND
   ======================================== */
.logo-band {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
  overflow: hidden;
}

.logo-band-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.logo-band-label {
  font-size: 0.8rem;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 24px;
  font-weight: 500;
}

.platforms {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.platform-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-3);
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 0.2s;
}

.platform-item:hover {
  color: var(--text);
}

.platform-item svg {
  width: 20px;
  height: 20px;
}

/* ========================================
   FEATURES
   ======================================== */
.features {
  padding: 120px 0;
  position: relative;
  z-index: 1;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 20px;
}

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

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient);
  opacity: 0;
  transition: opacity 0.3s;
  border-radius: inherit;
  z-index: 0;
}

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

.feature-card:hover {
  border-color: rgba(233,30,140,0.25);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow-pink);
}

.feature-card-large {
  grid-column: span 3;
}

.feature-icon-wrap {
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.feature-icon {
  width: 52px;
  height: 52px;
  background: rgba(233,30,140,0.1);
  border: 1px solid rgba(233,30,140,0.2);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  color: var(--pink);
}

.feature-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
  position: relative;
  z-index: 1;
}

.feature-card p {
  color: var(--text-2);
  font-size: 0.95rem;
  line-height: 1.65;
  position: relative;
  z-index: 1;
}

.feature-card p strong {
  color: var(--text);
  font-weight: 600;
}

.feature-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 20px;
  position: relative;
  z-index: 1;
}

.feature-tags span {
  background: rgba(0,212,230,0.1);
  border: 1px solid rgba(0,212,230,0.2);
  color: var(--cyan);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 100px;
}

/* ========================================
   HOW IT WORKS
   ======================================== */
.how-it-works {
  padding: 120px 0;
  background: var(--bg-2);
  position: relative;
  z-index: 1;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 24px;
}

.step-number {
  font-size: 3.5rem;
  font-weight: 900;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 20px;
  opacity: 0.3;
}

.step-icon {
  width: 64px;
  height: 64px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.step-icon svg {
  width: 28px;
  height: 28px;
  color: var(--cyan);
}

.step-content h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}

.step-content p {
  color: var(--text-2);
  font-size: 0.9rem;
  line-height: 1.6;
}

.step-content p strong {
  color: var(--text);
}

.step-connector {
  position: absolute;
  top: 112px;
  right: -20px;
  width: 40px;
  height: 2px;
  background: var(--gradient);
  z-index: 0;
}

/* ========================================
   ROLES
   ======================================== */
.roles {
  padding: 120px 0;
  position: relative;
  z-index: 1;
}

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

.role-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.role-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.role-card-featured {
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border-color: rgba(0,212,230,0.25);
  box-shadow: 0 0 60px rgba(0,212,230,0.1);
}

.role-glow {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  filter: blur(60px);
  top: -60px;
  right: -60px;
  opacity: 0.3;
}

.role-glow-pink  { background: var(--pink); }
.role-glow-cyan  { background: var(--cyan); }
.role-glow-lime  { background: var(--lime); }

.role-featured-badge {
  display: inline-block;
  background: var(--gradient-2);
  color: var(--bg);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.role-icon {
  width: 56px;
  height: 56px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.role-icon svg {
  width: 26px;
  height: 26px;
  color: var(--text-2);
}

.role-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 12px;
}

.role-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 24px;
  line-height: 1.4;
}

.role-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.role-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-2);
  font-size: 0.9rem;
  line-height: 1.5;
}

.check-icon {
  color: var(--teal);
  font-weight: 700;
  flex-shrink: 0;
}

/* ========================================
   TECH STACK
   ======================================== */
.tech {
  padding: 120px 0;
  background: var(--bg-2);
  position: relative;
  z-index: 1;
}

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

.tech-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.3s;
}

.tech-card:hover {
  border-color: rgba(255,255,255,0.12);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.tech-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.tech-icon {
  font-size: 1.5rem;
}

.tech-card-header h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}

.tech-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.tech-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.tech-item > span:last-child {
  color: var(--text-3);
  font-size: 0.82rem;
  text-align: right;
}

.tech-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  white-space: nowrap;
}

.tech-badge.python  { background: rgba(55,116,185,0.2); color: #4d9de0; border: 1px solid rgba(55,116,185,0.3); }
.tech-badge.flask   { background: rgba(255,255,255,0.08); color: var(--text-2); border: 1px solid var(--border); }
.tech-badge.firebase { background: rgba(255,160,0,0.15); color: #ffa000; border: 1px solid rgba(255,160,0,0.3); }
.tech-badge.audio   { background: rgba(0,212,170,0.1); color: var(--teal); border: 1px solid rgba(0,212,170,0.25); }
.tech-badge.html    { background: rgba(233,76,30,0.1); color: #e84c1e; border: 1px solid rgba(233,76,30,0.3); }
.tech-badge.js      { background: rgba(240,219,79,0.1); color: #f0db4f; border: 1px solid rgba(240,219,79,0.3); }
.tech-badge.charts  { background: rgba(255,99,132,0.1); color: #ff6384; border: 1px solid rgba(255,99,132,0.3); }
.tech-badge.acr     { background: rgba(233,30,140,0.1); color: var(--pink); border: 1px solid rgba(233,30,140,0.3); }
.tech-badge.eleven  { background: rgba(147,51,234,0.1); color: #a855f7; border: 1px solid rgba(147,51,234,0.3); }
.tech-badge.spotify { background: rgba(30,215,96,0.1); color: #1ed760; border: 1px solid rgba(30,215,96,0.3); }
.tech-badge.mb      { background: rgba(186,12,47,0.1); color: #ba0c2f; border: 1px solid rgba(186,12,47,0.3); }
.tech-badge.genius  { background: rgba(255,255,255,0.06); color: var(--text-2); border: 1px solid var(--border); }

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
  padding: 140px 0;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.cta-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.orb-cta-1 {
  width: 600px; height: 600px;
  background: var(--pink);
  top: -200px; left: -200px;
  opacity: 0.15;
  filter: blur(100px);
  position: absolute;
}

.orb-cta-2 {
  width: 500px; height: 500px;
  background: var(--cyan);
  bottom: -200px; right: -100px;
  opacity: 0.12;
  filter: blur(100px);
  position: absolute;
}

.cta-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 20px;
  margin-top: 20px;
}

.cta-subtitle {
  font-size: 1.05rem;
  color: var(--text-2);
  max-width: 580px;
  margin: 0 auto 56px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 600px;
  margin: 0 auto 60px;
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: var(--text);
  transition: all 0.3s;
}

.contact-card:hover {
  border-color: rgba(0,212,230,0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow-cyan);
}

.contact-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 24px;
  height: 24px;
  color: var(--text-2);
}

.contact-label {
  font-size: 0.7rem;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.contact-value {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

.team-section {
  border-top: 1px solid var(--border);
  padding-top: 40px;
  display: inline-block;
  width: 100%;
}

.team-label {
  font-size: 0.8rem;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.team-members {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.team-member {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-2);
  transition: all 0.2s;
}

.team-member:hover {
  color: var(--text);
  border-color: rgba(255,255,255,0.15);
}

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

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 2px;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-logo .logo-icon-sm svg {
  width: 28px;
  height: 28px;
}

.footer-tagline {
  color: var(--text-3);
  font-size: 0.9rem;
  margin-bottom: 12px;
}

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

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(32px);
  transition: all 0.6s ease;
}

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

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .feature-card-large {
    grid-column: span 2;
  }
  .steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
  .step-connector { display: none; }
}

@media (max-width: 768px) {

  /* ---- HERO ---- */
  .hero {
    grid-template-columns: 1fr;
    padding: 100px 16px 60px;
    text-align: center;
    gap: 40px;
  }
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-badge {
    margin: 0 auto 28px;
  }
  .hero-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }
  .hero-subtitle {
    margin: 0 auto 40px;
    text-align: center;
  }
  .hero-ctas {
    justify-content: center;
    flex-wrap: wrap;
  }
  .hero-stats {
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
  }
  /* Mockup viene DOPO il testo su mobile */
  .hero-visual {
    order: 2;
    width: 100%;
  }
  .app-mockup {
    transform: none;
    width: 100%;
  }
  .scroll-indicator { display: none; }

  /* ---- NAVBAR ---- */
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .hamburger { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    z-index: 999;
    background: rgba(7,7,15,0.98);
    backdrop-filter: blur(20px);
    padding: 20px 24px 30px;
    border-bottom: 1px solid var(--border);
    gap: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  }
  .nav-links.open + .nav-cta {
    display: block;
    position: fixed;
    top: 180px;
    left: 24px;
    right: 24px;
    text-align: center;
  }

  /* ---- SECTIONS GENERAL ---- */
  .section-container {
    padding: 0 16px;
  }
  .section-title {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
  }

  /* ---- FEATURES ---- */
  .features-grid {
    grid-template-columns: 1fr;
  }
  .feature-card-large { grid-column: span 1; }

  /* ---- HOW IT WORKS ---- */
  .steps {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .step {
    padding: 0 8px;
  }

  /* ---- ROLES ---- */
  .roles-grid {
    grid-template-columns: 1fr;
  }

  /* ---- CONTACT ---- */
  .contact-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
  }
  .contact-card {
    justify-content: center;
    text-align: center;
    flex-direction: column;
    align-items: center;
    padding: 24px 16px;
  }

  /* ---- TEAM ---- */
  .team-members {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .team-member {
    text-align: center;
    width: 100%;
  }

  /* ---- CTA ---- */
  .cta-title {
    font-size: clamp(1.6rem, 6vw, 2.4rem);
  }
  .cta-subtitle {
    font-size: 0.95rem;
  }
}

