:root {
  --bg: #07040c;
  --text-primary: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.65);
  --border-glass: rgba(255, 255, 255, 0.16);
  --border-highlight: rgba(255, 255, 255, 0.35);
  --accent-pink: #ff007f;
  --accent-violet: #9d4edd;
  --accent-glow: rgba(255, 0, 127, 0.4);
}

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

body {
  background-color: var(--bg);
  color: var(--text-primary);
  font-family: 'Space Grotesk', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
  position: relative;
  overflow-x: hidden;
}

/* Ambient Neon Light Columns & Rays */
.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.65;
}

.glow-pink {
  width: 500px;
  height: 500px;
  top: 5%;
  left: 15%;
  background: radial-gradient(circle, rgba(255, 0, 127, 0.45) 0%, rgba(157, 78, 221, 0) 70%);
}

.glow-violet {
  width: 600px;
  height: 600px;
  bottom: 5%;
  right: 10%;
  background: radial-gradient(circle, rgba(157, 78, 221, 0.45) 0%, rgba(255, 0, 127, 0) 70%);
}

/* Layered Glass Sheets in Background */
.glass-backdrop-sheet {
  position: absolute;
  border-radius: 36px;
  border: 1px solid rgba(255, 0, 127, 0.22);
  background: linear-gradient(135deg, rgba(255, 0, 127, 0.06) 0%, rgba(157, 78, 221, 0.03) 100%);
  pointer-events: none;
  z-index: 1;
}

.sheet-back {
  width: 84%;
  max-width: 920px;
  height: 86%;
  transform: rotate(-3.5deg) translateY(-12px);
  opacity: 0.55;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.sheet-mid {
  width: 82%;
  max-width: 880px;
  height: 89%;
  transform: rotate(2.5deg) translateY(6px);
  opacity: 0.75;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

/* Primary Glassmorphic Main Window Frame */
.glass-window {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 840px;
  background: linear-gradient(
    135deg,
    rgba(255, 0, 127, 0.12) 0%,
    rgba(30, 15, 45, 0.65) 40%,
    rgba(12, 7, 24, 0.92) 100%
  );
  backdrop-filter: blur(36px) saturate(220%) contrast(110%);
  -webkit-backdrop-filter: blur(36px) saturate(220%) contrast(110%);
  border: 1px solid var(--border-glass);
  box-shadow: 
    0 40px 100px rgba(0, 0, 0, 0.8),
    inset 0 1px 2px rgba(255, 255, 255, 0.35),
    inset 0 -1px 2px rgba(0, 0, 0, 0.6),
    0 0 60px rgba(255, 0, 127, 0.18);
  border-radius: 30px;
  padding: 28px 36px 44px;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

/* Window Header Bar */
.window-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 18px;
  gap: 16px;
}

.window-controls {
  display: flex;
  gap: 8px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot-red { background-color: #ff5f56; box-shadow: 0 0 8px rgba(255, 95, 86, 0.6); }
.dot-yellow { background-color: #ffbd2e; box-shadow: 0 0 8px rgba(255, 189, 46, 0.6); }
.dot-green { background-color: #27c93f; box-shadow: 0 0 8px rgba(39, 201, 63, 0.6); }

.window-nav {
  display: flex;
  gap: 22px;
  align-items: center;
  flex-wrap: wrap;
}

.window-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.25s ease, text-shadow 0.25s ease;
}

.window-nav a:hover {
  color: var(--text-primary);
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.6);
}

.window-nav a.nav-highlight {
  color: #ff66b2;
  font-weight: 600;
}

.window-nav a.nav-highlight:hover {
  color: #ff99cc;
  text-shadow: 0 0 14px rgba(255, 0, 127, 0.7);
}

/* Hero Section */
.hero-section {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 16px 0;
}

.hero-name {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: clamp(40px, 9vw, 78px);
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(180deg, #ffffff 20%, rgba(255, 120, 190, 0.9) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0;
  filter: drop-shadow(0 0 30px rgba(255, 0, 127, 0.35));
}

.hero-caption {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 100px;
  padding: 10px 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.3);
  text-align: center;
}

.neon-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-pink);
  box-shadow: 0 0 10px var(--accent-pink);
}

.pulsing {
  animation: neonPulse 1.5s infinite alternate;
}

@keyframes neonPulse {
  0% { opacity: 0.5; transform: scale(0.9); box-shadow: 0 0 5px var(--accent-pink); }
  100% { opacity: 1; transform: scale(1.3); box-shadow: 0 0 16px var(--accent-pink); }
}

/* Interactive Glass Cards Grid */
.interactive-zones {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.glass-card {
  background: rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  padding: 24px 28px;
  box-shadow: 
    0 12px 36px rgba(0, 0, 0, 0.3),
    inset 0 1px 1px rgba(255, 255, 255, 0.2);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover {
  border-color: rgba(255, 0, 127, 0.3);
  box-shadow: 
    0 16px 48px rgba(0, 0, 0, 0.4),
    inset 0 1px 1px rgba(255, 255, 255, 0.3),
    0 0 25px rgba(255, 0, 127, 0.12);
  transform: translateY(-2px);
}

.glass-card h2 {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 16px;
}

form, .chat-input-group {
  display: flex;
  gap: 12px;
}

input {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 14px;
  padding: 12px 18px;
  border-radius: 12px;
  flex: 1;
  outline: none;
  transition: all 0.25s ease;
}

input:focus {
  border-color: rgba(255, 0, 127, 0.6);
  box-shadow: 0 0 16px rgba(255, 0, 127, 0.3);
  background: rgba(0, 0, 0, 0.45);
}

button[type="submit"], button[type="button"] {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.2);
  transition: all 0.25s ease;
}

button[type="submit"]:hover, button[type="button"]:hover {
  background: rgba(255, 0, 127, 0.25);
  border-color: rgba(255, 0, 127, 0.6);
  box-shadow: 0 0 20px rgba(255, 0, 127, 0.35);
}

.status-msg {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 10px;
  min-height: 18px;
}

/* Chat Component */
.chat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-log {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  height: 240px;
  overflow-y: auto;
  padding: 18px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
  background: rgba(0, 0, 0, 0.35);
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.4);
}

.chat-msg {
  display: flex;
  gap: 8px;
  align-items: center;
}

.chat-who {
  color: var(--text-muted);
  font-weight: 600;
}

.chat-text {
  color: var(--text-primary);
  flex: 1;
}

/* Broadcast Video Section */
.broadcast-card {
  border-color: rgba(255, 0, 127, 0.4);
  box-shadow: 0 0 35px rgba(255, 0, 127, 0.2);
}

.broadcast-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.live-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--accent-pink);
}

.stream-title {
  font-size: 14px;
  color: var(--text-primary);
}

.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  background: #000;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.video-container iframe,
.video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.hidden {
  display: none !important;
}

/* Comprehensive Responsive Breakpoints */
@media (max-width: 768px) {
  body { padding: 24px 12px; }
  .glass-window {
    padding: 20px 22px 32px;
    border-radius: 24px;
    gap: 28px;
  }
  .window-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .window-nav {
    gap: 14px;
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  body { padding: 12px 8px; }
  .glass-window {
    padding: 16px 14px 24px;
    border-radius: 18px;
    gap: 22px;
  }
  .glass-card {
    padding: 16px 14px;
    border-radius: 16px;
  }
  .hero-caption {
    padding: 8px 16px;
    font-size: 12px;
  }
  form, .chat-input-group {
    flex-direction: column;
    gap: 8px;
  }
  button[type="submit"], button[type="button"] {
    width: 100%;
  }
}

/* ============================================
   ACCESSIBILITY & UX ENHANCEMENTS
   ============================================ */

/* Skip-to-content link (a11y) */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 1000;
  background: var(--accent-pink);
  color: #fff;
  padding: 12px 24px;
  border-radius: 0 0 12px 12px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 0;
}

/* Visually hidden labels for screen readers */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Focus-visible styles */
*:focus-visible {
  outline: 2px solid var(--accent-pink);
  outline-offset: 3px;
}

input:focus-visible {
  outline: none;
  border-color: rgba(255, 0, 127, 0.7);
  box-shadow: 0 0 0 3px rgba(255, 0, 127, 0.25), 0 0 16px rgba(255, 0, 127, 0.3);
}

/* Improved muted text contrast (WCAG AA on #07040c) */
.hero-caption,
.glass-card h2,
.window-nav a,
.status-msg,
.chat-who {
  color: rgba(255, 255, 255, 0.78);
}

/* ============================================
   CTA CARD STYLES
   ============================================ */
.cta-card {
  text-align: center;
  border-color: rgba(255, 0, 127, 0.25);
  background: rgba(255, 0, 127, 0.04);
}

.cta-description {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  margin-bottom: 18px;
  line-height: 1.5;
}

.cta-button {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent-pink) 0%, var(--accent-violet) 100%);
  color: #ffffff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 14px 36px;
  border-radius: 14px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 24px rgba(255, 0, 127, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.25);
}

.cta-button:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 32px rgba(255, 0, 127, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.3);
}

.cta-button:active {
  transform: translateY(0) scale(0.98);
}

/* ============================================
   LEAVE CHAT BUTTON
   ============================================ */
.btn-leave {
  background: rgba(255, 51, 68, 0.1) !important;
  border-color: rgba(255, 51, 68, 0.3) !important;
  color: #ff5f56 !important;
  padding: 12px 14px !important;
  font-size: 12px !important;
  min-width: auto;
  flex-shrink: 0;
}
.btn-leave:hover {
  background: rgba(255, 51, 68, 0.25) !important;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  text-align: center;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.site-footer p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}
.site-footer a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
}
.site-footer a:hover {
  color: var(--accent-pink);
}

/* ============================================
   LOADING & SUCCESS STATES
   ============================================ */
.btn-loading {
  pointer-events: none;
  opacity: 0.7;
}
.btn-loading::after {
  content: '';
  display: inline-block;
  width: 12px;
  height: 12px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  margin-left: 8px;
  animation: spin 0.6s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

.status-msg.success {
  color: #33ff78;
}
.status-msg.error {
  color: #ff5f56;
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================
   MOBILE PERFORMANCE: REDUCE GPU-HEAVY BLUR
   ============================================ */
@media (max-width: 768px) {
  .glass-window {
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
  }
  .glass-card {
    backdrop-filter: blur(14px) saturate(160%);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
  }
  .hero-caption {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
  .cta-button {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .cta-button {
    padding: 12px 24px;
    font-size: 14px;
  }
}

/* ============================================
   JJE BRAND HEADER STYLING (DYNAMIC GRADIENT SANS-SERIF)
   ============================================ */
.jje-brand-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 24px;
  font-family: 'Inter', 'SF Pro Display', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* Main Title — animated electric blue gradient, heavy, tight */
.jje-title {
  font-family: 'Inter', 'SF Pro Display', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: clamp(2.75rem, 8vw, 4rem);
  font-weight: 900;
  margin: 0;
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(135deg, #00f2fe 0%, #4facfe 50%, #00c6fb 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: dynamicGradient 5s ease infinite alternate;
  filter: drop-shadow(0 0 30px rgba(0, 242, 254, 0.4));
}

/* Subtitle — wide tracked, clean white, authoritative */
.jje-subtitle {
  font-family: 'Inter', 'SF Pro Display', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 700;
  margin: 16px 0 24px 0;
  letter-spacing: 0.4em;
  color: #ffffff;
  text-transform: uppercase;
  -webkit-text-fill-color: #ffffff;
}

/* Description — readable, subtle gray */
.jje-description {
  font-family: 'Inter', 'SF Pro Display', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: clamp(0.9rem, 2vw, 1rem);
  font-weight: 400;
  color: #a3a3a3;
  -webkit-text-fill-color: #a3a3a3;
  max-width: 450px;
  line-height: 1.6;
  margin: 0;
  letter-spacing: 0.02em;
}

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

@media (max-width: 600px) {
  .jje-brand-container {
    padding: 36px 16px;
  }
  .jje-subtitle {
    letter-spacing: 0.25em;
  }
}

/* ============================================
   PLATFORM INTEGRATIONS SECTION
   ============================================ */
.integrations-section {
  margin-top: 32px;
  padding: 0 0 8px;
}

.integrations-header {
  text-align: center;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.integrations-badge {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.02em;
}

.integrations-title {
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin: 0;
}

.gradient-text-white {
  background: linear-gradient(90deg, #ffffff 0%, #c0d8ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-blue {
  background: linear-gradient(90deg, #4facfe 0%, #9d4edd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.integrations-subtitle {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: rgba(255, 255, 255, 0.6);
  max-width: 560px;
  line-height: 1.6;
  margin: 0;
}

/* Integration Cards Grid */
.integrations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.int-card {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.25s ease,
              box-shadow 0.25s ease;
  outline: none;
}

.int-card:hover,
.int-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(79, 172, 254, 0.35);
  box-shadow: 0 16px 40px rgba(79, 172, 254, 0.12);
}

.int-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.int-card-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.int-icon {
  padding: 10px;
  border-radius: 12px;
  background: rgba(79, 172, 254, 0.1);
  color: #4facfe;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.int-card-name {
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 2px;
  transition: color 0.2s ease;
}

.int-card:hover .int-card-name {
  color: #7ec8fa;
}

.int-card-category {
  font-size: 12px;
  color: rgba(157, 78, 221, 0.9);
}

.int-badge-active {
  font-size: 11px;
  font-weight: 600;
  color: #33ff78;
  background: rgba(51, 255, 120, 0.12);
  border-radius: 99px;
  padding: 3px 10px;
  white-space: nowrap;
  flex-shrink: 0;
}

.int-card-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.55;
  margin: 0;
  transition: color 0.2s ease;
}

.int-card:hover .int-card-desc {
  color: rgba(255, 255, 255, 0.78);
}

.int-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.int-features li {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: color 0.2s ease;
}

.int-card:hover .int-features li {
  color: rgba(255, 255, 255, 0.72);
}

.int-check {
  color: #33ff78;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.int-card:hover .int-check {
  transform: scale(1.15);
}

.int-stats {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  text-align: center;
}

.int-stat-val {
  font-size: 14px;
  font-weight: 700;
  background: linear-gradient(90deg, #4facfe 0%, #9d4edd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: filter 0.2s ease;
}

.int-card:hover .int-stat-val {
  filter: brightness(1.25);
}

.int-stat-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 2px;
}

.int-connect-btn {
  display: block;
  width: 100%;
  padding: 10px 0;
  background: linear-gradient(90deg, rgba(59, 130, 246, 0.35) 0%, rgba(147, 51, 234, 0.35) 100%);
  border: 1px solid rgba(79, 172, 254, 0.2);
  border-radius: 10px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  margin-top: auto;
}

.int-connect-btn:hover {
  background: linear-gradient(90deg, rgba(59, 130, 246, 0.75) 0%, rgba(147, 51, 234, 0.75) 100%);
  transform: scaleX(1.02);
  box-shadow: 0 6px 20px rgba(79, 172, 254, 0.2);
}

/* Developer API Panel */
.dev-api-panel {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(147, 51, 234, 0.1) 100%);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  padding: 28px;
}

.dev-api-header {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
  justify-content: center;
  text-align: center;
  flex-direction: column;
}

.dev-api-icon {
  padding: 14px;
  border-radius: 16px;
  background: rgba(79, 172, 254, 0.12);
  color: #4facfe;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dev-api-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 4px;
}

.dev-api-sub {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
}

.dev-api-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.dev-code-card {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.dev-code-card-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.dev-code-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.dev-code-title {
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 3px;
}

.dev-code-desc {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

.dev-code-block {
  background: rgba(7, 4, 12, 0.6);
  border-radius: 12px;
  padding: 14px;
  overflow-x: auto;
}

.dev-code-lang-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.dev-code-lang-row span {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.dev-copy-btn {
  font-size: 12px;
  color: #4facfe;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
  transition: color 0.2s ease;
}

.dev-copy-btn:hover {
  color: #9d4edd;
}

.dev-code-block pre {
  margin: 0;
  overflow-x: auto;
}

.dev-code-block code {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.8);
  font-family: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', monospace;
  line-height: 1.6;
  white-space: pre;
}

.dev-api-cta {
  text-align: center;
}

/* Responsive: Integrations */
@media (max-width: 768px) {
  .integrations-grid {
    grid-template-columns: 1fr;
  }
  .dev-api-grid {
    grid-template-columns: 1fr;
  }
  .dev-api-panel {
    padding: 18px;
  }
}

@media (max-width: 480px) {
  .integrations-badge {
    font-size: 12px;
    padding: 8px 16px;
  }
  .integrations-title {
    font-size: 1.8rem;
  }
}
