/* ============================================================
   Luxora Portfolio — Main CSS
   Base styles, reset, typography, layout, utilities
   ============================================================ */

/* ─── Reset & Base ────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color var(--transition-theme), color var(--transition-theme);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a  { color: var(--accent-primary); text-decoration: none; transition: color var(--transition-fast); }
a:hover { color: var(--accent-secondary); }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* ─── Typography ──────────────────────────────────────────── */
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-primary);
  transition: color var(--transition-theme);
}
h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p { color: var(--text-secondary); transition: color var(--transition-theme); }

.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── Layout ──────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}
.container-wide { max-width: 1400px; }
.container-narrow { max-width: 900px; }

.section {
  padding: var(--space-3xl) 0;
  position: relative;
}
.section-sm { padding: var(--space-xl) 0; }

/* ─── Section Heading ─────────────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(108,99,255,0.12);
  border: 1px solid rgba(108,99,255,0.25);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.section-title {
  margin-bottom: 12px;
}
.section-subtitle {
  max-width: 600px;
  margin: 0 auto;
  color: var(--text-secondary);
  font-size: 1.05rem;
}

/* ─── Navbar ──────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--navbar-height);
  z-index: var(--z-fixed);
  background: var(--navbar-bg);
  backdrop-filter: var(--blur-md);
  -webkit-backdrop-filter: var(--blur-md);
  border-bottom: 1px solid var(--border-color);
  transition: background var(--transition-theme), border-color var(--transition-theme);
}
.navbar.scrolled {
  background: rgba(10,15,30,0.95);
  box-shadow: var(--shadow-md);
}
[data-theme="light"] .navbar.scrolled {
  background: rgba(248,250,252,0.97);
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.navbar-logo {
  flex: 1;
  display: flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
  line-height: 1;
}
.navbar-links {
  flex: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.navbar-links a {
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  position: relative;
}
.navbar-links a:hover,
.navbar-links a.active {
  color: var(--text-primary);
  background: var(--bg-card);
}
.navbar-links a.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--gradient-text);
  border-radius: 2px;
}
.navbar-actions {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

/* Theme Toggle */
.theme-toggle {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all var(--transition-base);
}
.theme-toggle:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-accent);
  transform: scale(1.05);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  border-radius: var(--radius-md);
}
.hamburger span {
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-base);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  display: flex;
  position: fixed;
  top: var(--navbar-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 15, 30, 0.98);
  padding: var(--space-xl) var(--space-lg);
  z-index: calc(var(--z-fixed) - 1);
  flex-direction: column;
  gap: 8px;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-20px);
  transition: all 0.3s ease;
}
[data-theme="light"] .mobile-menu {
  background: rgba(248, 250, 252, 0.98);
}
.mobile-menu.open { 
  opacity: 1; 
  visibility: visible; 
  transform: translateY(0);
}
.mobile-menu a {
  padding: 16px;
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--text-secondary);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  text-align: center;
  border: 1px solid transparent;
}
.mobile-menu a:hover,
.mobile-menu a.active {
  color: var(--accent-primary);
  background: var(--bg-card);
  border-color: var(--border-color);
}

/* ─── Hero Section ────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--navbar-height);
}
.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
}
#particles-canvas { position: absolute; inset: 0; z-index: 1; }
.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-lg);
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(108,99,255,0.12);
  border: 1px solid rgba(108,99,255,0.30);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-primary);
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}
.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--accent-success);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:.5; transform:scale(1.4); }
}
.hero-name {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1;
  margin-bottom: 10px;
}
.hero-typed-wrap {
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 24px;
  min-height: 2em;
}
.typed-cursor { color: var(--accent-primary); }
.hero-bio {
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto 36px;
}
.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.hero-socials {
  display: flex;
  gap: 12px;
  justify-content: center;
}
.social-link {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--text-secondary);
  transition: all var(--transition-base);
}
.social-link:hover {
  border-color: var(--border-accent);
  background: rgba(108,99,255,0.12);
  color: var(--accent-primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

/* Hero Avatar */
.hero-avatar-btn-container {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 30px;
  justify-content: center;
}
.hero-avatar-wrap {
  position: relative;
  z-index: 10;
}
.hero-avatar-wrap .avatar-glow-ring {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 2px solid rgba(108,99,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}
.avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  border-radius: 50%;
  position: relative;
  z-index: 2;
}
.hero-avatar-wrap:hover .avatar-img {
  transform: scale(1.05);
}
.avatar-glow-ring::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: var(--gradient-hero);
  animation: spin-ring 8s linear infinite;
  z-index: 0;
}
.avatar-glow-ring::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--bg-primary);
  z-index: 1;
}
@keyframes spin-ring {
  to { transform: rotate(360deg); }
}
/* Removed dynamic shape classes */
@keyframes float-avatar {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-20px); }
}
.avatar-placeholder {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--gradient-card);
  border: 4px solid var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
  font-weight: 900;
  color: #fff;
}
.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  z-index: 2;
}
.scroll-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid var(--text-muted);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}
.scroll-wheel {
  width: 3px;
  height: 8px;
  background: var(--accent-primary);
  border-radius: 2px;
  animation: scroll-wheel 2s ease-in-out infinite;
}
@keyframes scroll-wheel {
  0%   { transform: translateY(0); opacity:1; }
  100% { transform: translateY(12px); opacity:0; }
}

/* ─── Stats Section ───────────────────────────────────────── */
.stats-section {
  padding: var(--space-xl) 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  transition: background var(--transition-theme);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}
.stat-card {
  text-align: center;
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  transition: all var(--transition-base);
}
.stat-card:hover {
  border-color: var(--border-accent);
  background: var(--bg-card-hover);
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow);
}
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  font-weight: 900;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ─── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  letter-spacing: 0.01em;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background var(--transition-fast);
}
.btn:hover::after { background: rgba(255,255,255,0.08); }

.btn-primary {
  background: var(--gradient-cta);
  color: #fff;
  box-shadow: 0 4px 20px rgba(108,99,255,0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(108,99,255,0.50);
  color: #fff;
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--border-accent);
  color: var(--text-primary);
}
.btn-outline:hover {
  background: rgba(108,99,255,0.10);
  border-color: var(--border-hover);
  transform: translateY(-2px);
  color: var(--text-primary);
}

.btn-ghost {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}
.btn-ghost:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-accent);
  color: var(--text-primary);
}

.btn-sm  { padding: 9px 18px; font-size: 0.85rem; }
.btn-lg {
  padding: 14px 34px;
  font-size: 1rem;
}
.btn-circle {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  color: var(--accent-primary);
  box-shadow: 0 0 15px rgba(108,99,255,0.15);
  transition: all var(--transition-base);
  z-index: 5;
}
.btn-circle:hover {
  transform: translateY(-5px);
  background: var(--accent-primary);
  color: #fff;
  box-shadow: 0 0 25px rgba(108,99,255,0.4);
}
.btn-glass {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text-primary);
}
.btn-glass:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
}
.btn-icon-only { padding: 12px; width: 44px; height: 44px; justify-content: center; }

/* Ripple */
.btn .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.30);
  transform: scale(0);
  animation: ripple 0.6s linear;
  pointer-events: none;
}
@keyframes ripple {
  to { transform: scale(4); opacity: 0; }
}

/* CTA section */
.cta-section {
  background: var(--gradient-card);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-xl);
  padding: var(--space-xl) var(--space-2xl);
  text-align: center;
}
.cta-section h2 { margin-bottom: 12px; }
.cta-section p  { margin-bottom: 30px; }
.cta-buttons    { display:flex; gap:16px; justify-content:center; flex-wrap:wrap; }

/* Uniform Project Card sizing */
.project-card h3 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.8em; /* Force height so 1-line titles align with 2-line */
}
.project-body p {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 4.5em; /* approximate height for 3 lines */
}
.swiper-slide { height: auto; } /* Ensure swiper slides stretch correctly */

/* ─── Glass Card ──────────────────────────────────────────── */
.glass-card {
  background: var(--bg-glass);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-lg);
  backdrop-filter: var(--blur-md);
  -webkit-backdrop-filter: var(--blur-md);
  transition: all var(--transition-base);
}
.glass-card:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-glow);
  transform: translateY(-5px);
}

/* ─── Background Blobs ────────────────────────────────────── */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
  pointer-events: none;
  animation: blob-float 10s ease-in-out infinite;
}
.blob-1 {
  width: 500px; height: 500px;
  background: var(--accent-primary);
  top: -100px; left: -100px;
  animation-delay: 0s;
}
.blob-2 {
  width: 400px; height: 400px;
  background: var(--accent-secondary);
  bottom: -80px; right: -80px;
  animation-delay: 3s;
}
.blob-3 {
  width: 300px; height: 300px;
  background: var(--accent-tertiary);
  top: 50%; left: 50%;
  animation-delay: 6s;
}
@keyframes blob-float {
  0%,100% { transform: translate(0,0) scale(1); }
  33%      { transform: translate(30px,-30px) scale(1.05); }
  66%      { transform: translate(-20px,20px) scale(0.95); }
}

/* ─── Page Header ─────────────────────────────────────────── */
.page-header {
  padding: calc(var(--navbar-height) + 60px) 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header h1 { margin-bottom: 12px; }
.page-header p  { font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

/* ─── Form Styles ─────────────────────────────────────────── */
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
}
.form-control {
  width: 100%;
  padding: 13px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
  outline: none;
}
.form-control::placeholder { color: var(--text-muted); }
.form-control:focus {
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(108,99,255,0.15);
  background: var(--bg-card-hover);
}
textarea.form-control { resize: vertical; min-height: 140px; }
select.form-control { appearance: none; cursor: pointer; }
.form-error { font-size: 0.8rem; color: var(--accent-danger); margin-top: 5px; }
.form-success { font-size: 0.85rem; color: var(--accent-success); margin-top: 5px; }

/* ─── Alert ───────────────────────────────────────────────── */
.alert {
  padding: 14px 18px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.alert-success { background: rgba(16,185,129,0.12); border: 1px solid rgba(16,185,129,0.30); color: #10b981; }
.alert-error   { background: rgba(239,68,68,0.12);  border: 1px solid rgba(239,68,68,0.30);  color: #ef4444; }
.alert-info    { background: rgba(108,99,255,0.10); border: 1px solid rgba(108,99,255,0.25); color: var(--accent-primary); }
.alert-warning { background: rgba(245,158,11,0.12); border: 1px solid rgba(245,158,11,0.30); color: #f59e0b; }

/* ─── Badge ───────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.badge-primary  { background: rgba(108,99,255,0.15); color: var(--accent-primary); border: 1px solid rgba(108,99,255,0.30); }
.badge-success  { background: rgba(16,185,129,0.15); color: #10b981; border: 1px solid rgba(16,185,129,0.30); }
.badge-warning  { background: rgba(245,158,11,0.15); color: #f59e0b; border: 1px solid rgba(245,158,11,0.30); }
.badge-danger   { background: rgba(239,68,68,0.15);  color: #ef4444;  border: 1px solid rgba(239,68,68,0.30); }

/* ─── Footer ──────────────────────────────────────────────── */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: var(--space-xl) 0 var(--space-lg);
  transition: background var(--transition-theme);
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}
.footer-brand h3 {
  font-size: 1.6rem;
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}
.footer-brand p  { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 20px; }
.footer-col h4   { font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 14px; }
.footer-col ul   { display: flex; flex-direction: column; gap: 8px; }
.footer-col ul a { font-size: 0.9rem; color: var(--text-secondary); transition: color var(--transition-fast); }
.footer-col ul a:hover { color: var(--accent-primary); }
.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ─── Loading Spinner ─────────────────────────────────────── */
.spinner {
  width: 24px; height: 24px;
  border: 3px solid var(--border-color);
  border-top-color: var(--accent-primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ─── Utility Classes ─────────────────────────────────────── */
.text-center   { text-align: center; }
.text-left     { text-align: left; }
.text-right    { text-align: right; }
.d-flex        { display: flex; }
.align-center  { align-items: center; }
.justify-center { justify-content: center; }
.flex-wrap     { flex-wrap: wrap; }
.gap-sm        { gap: var(--space-sm); }
.gap-md        { gap: var(--space-md); }
.gap-lg        { gap: var(--space-lg); }
.mt-auto       { margin-top: auto; }
.mb-0          { margin-bottom: 0; }
.hidden        { display: none; }
.d-none        { display: none; }
@media (min-width: 576px) { .d-sm-inline { display: inline; } }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); border: 0;
}
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── Notification Toast ──────────────────────────────────── */
#toast-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.toast {
  padding: 14px 20px;
  border-radius: var(--radius-md);
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-size: 0.9rem;
  box-shadow: var(--shadow-md);
  min-width: 280px;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: slide-in-toast 0.3s ease;
}
@keyframes slide-in-toast {
  from { transform: translateX(100%); opacity:0; }
  to   { transform: translateX(0);    opacity:1; }
}
.toast.success { border-color: rgba(16,185,129,0.40); }
.toast.error   { border-color: rgba(239,68,68,0.40); }
