:root {
  --brand-primary: #3b82f6;
  --brand-accent: #10b981;
  --bg-dark: #030712;
  --bg-soft: #f8fafc;
  --text-primary: #0f172a;
  --text-secondary: #64748b;
  --border: #e2e8f0;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text-primary);
  background-color: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* ─── Pro Navbar ─── */
.pro-navbar {
  background: rgba(3, 7, 18, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.8rem 0;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  z-index: 1000;
}

.brand-orb-sm {
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-accent) 100%);
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
}

.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7) !important;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #fff !important;
}

/* ─── Modern Pro Typography & Components ─── */
.text-gradient {
  background: linear-gradient(135deg, #fff 30%, rgba(255, 255, 255, 0.6) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-brand-light {
  color: #60a5fa;
}

/* ─── Animations ─── */
.pulse-orb {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(80px);
  animation: pulse-slow 10s infinite alternate;
  pointer-events: none;
}

.pulse-orb-accent {
  background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, transparent 70%);
  animation-delay: -5s;
}

@keyframes pulse-slow {
  0% {
    transform: scale(1) translate(-50px, -50px);
    opacity: 0.4;
  }

  100% {
    transform: scale(1.3) translate(50px, 50px);
    opacity: 0.7;
  }
}

.entrance-anim {
  opacity: 0;
  transform: translateY(30px);
  animation: entrance 1s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

.entrance-anim-delay {
  animation-delay: 0.2s;
}

.entrance-anim-delay-2 {
  animation-delay: 0.4s;
}

@keyframes entrance {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ─── Premium Hero Section ─── */
.hero {
  position: relative;
  background: var(--bg-dark);
  padding: 160px 0 120px 0;
  overflow: hidden;
  margin-top: -5rem;
}

.hero-content {
  position: relative;
  z-index: 10;
}

.hero-glass-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.feature-badge {
  background: rgba(59, 130, 246, 0.1);
  color: var(--brand-primary);
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: 1px solid rgba(59, 130, 246, 0.2);
  display: inline-block;
}

/* ─── Pro Feature Cards (Home) ─── */
.pro-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 40px;
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
}

.pro-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 40px 80px -15px rgba(0, 0, 0, 0.1);
  border-color: var(--brand-primary);
}

.pro-card-icon {
  width: 64px;
  height: 64px;
  background: #eff6ff;
  color: var(--brand-primary);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 24px;
}

/* ─── Premium Login Page (RESTORED) ─── */
.login-page-wrapper {
  background: #0b1220;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  margin-top: -5rem;
}

.login-abstract-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(16, 185, 129, 0.1) 0%, transparent 40%);
  filter: blur(80px);
  z-index: 1;
}

.login-glass-card {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 48px;
  width: 100%;
  max-width: 450px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  margin: 0 auto;
}

.login-logo-orb {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.input-glass-container {
  position: relative;
}

.input-glass {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 14px 18px;
  color: #fff;
  transition: all 0.3s ease;
}

.input-glass:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--brand-primary);
  outline: none;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.2);
}

.login-label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin-bottom: 8px;
  display: block;
}

.btn-premium-login {
  background: #fff;
  color: #0b1220;
  border-radius: 12px;
  padding: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
}

.btn-premium-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* ─── Blog Pages (RESTORED PREMIUM LOOK) ─── */
.blog-hero {
  background: linear-gradient(135deg, #0b1220 0%, #1e293b 100%);
  padding: 64px 0;
  color: #fff;
}

.blog-filter-btn {
  padding: 8px 18px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--text-secondary);
  background: var(--bg-soft);
  font-weight: 500;
  transition: all 0.3s ease;
  display: inline-block;
  margin-right: 8px;
}

.blog-filter-btn.active,
.blog-filter-btn:hover {
  background: var(--brand-primary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

.blog-card {
  border-radius: 18px;
  border: 1px solid var(--border);
  transition: all 0.4s ease;
  overflow: hidden;
}

.blog-card:hover {
  transform: translateY(-8px);
  shadow: var(--shadow-lg);
  border-color: var(--brand-primary);
}

.blog-card-img {
  height: 220px;
  object-fit: cover;
}

.blog-category-badge {
  padding: 6px 14px;
  border-radius: 10px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-block;
}

.badge-Tech {
  background: #eff6ff;
  color: #3b82f6;
}

.badge-App {
  background: #ecfdf5;
  color: #10b981;
}

.badge-AI {
  background: #f5f3ff;
  color: #8b5cf6;
}

/* Blog Detail Elevation */
.blog-detail {
  max-width: 800px;
  margin: 40px auto;
}

.blog-detail-title {
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 24px;
}

.blog-detail-meta {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.blog-detail-content {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #334155;
}

/* ─── Home Page Specific Blog Refinement ─── */
.pro-blog-card {
  position: relative;
  transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.pro-blog-img-container {
  position: relative;
  height: 300px;
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 24px;
  transition: all 0.5s ease;
}

.pro-blog-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.pro-blog-card:hover .pro-blog-img {
  transform: scale(1.1);
}

.pro-blog-card:hover .pro-blog-img-container {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px -12px rgba(3, 7, 18, 0.25);
}

/* Utility */
.btn-brand {
  background: var(--brand-primary);
  color: #fff;
  border: none;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.btn-brand:hover {
  background: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.3);
}

.bg-soft {
  background-color: var(--bg-soft);
}

.section-tag {
  color: var(--brand-primary);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.15em;
  font-size: 0.75rem;
}