/* 
  DynoHost — Premium Design System
  🦕 Dinosaur-themed hosting platform
  Emerald + Gold palette with glassmorphism
*/

/* ═══ GOOGLE FONTS ═══ */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Inter:wght@400;500;600;700&display=swap');

/* ═══ DESIGN TOKENS ═══ */
:root {
  /* Background layers */
  --bg-primary:    #030712;
  --bg-surface:    #0a1628;
  --bg-elevated:   #111d35;
  --bg-glass:      rgba(10, 22, 40, 0.6);

  /* Brand colors */
  --accent:        #10B981;
  --accent-hover:  #34D399;
  --accent-dim:    rgba(16, 185, 129, 0.12);
  --accent-glow:   rgba(16, 185, 129, 0.25);

  --gold:          #F59E0B;
  --gold-dim:      rgba(245, 158, 11, 0.12);

  /* Semantic */
  --success:       #10B981;
  --success-dim:   rgba(16, 185, 129, 0.12);
  --danger:        #EF4444;
  --danger-dim:    rgba(239, 68, 68, 0.12);
  --warning:       #F59E0B;
  --warning-dim:   rgba(245, 158, 11, 0.12);
  --info:          #3B82F6;

  /* Text */
  --text-primary:  #F1F5F9;
  --text-secondary:#CBD5E1;
  --text-muted:    #64748B;

  /* Borders */
  --border:        rgba(148, 163, 184, 0.12);
  --border-hover:  rgba(16, 185, 129, 0.3);

  /* Radius */
  --radius:        16px;
  --radius-sm:     10px;
  --radius-lg:     24px;
  --radius-full:   9999px;

  /* Transitions */
  --transition:    all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.2s ease;

  /* Shadows */
  --shadow-sm:     0 2px 8px rgba(0,0,0,0.2);
  --shadow-md:     0 8px 24px rgba(0,0,0,0.3);
  --shadow-lg:     0 20px 50px rgba(0,0,0,0.4);
  --shadow-glow:   0 0 40px rgba(16, 185, 129, 0.15);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', 'Inter', sans-serif;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul { list-style: none; }

img { max-width: 100%; height: auto; }

/* ═══ UTILITIES ═══ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-gradient {
  background: linear-gradient(135deg, #10B981, #34D399, #6EE7B7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-gold {
  background: linear-gradient(135deg, #F59E0B, #FBBF24, #FCD34D);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ═══ BUTTONS ═══ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  font-family: 'Inter', sans-serif;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%);
  opacity: 0;
  transition: var(--transition);
}

.btn:hover::after {
  opacity: 1;
}

.btn-primary {
  background: linear-gradient(135deg, #059669, #10B981);
  color: #fff;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(16, 185, 129, 0.35);
}

.btn-success {
  background: linear-gradient(135deg, #059669, #10B981);
  color: #fff;
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-primary);
}

.btn-outline:hover {
  border-color: var(--accent);
  background: var(--accent-dim);
  color: var(--accent);
}

.btn-danger {
  background: var(--danger-dim);
  color: var(--danger);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.btn-danger:hover {
  background: var(--danger);
  color: #fff;
}

.btn-gold {
  background: linear-gradient(135deg, #D97706, #F59E0B);
  color: #fff;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.25);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(245, 158, 11, 0.35);
}

/* ═══ NAVBAR ═══ */
.navbar {
  height: 80px;
  background: rgba(3, 7, 18, 0.75);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(3, 7, 18, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.navbar .container {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
}

.logo svg {
  width: 36px;
  height: 36px;
}

.logo-text {
  background: linear-gradient(135deg, #10B981, #6EE7B7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition-fast);
}

.nav-links a:hover {
  color: var(--accent);
  background: var(--accent-dim);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}

.nav-hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition-fast);
}

/* ═══ HERO SECTION ═══ */
.hero {
  padding: 100px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 85vh;
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.12) 0%, transparent 70%);
  pointer-events: none;
  animation: hero-pulse 8s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.06) 0%, transparent 70%);
  pointer-events: none;
  animation: hero-pulse 10s ease-in-out infinite reverse;
}

@keyframes hero-pulse {
  0%, 100% { opacity: 0.6; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.15); }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  background: var(--accent-dim);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 30px;
  animation: fadeInUp 0.6s ease both;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 900;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
  animation: fadeInUp 0.6s ease 0.1s both;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, #10B981, #34D399, #6EE7B7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto 40px;
  animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.6s ease 0.3s both;
}

.hero-buttons .btn {
  padding: 16px 36px;
  font-size: 1.05rem;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Floating shapes */
.hero-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-shapes .shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.06;
  animation: float 20s ease-in-out infinite;
}

.hero-shapes .shape:nth-child(1) {
  width: 300px; height: 300px;
  background: var(--accent);
  top: 10%; left: 5%;
  animation-delay: 0s;
}

.hero-shapes .shape:nth-child(2) {
  width: 200px; height: 200px;
  background: var(--gold);
  top: 60%; right: 8%;
  animation-delay: -5s;
}

.hero-shapes .shape:nth-child(3) {
  width: 150px; height: 150px;
  background: var(--accent);
  bottom: 15%; left: 15%;
  animation-delay: -10s;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33% { transform: translateY(-30px) rotate(5deg); }
  66% { transform: translateY(15px) rotate(-3deg); }
}

/* ═══ FEATURES SECTION ═══ */
.features-section {
  padding: 100px 0;
  position: relative;
}

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

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 500px;
  margin: 0 auto;
}

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

.feature-card {
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-glow);
}

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

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
  background: var(--accent-dim);
  border: 1px solid rgba(16, 185, 129, 0.15);
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}

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

/* ═══ PRICING SECTION ═══ */
.pricing {
  padding: 100px 0;
  position: relative;
}

.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 50px;
}

.pricing-toggle span {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 500;
}

.pricing-toggle span.active {
  color: var(--text-primary);
}

.toggle-switch {
  width: 56px;
  height: 30px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  cursor: pointer;
  position: relative;
  transition: var(--transition);
}

.toggle-switch.active {
  background: var(--accent-dim);
  border-color: var(--accent);
}

.toggle-switch::after {
  content: '';
  position: absolute;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent);
  top: 3px;
  left: 3px;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.toggle-switch.active::after {
  left: 29px;
}

.pricing-save-badge {
  background: var(--gold-dim);
  color: var(--gold);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  align-items: stretch;
}

/* ═══ PLAN CARDS ═══ */
.card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-8px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.card.popular {
  border-color: var(--accent);
  background: linear-gradient(135deg, var(--bg-surface) 0%, rgba(16, 185, 129, 0.05) 100%);
  box-shadow: 0 0 0 1px var(--accent), var(--shadow-glow);
}

.card.popular::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius);
  padding: 1px;
  background: linear-gradient(135deg, var(--accent), rgba(16, 185, 129, 0.2), var(--accent));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.badge-popular {
  position: absolute;
  top: -1px;
  right: 30px;
  background: linear-gradient(135deg, #059669, #10B981);
  color: #fff;
  padding: 6px 18px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.card .plan-name {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.card .plan-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.card .price {
  font-size: 3rem;
  font-weight: 900;
  font-family: 'Outfit', sans-serif;
  color: var(--text-primary);
  margin-bottom: 4px;
  line-height: 1;
}

.card .price .currency {
  font-size: 1.5rem;
  vertical-align: top;
  margin-right: 2px;
}

.card .price .period {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 500;
}

.card .price-yearly {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 28px;
}

.card .price-yearly .save {
  color: var(--accent);
  font-weight: 600;
}

.card-features {
  margin: 24px 0;
  flex-grow: 1;
}

.card-features li {
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.card-features li .check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.card-features li .check svg {
  width: 12px;
  height: 12px;
  color: var(--accent);
}

.card-features li.highlight {
  color: var(--accent);
  font-weight: 600;
}

.card .btn {
  width: 100%;
  padding: 14px;
  margin-top: auto;
}

/* ═══ PAYMENT METHODS SECTION ═══ */
.payments-section {
  padding: 100px 0;
  position: relative;
}

.payments-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.payment-method-card {
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 36px;
  text-align: center;
  transition: var(--transition);
  min-width: 160px;
}

.payment-method-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
}

.payment-method-card .pm-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.payment-method-card .pm-icon svg,
.payment-method-card .pm-icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.payment-method-card .pm-name {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.payment-method-card .pm-desc {
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* ═══ PAYMENT SELECTION (checkout flow) ═══ */
.payment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.payment-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  padding: 28px;
  border-radius: var(--radius);
  cursor: pointer;
  text-align: center;
  transition: var(--transition);
}

.payment-card:hover, .payment-card.active {
  border-color: var(--accent);
  background: rgba(16, 185, 129, 0.05);
  box-shadow: 0 0 0 1px var(--accent), var(--shadow-glow);
}

.payment-card .pm-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 15px;
}

.payment-card .pm-icon svg,
.payment-card .pm-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.payment-card h3 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.payment-card p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ═══ FOOTER ═══ */
footer {
  padding: 60px 0 40px;
  background: linear-gradient(180deg, var(--bg-primary) 0%, #010309 100%);
  border-top: 1px solid var(--border);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-brand .logo {
  margin-bottom: 12px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 300px;
}

.footer-links {
  display: flex;
  gap: 32px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

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

.footer-bottom {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ═══ FORMS ═══ */
.form-group {
  margin-bottom: 22px;
}

label {
  display: block;
  margin-bottom: 8px;
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 500;
}

input, select, textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}

input:focus, select:focus, textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}

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

input[type="file"] {
  padding: 16px;
  border-style: dashed;
  cursor: pointer;
}

input[type="checkbox"] {
  width: auto;
  accent-color: var(--accent);
}

/* ═══ BADGES ═══ */
.badge {
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.badge-success { background: var(--success-dim); color: var(--success); }
.badge-warning { background: var(--warning-dim); color: var(--warning); }
.badge-danger  { background: var(--danger-dim); color: var(--danger); }
.badge-muted   { background: var(--bg-elevated); color: var(--text-muted); }
.badge-info    { background: rgba(59, 130, 246, 0.12); color: var(--info); }

/* ═══ ALERTS ═══ */
.alert {
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  border-left: 4px solid transparent;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.alert-success { background: var(--success-dim); border-color: var(--success); color: var(--success); }
.alert-danger  { background: var(--danger-dim); border-color: var(--danger); color: var(--danger); }
.alert-warning { background: var(--warning-dim); border-color: var(--warning); color: var(--warning); }
.alert-info    { background: rgba(59, 130, 246, 0.1); border-color: var(--info); color: var(--info); }

/* ═══ TABLES ═══ */
table {
  width: 100%;
  border-collapse: collapse;
}

th {
  padding: 14px 16px;
  text-align: left;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--border);
}

td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
}

tr:hover td {
  background: rgba(16, 185, 129, 0.02);
}

/* ═══ ADMIN LAYOUT ═══ */
.admin-sidebar {
  width: 270px;
  background: var(--bg-surface);
  min-height: calc(100vh - 80px);
  padding: 28px 16px;
  border-right: 1px solid var(--border);
  position: fixed;
  top: 80px;
  overflow-y: auto;
}

.admin-sidebar .sidebar-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  padding: 16px 16px 8px;
}

.admin-sidebar a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 2px;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition-fast);
}

.admin-sidebar a:hover {
  background: var(--accent-dim);
  color: var(--accent);
}

.admin-sidebar a.active {
  background: var(--accent-dim);
  color: var(--accent);
  font-weight: 600;
}

.admin-content {
  margin-left: 270px;
  padding: 32px 40px;
  min-height: calc(100vh - 80px);
}

/* Admin Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.stat-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: var(--transition);
}

.stat-card:hover {
  border-color: var(--border-hover);
}

.stat-card .stat-icon {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.stat-card .value {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.stat-card .label {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ═══ USER PANEL LAYOUT ═══ */
.user-sidebar {
  width: 250px;
  background: var(--bg-surface);
  min-height: calc(100vh - 80px);
  padding: 30px 16px;
  border-right: 1px solid var(--border);
  position: fixed;
  top: 80px;
  overflow-y: auto;
  z-index: 10;
}

.user-sidebar .sidebar-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  padding: 16px 16px 8px;
}

.user-sidebar a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 4px;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition-fast);
}

.user-sidebar a:hover {
  background: var(--accent-dim);
  color: var(--accent);
}

.user-sidebar a.active {
  background: var(--accent-dim);
  color: var(--accent);
  font-weight: 600;
}

.user-sidebar .sidebar-divider {
  height: 1px;
  background: var(--border);
  margin: 16px 8px;
}

.user-content {
  margin-left: 250px;
  padding: 32px 40px;
  min-height: calc(100vh - 80px);
}

@media (max-width: 768px) {
  .user-sidebar { display: none; }
  .user-content { margin-left: 0; padding: 20px 16px; }
}

/* ═══ MODALS ═══ */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

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

.modal {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  width: 90%;
  max-width: 500px;
  box-shadow: var(--shadow-lg);
}

.modal h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
}

/* ═══ SCROLLBAR ═══ */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--bg-elevated);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-dim);
}

/* ═══ ADMIN TAG ═══ */
.admin-tag {
  font-size: 0.65rem;
  font-weight: 700;
  background: linear-gradient(135deg, #059669, #10B981);
  padding: 3px 10px;
  border-radius: 4px;
  color: #fff;
  margin-left: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ═══ CONFIG TABS ═══ */
.config-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.config-tabs a {
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  font-size: 0.88rem;
  font-weight: 500;
}

.config-tabs a:hover {
  border-color: var(--border-hover);
  color: var(--accent);
}

.config-tabs a.active {
  background: var(--accent-dim);
  color: var(--accent);
  border-color: var(--accent);
}

/* ═══ TRUST/STATS SECTION ═══ */
.trust-section {
  padding: 60px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

.trust-item .trust-value {
  font-family: 'Outfit', sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}

.trust-item .trust-label {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin: 0 auto;
  }
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .hero h1 { font-size: 2.2rem; }
  .hero p { font-size: 1rem; }
  .hero { min-height: auto; padding: 80px 0 60px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .section-header h2 { font-size: 2rem; }
  .footer-content { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; gap: 20px; }
  
  /* Admin mobile */
  .admin-sidebar { display: none; }
  .admin-content { margin-left: 0; padding: 20px 16px; }
  
  /* Nav mobile */
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border);
    padding: 16px;
  }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.8rem; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; }
  .payments-grid { gap: 12px; }
  .payment-method-card { min-width: 140px; padding: 20px 24px; }
  .trust-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}

/* ═══ ANIMATIONS ═══ */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Shimmer effect for plan cards */
.card.popular .shimmer {
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(16,185,129,0.05), transparent);
  animation: shimmer 4s infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 200%; }
}

/* Loading animation for payment cards */
@keyframes pulse-border {
  0%, 100% { border-color: var(--border); }
  50% { border-color: var(--accent); }
}

/* ═══ SERVICE CARDS (User Panel) ═══ */
.service-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 20px;
  transition: var(--transition);
}
.service-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.1);
}
.service-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}
.service-domain {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent);
}
.service-plan {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.cred-box {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-top: 16px;
}
.cred-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
.cred-row:last-child {
  border-bottom: none;
}
.cred-label {
  color: var(--text-muted);
  font-size: 0.85rem;
}
.cred-value {
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  font-size: 0.9rem;
  font-weight: 600;
  user-select: all;
  cursor: pointer;
  position: relative;
}
.cred-value:hover::after {
  content: 'Click para copiar';
  position: absolute;
  right: 0;
  top: -22px;
  font-size: 0.7rem;
  background: var(--bg-surface);
  padding: 2px 8px;
  border-radius: 4px;
  color: var(--accent);
  border: 1px solid var(--border);
  font-family: 'Inter', sans-serif;
  font-weight: 400;
}
.service-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.btn-login-panel {
  background: linear-gradient(135deg, #10B981, #059669);
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  text-decoration: none;
  font-size: 0.9rem;
}
.btn-login-panel:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}
.service-dates {
  display: flex;
  gap: 24px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.service-dates span {
  font-size: 0.82rem;
  color: var(--text-muted);
}
.service-dates strong {
  color: var(--text-primary);
}

/* ═══ TICKET MESSAGES ═══ */
.msg {
  padding: 16px 20px;
  border-radius: 12px;
  margin-bottom: 15px;
  max-width: 80%;
}
.msg-user {
  background: var(--accent-dim);
  margin-left: auto;
  border-bottom-right-radius: 4px;
}
.msg-admin {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
}
@media (max-width: 768px) {
  .msg { max-width: 95%; }
}

/* ═══ ADMIN FILTER BADGES ═══ */
.filter-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: var(--transition);
  text-decoration: none;
  border: 1px solid var(--border);
  color: var(--text-muted);
}
.filter-badge:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.filter-badge.active {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}
.filter-badge .count {
  background: rgba(255,255,255,0.2);
  padding: 1px 8px;
  border-radius: 10px;
  font-size: 0.75rem;
}
.filter-badge.active .count {
  background: rgba(0,0,0,0.2);
}

/* ═══ ADMIN SERVICE ROW ═══ */
.svc-row {
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.svc-row:hover {
  background: var(--bg-elevated);
}
.cred-mono {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.82rem;
  background: var(--bg-elevated);
  padding: 2px 8px;
  border-radius: 4px;
  user-select: all;
}

/* ═══ ADMIN ACTION BUTTONS ═══ */
.action-btns {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.action-btns form {
  display: inline;
}
.action-btns button {
  padding: 5px 12px;
  font-size: 0.78rem;
  border-radius: 6px;
  cursor: pointer;
  border: none;
  font-weight: 500;
  transition: var(--transition);
}
.btn-suspend {
  background: rgba(245,158,11,0.15);
  color: var(--warning);
}
.btn-suspend:hover {
  background: rgba(245,158,11,0.3);
}
.btn-activate {
  background: rgba(16,185,129,0.15);
  color: var(--success);
}
.btn-activate:hover {
  background: rgba(16,185,129,0.3);
}
.btn-delete-svc {
  background: rgba(239,68,68,0.15);
  color: var(--danger);
}
.btn-delete-svc:hover {
  background: rgba(239,68,68,0.3);
}

/* ═══ TICKET MESSAGES ═══ */
.msg {
  padding: 15px 20px;
  border-radius: 12px;
  margin-bottom: 15px;
  max-width: 80%;
}
.msg-user {
  background: var(--accent-dim);
  margin-left: auto;
  border-bottom-right-radius: 4px;
}
.msg-admin {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
}

/* ═══ CONFIG TABS ═══ */
.config-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}
.config-tabs a {
  padding: 10px 20px;
  border-radius: 8px;
  color: var(--text-muted);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.config-tabs a:hover {
  color: var(--text);
  border-color: var(--text-muted);
}
.config-tabs a.active {
  background: var(--accent-dim);
  color: var(--accent);
  border-color: var(--accent);
}

/* ═══ MODAL ═══ */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.7);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}
.modal-overlay.show {
  display: flex;
}
.modal {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  width: 90%;
  max-width: 500px;
}
