/* ==========================================================================
   PAINELFÁCIL PREMIUM STYLESHEET (DARK MODE & GLASSMORPHISM)
   ========================================================================== */

:root {
  --bg-dark: #030712;
  --bg-card: rgba(13, 22, 44, 0.65);
  --bg-card-hover: rgba(18, 30, 60, 0.78);
  --primary: #00d2c4;
  --primary-glow: rgba(0, 210, 196, 0.4);
  --primary-light: #00f2e2;
  --accent: #8b5cf6;
  --accent-glow: rgba(139, 92, 246, 0.3);
  --gold: #fbbf24;
  --gold-glow: rgba(251, 191, 36, 0.3);
  --text-main: #ffffff;
  --text-muted: #94a3b8;
  --text-disabled: #475569;
  --border-color: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(0, 210, 196, 0.6);
  --success: #22c55e;
  --success-glow: rgba(34, 197, 94, 0.2);
  --danger: #ef4444;
  --danger-glow: rgba(239, 68, 68, 0.2);
  
  --font-title: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --sidebar-width: 390px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  height: 100vh;
  overflow: hidden;
  position: relative;
}

/* Background elements animating */
.background-elements {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.18;
}

.blob-1 {
  top: -10%;
  left: 10%;
  width: 45vw;
  height: 45vw;
  background: var(--primary);
  animation: blob-float 15s infinite alternate ease-in-out;
}

.blob-2 {
  bottom: -10%;
  right: 10%;
  width: 40vw;
  height: 40vw;
  background: var(--accent);
  animation: blob-float 12s infinite alternate-reverse ease-in-out;
}

@keyframes blob-float {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(50px, -50px) scale(1.1); }
  100% { transform: translate(-30px, 30px) scale(0.9); }
}

.container {
  max-width: 1300px;
  width: 100%;
  height: 100vh;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Glassmorphism utility card - modified to solid for compatibility */
.glass-card {
  background: #15182d;
  border: 1px solid var(--border-color);
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

/* ==========================================
   LANDING PAGE DESIGN
   ========================================== */

#login-section {
  max-width: 1000px;
  margin: 50px auto;
  animation: fade-in-up 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  max-height: calc(100vh - 60px);
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none;  /* IE e Edge */
}

#login-section::-webkit-scrollbar {
  display: none; /* Chrome, Safari e Opera */
}

@keyframes fade-in-up {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

.app-header-landing {
  margin-bottom: 40px;
}

.logo-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.logo-icon-landing {
  color: var(--primary-light);
  filter: drop-shadow(0 0 15px var(--primary-glow));
  animation: heartbeat 3s infinite ease-in-out;
}

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.glow-text {
  font-family: var(--font-title);
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -1px;
  background: linear-gradient(135deg, #ffffff 40%, var(--primary-light) 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 20px rgba(99, 102, 241, 0.3));
}

.subtitle-landing {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
  font-weight: 400;
}

/* Features grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin: 45px 0 50px;
  text-align: left;
}

.feature-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 25px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(99, 102, 241, 0.2);
  background: rgba(255, 255, 255, 0.05);
}

.feature-icon-wrapper {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-family: var(--font-title);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Login box */
.login-action-box {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 24px;
  padding: 40px;
  max-width: 600px;
  margin: 0 auto 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.security-icon {
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 15px;
  filter: drop-shadow(0 0 10px rgba(255,255,255,0.2));
}

.login-action-box h2 {
  font-family: var(--font-title);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.login-action-box p {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 25px;
  max-width: 450px;
  line-height: 1.5;
}

.btn-primary-login {
  background: #4285F4;
  color: white;
  border: none;
  font-size: 1.15rem;
  font-weight: 600;
  padding: 15px 35px;
  border-radius: 50px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 4px 15px rgba(66, 133, 244, 0.4);
  transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
}

.btn-primary-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(66, 133, 244, 0.6);
  filter: brightness(1.05);
}

/* ==========================================
   PRICING PLANS
   ========================================== */

.pricing-section {
  margin: 60px 0 50px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 50px;
}

.pricing-title {
  font-family: var(--font-title);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.pricing-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.plans-container {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

.plan-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 24px;
  padding: 40px 30px;
  width: 100%;
  max-width: 380px;
  text-align: left;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.plan-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.plan-card.popular {
  border-color: rgba(99, 102, 241, 0.4);
  background: rgba(79, 70, 229, 0.04);
}

.plan-card.popular:hover {
  box-shadow: 0 20px 40px rgba(79, 70, 229, 0.15);
  border-color: var(--primary-light);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 5px 15px;
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(79, 70, 229, 0.4);
}

.plan-name {
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 20px;
  display: block;
}

.plan-price {
  display: flex;
  align-items: baseline;
  margin-bottom: 10px;
}

.plan-price .currency {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-main);
  margin-right: 4px;
}

.plan-price .amount {
  font-family: var(--font-title);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1;
}

.plan-price .period {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-left: 5px;
}

.equivalent-price {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--success);
  margin-bottom: 20px;
}

.plan-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 25px;
  min-height: 45px;
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 35px;
}

.plan-features li {
  font-size: 0.9rem;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 10px;
}

.text-success {
  color: var(--success);
}

.btn-placeholder {
  display: block;
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 14px;
  font-weight: 600;
  font-size: 0.95rem;
  pointer-events: none;
}

/* Paywall billing buttons */
.btn-pay {
  width: 100%;
  border: none;
  border-radius: 12px;
  padding: 15px;
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-title);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
  color: white;
}

.btn-monthly {
  background: #2563eb;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn-monthly:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.5);
  filter: brightness(1.08);
}

.btn-semestral {
  background: #16a34a;
  box-shadow: 0 4px 15px rgba(22, 163, 74, 0.3);
}

.btn-semestral:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(22, 163, 74, 0.5);
  filter: brightness(1.08);
}

/* FAQs landing block */
.faq-container-landing {
  margin-top: 50px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 40px;
  text-align: left;
}

.faq-container-landing h2 {
  font-family: var(--font-title);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.faq-item-landing {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 20px;
}

.faq-item-landing h5 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 10px;
}

.faq-item-landing p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================
   2. PAYWALL STYLING
   ========================================== */

#subscription-area {
  max-width: 800px;
  margin: 20px auto;
  padding: 40px 30px;
}

.subscription-header {
  margin-bottom: 35px;
}

.crown-icon-wrapper {
  display: inline-flex;
  width: 75px;
  height: 75px;
  background: rgba(245, 158, 11, 0.1);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: var(--gold);
  margin-bottom: 20px;
  box-shadow: 0 0 20px var(--gold-glow);
}

.glow-text-gold {
  font-family: var(--font-title);
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 15px;
}

.subscription-intro-text {
  font-size: 1.05rem;
  color: #cbd5e1;
  max-width: 550px;
  margin: 0 auto;
  line-height: 1.6;
}

.card-checkout-disclaimer {
  font-size: 0.82rem;
  color: var(--text-disabled);
  margin: 15px 0 20px;
}

.status-message-box {
  margin: 25px auto;
  padding: 15px 25px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1.05rem;
  max-width: 500px;
  animation: pulse-border 2s infinite alternate;
}

@keyframes pulse-border {
  0% { transform: scale(1); }
  100% { transform: scale(1.02); }
}

.paywall-user-footer {
  margin-top: 35px;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.paywall-user-footer .divider {
  color: rgba(255,255,255,0.15);
}

.btn-logout-link {
  background: transparent;
  border: none;
  color: var(--danger);
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.92rem;
  transition: color 0.2s;
}

.btn-logout-link:hover {
  color: #fca5a5;
}

/* ==========================================
   3. APP MAIN WORKSPACE & NAVIGATION
   ========================================== */

#main-app {
  display: flex;
  flex-direction: column;
  height: 100vh;
  position: relative;
}

@keyframes fade-in {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

/* Navigation bar */
.app-nav {
  height: 70px;
  background: #111322;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 30px;
  z-index: 10;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--primary-light);
  filter: drop-shadow(0 0 6px var(--primary-glow));
}

.nav-brand-title {
  font-family: var(--font-title);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: white;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-badge-pro {
  font-size: 0.72rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--gold) 0%, #fbbf24 100%);
  color: #000;
  padding: 2px 6px;
  border-radius: 6px;
  letter-spacing: 0.3px;
  box-shadow: 0 2px 6px rgba(245,158,11,0.4);
}

.nav-links {
  display: flex;
  gap: 15px;
  background: rgba(0,0,0,0.25);
  padding: 5px;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.05);
}

.nav-link {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 40px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.nav-link:hover {
  color: white;
}

.nav-link.active {
  color: white;
  background: var(--primary);
  box-shadow: 0 4px 10px var(--primary-glow);
}

.nav-user-area {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-user-email {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.btn-logout-small {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: var(--danger);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-logout-small:hover {
  background: rgba(239, 68, 68, 0.2);
  transform: scale(1.05);
}

/* ==========================================
   WORK AREA (TABS CONTENT)
   ========================================== */

.tab-content-item {
  display: flex;
  flex-direction: column;
  height: calc(100vh - 70px);
  overflow: hidden;
}

/* As abas de conteúdo scrollável precisam de overflow auto */
#tab-conta,
#tab-sobre {
  overflow-y: auto;
}


.hidden {
  display: none !important;
}

/* Views Management inside Tab */
.view-state {
  display: none;
  flex: 1;
  overflow: hidden;
  position: relative;
}

.view-state.active {
  display: flex;
}

/* Upload state */
#upload-view {
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, #11142c 0%, var(--bg-dark) 80%);
}

.upload-card {
  width: 90%;
  max-width: 600px;
  background: #15182d;
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 8px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.upload-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px rgba(99, 102, 241, 0.15);
}

.drag-area {
  border: 2px dashed rgba(99, 102, 241, 0.3);
  border-radius: 18px;
  padding: 60px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, background-color 0.3s;
}

.drag-area:hover, .drag-area.drag-over {
  border-color: var(--primary-light);
  background: rgba(99, 102, 241, 0.05);
}

.pulse-ring {
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: var(--primary-glow);
  opacity: 0;
  transform: scale(0.6);
  pointer-events: none;
}

.drag-area:hover .pulse-ring, .drag-area.drag-over .pulse-ring {
  opacity: 0.15;
  transform: scale(1.2);
  animation: pulse-animation 2s infinite ease-out;
}

@keyframes pulse-animation {
  0% { transform: scale(0.8); opacity: 0.25; }
  100% { transform: scale(1.6); opacity: 0; }
}

.upload-icon-wrapper {
  color: var(--primary-light);
  margin-bottom: 20px;
  filter: drop-shadow(0 0 10px rgba(99,102,241,0.4));
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.2);
}

.drag-area:hover .upload-icon-wrapper {
  transform: translateY(-6px);
}

.drag-area h3 {
  font-family: var(--font-title);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.upload-hint {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.file-input-hidden {
  display: none;
}

/* Editor Workspace layout */
.workspace {
  display: flex;
  width: 100%;
  height: calc(100vh - 70px - 52px - 40px); /* viewport - navbar - view-state header approx */
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

/* Sidebar Controls */
.controls-sidebar {
  width: var(--sidebar-width);
  min-width: var(--sidebar-width);
  background: #111322;
  border-right: 1px solid var(--border-color);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.08) transparent;
}

.controls-sidebar::-webkit-scrollbar {
  width: 5px;
}
.controls-sidebar::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.08);
  border-radius: 3px;
}

.sidebar-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 2px;
}

.image-meta {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow: hidden;
}

.badge {
  font-size: 10.5px;
  font-weight: 600;
  background: rgba(99, 102, 241, 0.18);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: var(--primary-light);
  padding: 2px 8px;
  border-radius: 20px;
  width: fit-content;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.meta-text {
  font-size: 10.5px;
  color: var(--text-muted);
}

/* Control Cards */
.control-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.card-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.step-num {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  font-family: var(--font-title);
  box-shadow: 0 0 6px var(--primary-glow);
}

.card-title h2 {
  font-family: var(--font-title);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-main);
}

.control-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.control-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

label {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--text-muted);
}

.label-with-value {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.val-badge {
  font-family: var(--font-title);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--primary-light);
  background: rgba(99, 102, 241, 0.12);
  padding: 2px 6px;
  border-radius: 4px;
}

select {
  width: 100%;
  background: rgba(7, 8, 14, 0.7);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 8px 10px;
  color: var(--text-main);
  font-size: 12.5px;
  font-weight: 500;
  outline: none;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}

select:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.input-info {
  font-size: 10px;
  color: var(--text-disabled);
  line-height: 1.3;
}

/* Custom Sliders */
.range-container {
  display: flex;
  align-items: center;
}

input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  outline: none;
  margin: 6px 0;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--primary-light);
  cursor: pointer;
  box-shadow: 0 0 6px rgba(99, 102, 241, 0.6);
  transition: transform 0.1s;
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  background: #ffffff;
}

/* Switches */
.checkbox-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.checkbox-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 2px;
}

.switch-container {
  position: relative;
  display: inline-block;
  width: 32px;
  height: 16px;
}

.switch-container input {
  opacity: 0;
  width: 0;
  height: 0;
}

.switch-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.1);
  transition: .3s;
  border-radius: 32px;
  border: 1px solid var(--border-color);
}

.switch-slider:before {
  position: absolute;
  content: "";
  height: 10px;
  width: 10px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  transition: .3s;
  border-radius: 50%;
}

input:checked + .switch-slider {
  background-color: var(--primary);
  border-color: var(--primary-light);
}

input:checked + .switch-slider:before {
  transform: translateX(16px);
}

.checkbox-label {
  font-size: 11.5px;
  color: var(--text-main);
  font-weight: 500;
  cursor: pointer;
}

/* Stats card */
.stats-card {
  background: #111322;
  border: 1px dashed rgba(99, 102, 241, 0.35);
  border-radius: 14px;
  padding: 14px;
  position: sticky;
  top: 0;
  z-index: 5;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.stats-card h3 {
  font-family: var(--font-title);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--primary-light);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stats-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stat-item {
  display: flex;
  justify-content: space-between;
  font-size: 11.5px;
}

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

.stat-value {
  font-family: var(--font-title);
  font-weight: 600;
  color: var(--text-main);
}

/* Download button */
.btn-primary {
  width: 100%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border: none;
  border-radius: 12px;
  padding: 13px 18px;
  font-size: 13.5px;
  font-weight: 600;
  font-family: var(--font-title);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.35);
  transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
  color: white;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.5);
  filter: brightness(1.05);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary-sm {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 5px 10px;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.btn-secondary-sm:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* Visualizer area */
.preview-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 0;
  background: #090a12;
  position: relative;
}

.preview-header {
  height: 52px;
  background: rgba(21, 24, 45, 0.3);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}

.tabs-preview {
  display: flex;
  gap: 6px;
}

.tabs-preview .tab-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 12.5px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
}

.tabs-preview .tab-btn:hover {
  color: var(--text-main);
  background: rgba(255,255,255,0.02);
}

.tabs-preview .tab-btn.active {
  color: var(--primary-light);
  background: rgba(99, 102, 241, 0.1);
  font-weight: 600;
}

.paginator {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-main);
  background: rgba(0,0,0,0.25);
  padding: 4px 8px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.btn-icon-only {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-icon-only:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* Centering image viewport */
.preview-viewport-container {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow: auto; /* Permite barras de rolagem ao dar zoom! */
  position: relative;
  background: radial-gradient(circle at center, rgba(99, 102, 241, 0.03) 0%, rgba(0, 0, 0, 0) 70%);
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.1) transparent;
}

.preview-viewport-container::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
.preview-viewport-container::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.15);
  border-radius: 3px;
}

.preview-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.5);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  background: #0d0f1b;
  position: relative;
  margin: auto; /* Corrige o bug de rolagem centralizada do flexbox */
  max-width: 100%;
  max-height: 100%;
}

.preview-viewport-container.zoomed .preview-wrapper {
  max-width: none;
  max-height: none;
}

#preview-canvas {
  max-width: 100%;
  max-height: 100%;
  display: block;
  object-fit: contain;
}

.preview-viewport-container.zoomed #preview-canvas {
  max-width: none;
  max-height: none;
}

.zoom-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.25);
  padding: 4px 8px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

/* Circle loader progress */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(5, 6, 12, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
}

.modal-overlay.active {
  display: flex;
}

.modal-card {
  width: 90%;
  max-width: 400px;
  background: rgba(21, 24, 45, 0.8);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 25px 60px rgba(0,0,0,0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: modal-zoom 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modal-zoom {
  0% { transform: scale(0.95); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.modal-card h3 {
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.modal-card p {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.45;
  margin-bottom: 20px;
}

.progress-ring-container {
  position: relative;
  width: 120px;
  height: 120px;
  margin-bottom: 20px;
}

.progress-ring {
  transform: rotate(-90deg);
}

.progress-ring__circle {
  transition: stroke-dashoffset 0.1s;
  transform-origin: 50% 50%;
}

.progress-text {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-size: 1.4rem;
  font-weight: 700;
  color: white;
}

.progress-status {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--primary-light);
  background: rgba(99, 102, 241, 0.12);
  padding: 6px 14px;
  border-radius: 20px;
}

/* ==========================================
   MINHA CONTA (TAB CONTA)
   ========================================== */

.account-container {
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  padding: 30px 15px 50px;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.account-card {
  padding: 30px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.account-avatar {
  width: 75px;
  height: 75px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 800;
  color: white;
  border: 3px solid rgba(255,255,255,0.08);
  box-shadow: 0 4px 15px var(--primary-glow);
}

.account-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
}

.account-info h3 {
  font-family: var(--font-title);
  font-size: 1.4rem;
  font-weight: 700;
}

.account-info .email {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.account-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 6px;
  margin-top: 8px;
  width: fit-content;
}

.account-status-badge.active {
  background: rgba(245, 158, 11, 0.15);
  color: var(--gold);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.account-status-badge.inactive {
  background: rgba(239, 68, 68, 0.15);
  color: var(--danger);
  border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Validity Days bar */
.validity-card {
  padding: 25px;
  text-align: left;
}

.validity-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.validity-title {
  font-size: 0.92rem;
  color: var(--text-muted);
  font-weight: 600;
}

.validity-date {
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
}

.validity-days {
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--success);
}

.validity-bar-bg {
  height: 8px;
  background: rgba(255,255,255,0.05);
  border-radius: 10px;
  margin-top: 15px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.04);
}

.validity-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--success) 0%, #4ade80 100%);
  border-radius: 10px;
  width: 0%;
  transition: width 1s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 8px var(--success-glow);
}

/* Upgrade instructions on account */
.plans-section-title {
  font-family: var(--font-title);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 6px;
  text-align: left;
}

.plans-section-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 25px;
  text-align: left;
}

/* History table */
.history-card {
  padding: 25px;
  text-align: left;
}

.history-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  font-family: var(--font-title);
  font-weight: 700;
  margin-bottom: 12px;
}

.history-info-alert {
  font-size: 0.85rem;
  color: #93c5fd;
  background: rgba(59, 130, 246, 0.08);
  padding: 12px 18px;
  border-radius: 10px;
  margin-bottom: 20px;
  border-left: 3px solid #3b82f6;
  line-height: 1.45;
}

#history-loading {
  padding: 30px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
}

#history-empty {
  padding: 40px;
  text-align: center;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
}

#history-empty i {
  font-size: 2rem;
  color: var(--text-disabled);
}

.history-table {
  width: 100%;
  border-collapse: collapse;
}

.history-table th, .history-table td {
  padding: 12px 10px;
  font-size: 0.88rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.history-table th {
  background: rgba(255,255,255,0.02);
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.5px;
  text-align: center;
}

.history-table td {
  color: #cbd5e1;
  text-align: center;
}

.payment-method-badge {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
  padding: 4px 10px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.payment-status-badge {
  padding: 4px 10px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.payment-status-badge.approved {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

/* ==========================================
   TUTORIAL / COMO MONTAR (TAB SOBRE)
   ========================================== */

.about-container {
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  padding: 30px 15px 50px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.about-header {
  text-align: center;
}

.about-header h2 {
  font-family: var(--font-title);
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.about-header p {
  font-size: 1rem;
  color: var(--text-muted);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.about-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 20px;
  padding: 25px;
  text-align: left;
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

.about-card h3 {
  font-family: var(--font-title);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.about-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Gluing illustrated card */
.glue-info-card {
  padding: 30px;
  text-align: left;
  border-color: rgba(255, 45, 85, 0.2);
  background: rgba(255, 45, 85, 0.02);
}

.glue-alert-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}

.glue-alert-header i {
  font-size: 1.6rem;
  color: var(--accent);
  filter: drop-shadow(0 0 6px var(--accent-glow));
}

.glue-alert-header h3 {
  font-family: var(--font-title);
  font-size: 1.3rem;
  font-weight: 700;
  color: white;
}

.glue-info-card p {
  font-size: 0.95rem;
  color: #e2e8f0;
  line-height: 1.5;
  margin-bottom: 12px;
}

.glue-alert-rule {
  font-weight: 700;
  color: #ff2d55;
  margin-top: 15px;
}

.glue-steps-list {
  list-style: decimal;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}

.glue-steps-list li {
  font-size: 0.92rem;
  color: #cbd5e1;
  line-height: 1.5;
}

/* FAQ dropdown lists */
.faq-card {
  padding: 30px;
  text-align: left;
}

.faq-card h3 {
  font-family: var(--font-title);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding-bottom: 10px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-question {
  font-size: 0.98rem;
  font-weight: 600;
  color: white;
}

.faq-answer {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================
   APP FOOTER AND CREDITS
   ========================================== */

.app-footer-credit {
  margin-top: auto;
  padding: 25px 0 20px;
  text-align: center;
  color: rgba(255,255,255,0.3);
  font-size: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,0.04);
}

.whatsapp-contact-badge {
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.04);
  padding: 5px 14px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.whatsapp-contact-badge i {
  color: #10b981;
}

.whatsapp-contact-badge a {
  color: #10b981;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.whatsapp-contact-badge a:hover {
  color: #34d399;
}

/* Mobile responsive fixes */
@media (max-width: 1024px) {
  .workspace {
    flex-direction: column-reverse;
  }
  .controls-sidebar {
    width: 100%;
    height: auto;
    max-height: 50vh;
    border-right: none;
    border-top: 1px solid var(--border-color);
  }
  .preview-area {
    height: 50vh;
  }
  .app-nav {
    padding: 0 15px;
  }
  .nav-brand-title span {
    display: none;
  }
  .nav-link {
    padding: 6px 12px;
    font-size: 0.82rem;
  }
}

/* Navigation Dropdown (JS-controlled via .open class) */
.nav-dropdown {
  position: relative;
  display: inline-block;
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(15, 18, 36, 0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 8px;
  min-width: 185px;
  z-index: 1000;
  box-shadow: 0 10px 30px rgba(0,0,0,0.55);
  animation: dropdown-fade-in 0.15s ease;
}

@keyframes dropdown-fade-in {
  from { opacity: 0; transform: translateX(-50%) translateY(-6px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.nav-dropdown.open .nav-dropdown-menu {
  display: block;
}

.nav-dropdown.open .dropdown-toggle {
  color: white;
}

.nav-dropdown-item {
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 8px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.18s ease;
  white-space: nowrap;
}

.nav-dropdown-item:hover {
  color: white;
  background: rgba(255, 255, 255, 0.07);
}

.nav-dropdown-item i {
  width: 16px;
  text-align: center;
}

/* =============================================================
   App Header (Universal - Dark Slate Glassmorphism Theme)
   ============================================================= */
.app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: 1.5rem;
  padding: 0.5rem 0;
  flex-wrap: wrap;
  gap: 1rem;
}

.header-left {
  text-align: left;
}

.header-left h1 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 0.3rem;
  background: linear-gradient(135deg, var(--primary), #c084fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.header-left .subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 500;
}

#header-user-panel.header-right {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}

.header-user-info {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 6px 14px;
  border-radius: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(8px);
}

.user-avatar {
  font-size: 18px;
  color: var(--primary);
}

.user-details {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.user-email {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-main);
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-status-badge {
  font-size: 8.5px;
  font-weight: 800;
  color: #34d399; /* Emerald 400 */
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-top: 1px;
}

/* Header logout button */
.btn-logout-header {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.25);
  color: #fca5a5;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-logout-header:hover {
  background: rgba(239, 68, 68, 0.35);
  color: white;
  transform: scale(1.05);
}

/* =============================================================
   Social Media Cards Grid (Glassmorphism & Brand Glow Effects)
   ============================================================= */
.social-cards-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 24px auto 30px auto;
  width: 100%;
  max-width: 100%;
}

@media (max-width: 640px) {
  .social-cards-container {
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 20px auto 24px auto;
  }
}

.social-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.social-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  background: rgba(255, 255, 255, 0.05);
}

.social-icon-wrapper {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.social-card:hover .social-icon-wrapper {
  transform: scale(1.1);
}

/* Instagram specific styles */
.instagram-card .social-icon-wrapper {
  background: rgba(236, 72, 153, 0.1);
  color: #f472b6;
  border: 1px solid rgba(236, 72, 153, 0.2);
}
.instagram-card:hover {
  box-shadow: 0 10px 25px rgba(236, 72, 153, 0.15);
  background: rgba(236, 72, 153, 0.05);
  border-color: rgba(236, 72, 153, 0.3);
}
.instagram-card:hover h4 {
  color: #f472b6;
}

/* Facebook specific styles */
.facebook-card .social-icon-wrapper {
  background: rgba(59, 130, 246, 0.1);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.2);
}
.facebook-card:hover {
  box-shadow: 0 10px 25px rgba(59, 130, 246, 0.15);
  background: rgba(59, 130, 246, 0.05);
  border-color: rgba(59, 130, 246, 0.3);
}
.facebook-card:hover h4 {
  color: #60a5fa;
}

/* WhatsApp specific styles */
.whatsapp-card .social-icon-wrapper {
  background: rgba(16, 185, 129, 0.1);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.2);
}
.whatsapp-card:hover {
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.15);
  background: rgba(16, 185, 129, 0.05);
  border-color: rgba(16, 185, 129, 0.3);
}
.whatsapp-card:hover h4 {
  color: #34d399;
}

.social-card-text {
  text-align: left;
}

.social-card-text h4 {
  font-size: 13.5px;
  font-weight: 700;
  color: #f1f5f9;
  margin: 0;
  transition: color 0.2s ease;
}

.social-card-text p {
  font-size: 11.5px;
  color: #94a3b8;
  margin: 2px 0 0 0;
}

/* =============================================================
   Navigation Social Icons (Compact Circle Buttons - Dark Theme Match)
   ============================================================= */
.nav-social-links {
  display: flex;
  gap: 8px;
  align-items: center;
}

.nav-social-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-muted);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-social-icon:hover {
  transform: translateY(-2px);
}

.nav-instagram {
  color: var(--text-muted);
}
.nav-instagram:hover {
  background: rgba(236, 72, 153, 0.15);
  color: #f472b6;
  border-color: rgba(236, 72, 153, 0.3);
  box-shadow: 0 4px 12px rgba(236, 72, 153, 0.15);
}

.nav-facebook {
  color: var(--text-muted);
}
.nav-facebook:hover {
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.nav-whatsapp {
  color: var(--text-muted);
}
.nav-whatsapp:hover {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border-color: rgba(16, 185, 129, 0.3);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.15);
}

/* Tooltip offset specifically for nav bar items to avoid clipping */
.nav-social-links [data-tooltip]::after {
  width: 180px;
}
