/**
 * SuperChat - Modern UI & Design System
 * Modern Glassmorphism, Vibrant Gradients & Clean Typography
 */

:root {
  --primary: #6366f1;
  --primary-hover: #4f46e5;
  --primary-light: #e0e7ff;
  --primary-glow: rgba(99, 102, 241, 0.35);

  --secondary: #ec4899;
  --secondary-hover: #db2777;

  --accent: #8b5cf6;
  --accent-cyan: #06b6d4;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;

  --dark-bg: #0f172a;
  --dark-surface: #1e293b;
  --dark-border: rgba(255, 255, 255, 0.08);

  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;

  --bg-gradient: linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%);
  --card-bg: #ffffff;
  --card-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.03);
  --card-hover-shadow: 0 20px 30px -10px rgba(99, 102, 241, 0.15);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

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

body {
  font-family: var(--font-sans);
  background: var(--bg-gradient);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ==========================================================================
   NAVIGATION & HEADER (COMPACT & MODERN)
   ========================================================================== */
.header-navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px -2px rgba(0, 0, 0, 0.03);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0.65rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.35rem;
  font-weight: 900;
  background: linear-gradient(135deg, #4f46e5 0%, #ec4899 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.5px;
  flex-shrink: 0;
}

.brand-badge {
  font-size: 0.65rem;
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #6366f1, #ec4899);
  color: white;
  -webkit-text-fill-color: white;
  font-weight: 700;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
}

.nav-item a {
  font-weight: 600;
  font-size: 0.86rem;
  color: #475569;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.65rem;
  border-radius: 10px;
  white-space: nowrap;
}

.nav-item a:hover,
.nav-item.active a {
  color: #4f46e5;
  background: #f1f5f9;
}

/* DROPDOWN MENÜLER */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 250px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.12), 0 8px 16px -6px rgba(0, 0, 0, 0.06);
  padding: 0.45rem;
  display: flex;
  flex-direction: column;
  z-index: 150;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

/* Menü ile buton arasındaki boşluğu köprüleyen görünmez alan (Hover kesilmesini engeller) */
.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
  display: block;
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(2px);
}

.dropdown-item {
  padding: 0.55rem 0.75rem !important;
  font-size: 0.84rem !important;
  font-weight: 600 !important;
  color: #334155 !important;
  border-radius: 8px;
  transition: all 0.15s !important;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.dropdown-item:hover {
  background: #eef2ff !important;
  color: #4f46e5 !important;
}

/* KULLANICI DROPDOWN STİLLERİ */
.user-dropdown-wrapper {
  position: relative;
}

.user-menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.75rem;
  max-width: 190px;
}

.user-avatar-circle {
  font-size: 1rem;
}

.user-name-truncated {
  max-width: 85px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 600;
  color: #1e293b;
}

.user-dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 240px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.15);
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  z-index: 150;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.user-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
  display: block;
}

.user-dropdown-wrapper:hover .user-dropdown-menu,
.user-dropdown-wrapper:focus-within .user-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(2px);
}

.user-dropdown-header {
  padding: 0.75rem 0.85rem;
  display: flex;
  flex-direction: column;
}

.user-dropdown-header strong {
  font-size: 0.95rem;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-dropdown-header small {
  font-size: 0.8rem;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-dropdown-divider {
  height: 1px;
  background: #e2e8f0;
  margin: 0.35rem 0;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

/* ==========================================================================
   BUTTONS & BADGES
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.35rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.45);
}

.btn-secondary {
  background: #ffffff;
  color: #334155;
  border-color: #cbd5e1;
}

.btn-secondary:hover {
  background: #f8fafc;
  border-color: #94a3b8;
}

.btn-gradient-pink {
  background: linear-gradient(135deg, #ec4899 0%, #f43f5e 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(236, 72, 153, 0.35);
}

.btn-gradient-pink:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(236, 72, 153, 0.45);
}

.btn-sm {
  padding: 0.4rem 0.85rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 0.85rem 2rem;
  font-size: 1.1rem;
  border-radius: var(--radius-md);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-full);
}

.badge-primary { background: var(--primary-light); color: var(--primary); }
.badge-success { background: #d1fae5; color: #065f46; }
.badge-warning { background: #fef3c7; color: #92400e; }
.badge-danger  { background: #fee2e2; color: #991b1b; }

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  padding: 4rem 1.5rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 350px;
  background: radial-gradient(circle, rgba(99,102,241,0.15) 0%, rgba(236,72,153,0.1) 50%, transparent 70%);
  filter: blur(60px);
  z-index: 0;
  pointer-events: none;
}

.hero-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 3.25rem;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -1px;
  color: #0f172a;
  margin-bottom: 1.25rem;
}

.hero-title span {
  background: linear-gradient(135deg, #4f46e5 0%, #ec4899 70%, #f43f5e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 2.5rem;
}

/* ==========================================================================
   TOOLS GRID & CARDS
   ========================================================================== */
.section-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.5rem;
}

.tool-card {
  background: var(--card-bg);
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.tool-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-light);
  box-shadow: var(--card-hover-shadow);
}

.tool-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
  transition: transform 0.3s;
}

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

.icon-ig { background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); color: white; }
.icon-yt { background: linear-gradient(135deg, #ff0000 0%, #c4302b 100%); color: white; }
.icon-tk { background: linear-gradient(135deg, #000000 0%, #25F4EE 50%, #FE2C55 100%); color: white; }
.icon-tw { background: linear-gradient(135deg, #1da1f2 0%, #0c85d0 100%); color: white; }
.icon-fb { background: linear-gradient(135deg, #1877f2 0%, #0d65d9 100%); color: white; }
.icon-web { background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%); color: white; }
.icon-list { background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%); color: white; }
.icon-wheel { background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%); color: white; }
.icon-coin { background: linear-gradient(135deg, #10b981 0%, #059669 100%); color: white; }
.icon-dice { background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%); color: white; }
.icon-num { background: linear-gradient(135deg, #06b6d4 0%, #0284c7 100%); color: white; }
.icon-team { background: linear-gradient(135deg, #ec4899 0%, #be185d 100%); color: white; }

.tool-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #1e293b;
}

.tool-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.tool-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #f1f5f9;
  padding-top: 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
}

/* ==========================================================================
   APP FORMS & TOOL PAGE LAYOUT
   ========================================================================== */
.tool-page-wrapper {
  max-width: 960px;
  margin: 2rem auto 4rem;
  padding: 0 1.5rem;
}

.tool-box {
  background: var(--card-bg);
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  box-shadow: 0 15px 35px -5px rgba(0,0,0,0.06);
  padding: 2.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  color: #1e293b;
  margin-bottom: 0.5rem;
}

.form-label small {
  font-weight: normal;
  color: var(--text-muted);
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.15rem;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.2s;
  background: #ffffff;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-light);
}

textarea.form-control {
  resize: vertical;
  min-height: 150px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
}

.rules-container {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 1.75rem;
}

.rules-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #334155;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  cursor: pointer;
  font-weight: 500;
  font-size: 0.92rem;
  user-select: none;
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
  cursor: pointer;
}

/* ==========================================================================
   LIVE DRAW SCREEN & ANIMATIONS
   ========================================================================== */
.live-draw-screen {
  min-height: 100vh;
  background: radial-gradient(circle at center, #1e1b4b 0%, #0f172a 100%);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
  position: relative;
  overflow: hidden;
}

#confetti-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 50;
}

.countdown-box {
  font-size: 7rem;
  font-weight: 900;
  background: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: pulseScale 1s infinite alternate;
}

@keyframes pulseScale {
  0% { transform: scale(0.9); opacity: 0.8; }
  100% { transform: scale(1.1); opacity: 1; }
}

.drumroll-box {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 2.5rem 3rem;
  text-align: center;
  max-width: 650px;
  width: 100%;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.drumroll-name {
  font-size: 2.5rem;
  font-weight: 800;
  color: #38bdf8;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-shadow: 0 0 20px rgba(56, 189, 248, 0.5);
}

.winner-card-revealed {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(236, 72, 153, 0.2) 100%);
  border: 2px solid #818cf8;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-top: 1.5rem;
  text-align: center;
  animation: bounceIn 0.7s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes bounceIn {
  0% { transform: scale(0.3); opacity: 0; }
  50% { transform: scale(1.05); }
  70% { transform: scale(0.9); }
  100% { transform: scale(1); opacity: 1; }
}

/* ==========================================================================
   OFFICIAL RESULT CERTIFICATE (Sertifika Tasarımı)
   ========================================================================== */
.certificate-container {
  max-width: 850px;
  margin: 3rem auto;
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 2px solid #e2e8f0;
  box-shadow: 0 25px 60px -15px rgba(0,0,0,0.1);
  padding: 3.5rem;
  position: relative;
  overflow: hidden;
}

.certificate-watermark {
  position: absolute;
  right: -50px;
  bottom: -50px;
  font-size: 22rem;
  opacity: 0.03;
  color: var(--primary);
  pointer-events: none;
  font-weight: 900;
  user-select: none;
}

.certificate-header {
  text-align: center;
  border-bottom: 2px dashed #cbd5e1;
  padding-bottom: 2rem;
  margin-bottom: 2.5rem;
}

.certificate-seal {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.certificate-hash-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
  padding: 0.75rem;
  font-family: monospace;
  font-size: 0.8rem;
  color: #475569;
  word-break: break-all;
  margin-top: 1rem;
}

.winners-list-section {
  margin-bottom: 2.5rem;
}

.winner-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 1rem 1.5rem;
  margin-bottom: 0.85rem;
}

.winner-rank {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}

.substitute-rank {
  background: #64748b;
}

/* ==========================================================================
   FLASH MESSAGES & TOASTS
   ========================================================================== */
.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
}

.alert-success { background: #dcfce7; color: #15803d; border: 1px solid #bbf7d0; }
.alert-error   { background: #fee2e2; color: #b91c1c; border: 1px solid #fecaca; }
.alert-warning { background: #fef3c7; color: #b45309; border: 1px solid #fde68a; }
.alert-info    { background: #e0e7ff; color: #4338ca; border: 1px solid #c7d2fe; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
/* ==========================================================================
   FOOTER (ULTRA-MODERN SAAS DESIGN)
   ========================================================================== */
.footer {
  background: linear-gradient(180deg, #0f172a 0%, #090d16 100%);
  color: #94a3b8;
  padding: 4.5rem 1.5rem 2rem;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.6), rgba(236, 72, 153, 0.6), transparent);
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr 1.1fr;
  gap: 1.75rem;
  margin-bottom: 3rem;
  align-items: start;
}

@media (max-width: 1080px) {
  .footer-container {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 640px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
}

.footer-brand h3 {
  color: white;
  font-size: 1.45rem;
  font-weight: 900;
  margin-bottom: 0.85rem;
  letter-spacing: -0.5px;
}

.footer-brand p {
  color: #94a3b8;
  font-size: 0.88rem;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.footer-trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.65rem;
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #cbd5e1;
}

.footer-links h4 {
  color: white;
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  border-bottom: 2px solid rgba(99, 102, 241, 0.3);
  padding-bottom: 0.5rem;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-links li a {
  color: #94a3b8;
  font-size: 0.85rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.2s ease;
}

.footer-links li a:hover {
  color: #ffffff;
  transform: translateX(4px);
}

.footer-links li a .footer-pill-tag {
  font-size: 0.62rem;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 99px;
  background: linear-gradient(135deg, #ec4899, #8b5cf6);
  color: white;
}

.footer-contact-box {
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.82rem;
  color: #cbd5e1;
}

.footer-contact-item a {
  color: #cbd5e1;
  font-weight: 600;
  transition: color 0.2s;
}

.footer-contact-item a:hover {
  color: #818cf8;
}

.footer-bottom {
  max-width: 1320px;
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: #64748b;
}

@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }
}

/* ==========================================================================
   PHONE MOCKUP & 2-COLUMN TOOL LAYOUT
   ========================================================================== */
.tool-layout-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2rem;
  align-items: start;
}

.phone-mockup-wrapper {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.phone-mockup-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.85rem;
}

.phone-device {
  width: 340px;
  height: 640px;
  background: #0f172a;
  border-radius: 46px;
  border: 10px solid #1e293b;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25), 0 0 0 2px #334155, 0 10px 20px rgba(0,0,0,0.15);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.phone-device:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px -12px rgba(99, 102, 241, 0.25), 0 0 0 2px #6366f1;
}

.phone-island {
  width: 105px;
  height: 24px;
  background: #000000;
  border-radius: 20px;
  margin: 8px auto 6px;
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-island-cam {
  width: 10px;
  height: 10px;
  background: #1e1b4b;
  border-radius: 50%;
  border: 1.5px solid #312e81;
}

.phone-screen {
  flex: 1;
  background: #ffffff;
  border-radius: 0 0 36px 36px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

.phone-empty-state {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
  text-align: center;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}

.phone-empty-icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: white;
  margin-bottom: 1.25rem;
  box-shadow: 0 10px 25px rgba(220, 39, 67, 0.3);
  animation: floatIcon 3s ease-in-out infinite;
}

@keyframes floatIcon {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.phone-empty-title {
  font-size: 1rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.5rem;
}

.phone-empty-desc {
  font-size: 0.82rem;
  color: #64748b;
  line-height: 1.5;
}

.phone-preview-iframe {
  width: 100%;
  height: 100%;
  border: none;
  background: #ffffff;
  display: none;
}

.phone-bottom-bar {
  width: 120px;
  height: 4px;
  background: #cbd5e1;
  border-radius: 4px;
  margin: 6px auto;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 992px) {
  .tool-layout-grid {
    grid-template-columns: 1fr;
  }
  .phone-mockup-wrapper {
    margin-top: 2rem;
    position: static;
  }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero-title { font-size: 2.2rem; }
  .tool-box { padding: 1.5rem; }
  .certificate-container { padding: 1.75rem; }
  .phone-device { width: 100%; max-width: 320px; height: 580px; }
}
