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

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

:root {
  --bg: #080b14;
  --bg2: #0e1220;
  --bg3: #151a2e;
  --surface: rgba(255,255,255,0.04);
  --surface2: rgba(255,255,255,0.08);
  --border: rgba(255,255,255,0.08);
  --border2: rgba(255,255,255,0.15);
  --text: #f0f4ff;
  --text2: #8892b0;
  --text3: #4a5568;
  --primary: #7c3aed;
  --primary2: #9f67ff;
  --blue: #2563eb;
  --blue2: #3b82f6;
  --success: #10b981;
  --error: #ef4444;
  --warning: #f59e0b;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --shadow: 0 4px 32px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 64px rgba(0,0,0,0.6);
  --glow: 0 0 40px rgba(124,58,237,0.3);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg2); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 99px; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: 1.25rem; }
a { color: var(--primary2); text-decoration: none; transition: color .2s; }
a:hover { color: var(--text); }

/* ===== LAYOUT ===== */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 680px; margin: 0 auto; padding: 0 24px; }

/* ===== NAVBAR ===== */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(8,11,20,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}
.navbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.navbar__brand {
  font-size: 1.5rem; font-weight: 900; letter-spacing: -0.5px;
  background: linear-gradient(135deg, var(--primary2), var(--blue2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.navbar__actions { display: flex; align-items: center; gap: 12px; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: var(--radius-sm);
  font-size: 0.9rem; font-weight: 600; cursor: pointer;
  border: none; transition: all .2s ease; text-decoration: none;
  white-space: nowrap;
}
.btn--primary {
  background: linear-gradient(135deg, var(--primary), var(--blue));
  color: #fff; box-shadow: 0 4px 20px rgba(124,58,237,0.4);
}
.btn--primary:hover {
  transform: translateY(-2px); box-shadow: 0 8px 32px rgba(124,58,237,0.6);
  color: #fff;
}
.btn--secondary {
  background: var(--surface2); color: var(--text); border: 1px solid var(--border2);
}
.btn--secondary:hover { background: var(--surface); border-color: var(--primary); color: var(--text); }
.btn--ghost {
  background: transparent; color: var(--text2); border: 1px solid var(--border);
}
.btn--ghost:hover { color: var(--text); border-color: var(--border2); }
.btn--danger {
  background: rgba(239,68,68,0.15); color: var(--error); border: 1px solid rgba(239,68,68,0.3);
}
.btn--danger:hover { background: rgba(239,68,68,0.25); color: var(--error); }
.btn--success {
  background: rgba(16,185,129,0.15); color: var(--success); border: 1px solid rgba(16,185,129,0.3);
}
.btn--success:hover { background: rgba(16,185,129,0.25); color: var(--success); }
.btn--sm { padding: 6px 14px; font-size: 0.8rem; }
.btn--icon { padding: 8px; border-radius: 8px; }
.btn[disabled] { opacity: 0.4; cursor: not-allowed; pointer-events: none; }

/* ===== CARDS ===== */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color .2s, box-shadow .2s;
}
.card:hover { border-color: var(--border2); box-shadow: var(--shadow); }
.card--glass {
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(20px);
}

/* ===== FORMS ===== */
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-label { font-size: 0.85rem; font-weight: 600; color: var(--text2); text-transform: uppercase; letter-spacing: 0.05em; }
.form-input, .form-textarea, .form-select {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--radius-sm); color: var(--text);
  padding: 12px 16px; font-size: 0.95rem; font-family: inherit;
  transition: border-color .2s, box-shadow .2s; width: 100%;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(124,58,237,0.15);
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--text3); }
.form-textarea { resize: vertical; min-height: 80px; }
.form-select { cursor: pointer; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row--3 { grid-template-columns: 1fr 1fr 1fr; }

input[type="color"].form-input {
  padding: 4px 6px; height: 46px; cursor: pointer; width: 100%;
}

/* ===== ALERTS / FLASH ===== */
.alert {
  padding: 14px 18px; border-radius: var(--radius-sm);
  font-size: 0.9rem; font-weight: 500;
  display: flex; align-items: center; gap: 10px;
  animation: slideDown .3s ease;
}
.alert--success { background: rgba(16,185,129,0.15); border: 1px solid rgba(16,185,129,0.3); color: var(--success); }
.alert--error   { background: rgba(239,68,68,0.15);  border: 1px solid rgba(239,68,68,0.3);  color: var(--error); }
.alert--info    { background: rgba(59,130,246,0.15); border: 1px solid rgba(59,130,246,0.3);  color: var(--blue2); }
@keyframes slideDown { from { opacity:0; transform:translateY(-10px); } to { opacity:1; transform:translateY(0); } }

/* ===== BADGE ===== */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px; border-radius: 99px; font-size: 0.75rem; font-weight: 600;
}
.badge--active   { background: rgba(16,185,129,0.15); color: var(--success); border: 1px solid rgba(16,185,129,0.3); }
.badge--inactive { background: rgba(100,100,100,0.15); color: var(--text3); border: 1px solid var(--border); }

/* ===== HOMEPAGE ===== */
.hero {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  text-align: center; position: relative; overflow: hidden;
  padding: 80px 24px;
}
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(124,58,237,0.25) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(37,99,235,0.2) 0%, transparent 60%),
    radial-gradient(ellipse 40% 30% at 20% 60%, rgba(159,103,255,0.15) 0%, transparent 60%);
}
.hero__content { position: relative; z-index: 1; max-width: 700px; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(124,58,237,0.15); border: 1px solid rgba(124,58,237,0.35);
  padding: 6px 16px; border-radius: 99px; font-size: 0.85rem; font-weight: 600;
  color: var(--primary2); margin-bottom: 24px;
  animation: fadeIn .6s ease;
}
.hero__title { margin-bottom: 20px; animation: fadeIn .8s ease; }
.hero__title span { background: linear-gradient(135deg, var(--primary2), var(--blue2)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero__desc { font-size: 1.15rem; color: var(--text2); margin-bottom: 40px; max-width: 500px; margin-left: auto; margin-right: auto; animation: fadeIn 1s ease; }
.hero__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; animation: fadeIn 1.2s ease; }
.hero__stats { display: flex; gap: 40px; justify-content: center; margin-top: 64px; animation: fadeIn 1.4s ease; }
.hero__stat-num { font-size: 2rem; font-weight: 800; background: linear-gradient(135deg, var(--primary2), var(--blue2)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero__stat-label { font-size: 0.85rem; color: var(--text2); }

.features { padding: 100px 0; }
.features__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-top: 60px; }
.feature-card { padding: 32px; position: relative; overflow: hidden; }
.feature-card__icon { font-size: 2.5rem; margin-bottom: 16px; }
.feature-card__title { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.feature-card__desc { color: var(--text2); font-size: 0.95rem; }
.feature-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(124,58,237,0.05), rgba(37,99,235,0.05));
  opacity: 0; transition: opacity .3s;
}
.feature-card:hover::before { opacity: 1; }

.section-eyebrow {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary2), var(--blue2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  font-weight: 700; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.section-title { margin-bottom: 16px; }
.section-desc { color: var(--text2); font-size: 1.05rem; max-width: 500px; }

/* ===== DASHBOARD ===== */
.page { padding: 48px 0; }
.page-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 40px; flex-wrap: wrap; }
.page-title { font-size: 2rem; font-weight: 800; }
.page-subtitle { color: var(--text2); margin-top: 4px; }

.profiles-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.profile-card {
  border-radius: var(--radius-lg); overflow: hidden;
  background: var(--bg2); border: 1px solid var(--border);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
  position: relative;
}
.profile-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--border2); }
.profile-card__header {
  height: 80px; display: flex; align-items: flex-end; justify-content: flex-start;
  padding: 0 20px 0; position: relative;
}
.profile-card__avatar {
  width: 60px; height: 60px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; font-weight: 800; color: #fff;
  border: 3px solid var(--bg2);
  position: absolute; bottom: -30px; left: 20px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
}
.profile-card__body { padding: 40px 20px 20px; }
.profile-card__name { font-size: 1.1rem; font-weight: 700; margin-bottom: 2px; }
.profile-card__username { font-size: 0.85rem; color: var(--text2); margin-bottom: 10px; }
.profile-card__bio { font-size: 0.9rem; color: var(--text2); margin-bottom: 16px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.profile-card__meta { font-size: 0.8rem; color: var(--text3); margin-bottom: 16px; }
.profile-card__actions { display: flex; gap: 8px; flex-wrap: wrap; }

.empty-state {
  text-align: center; padding: 80px 24px; max-width: 400px; margin: 0 auto;
}
.empty-state__icon { font-size: 4rem; margin-bottom: 20px; opacity: 0.5; }
.empty-state__title { font-size: 1.3rem; font-weight: 700; margin-bottom: 10px; }
.empty-state__desc { color: var(--text2); margin-bottom: 24px; }

/* ===== MODAL ===== */
.modal-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(0,0,0,0.7); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center; padding: 24px;
  opacity: 0; visibility: hidden; transition: all .2s ease;
}
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal {
  background: var(--bg2); border: 1px solid var(--border2);
  border-radius: var(--radius-lg); padding: 32px;
  width: 100%; max-width: 520px;
  transform: scale(0.95) translateY(10px);
  transition: transform .2s ease;
  max-height: 90vh; overflow-y: auto;
}
.modal-overlay.active .modal { transform: scale(1) translateY(0); }
.modal__header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.modal__title { font-size: 1.25rem; font-weight: 700; }
.modal__close { background: none; border: none; color: var(--text2); cursor: pointer; font-size: 1.5rem; padding: 4px; border-radius: 8px; transition: color .2s; }
.modal__close:hover { color: var(--text); }
.modal__form { display: flex; flex-direction: column; gap: 20px; }
.modal__footer { display: flex; gap: 12px; justify-content: flex-end; margin-top: 8px; }

/* ===== EDITOR PAGE ===== */
.editor-layout { display: grid; grid-template-columns: 1fr 380px; gap: 32px; align-items: start; }
.editor-preview { position: sticky; top: 90px; }

.phone-mockup {
  background: var(--bg3); border: 2px solid var(--border2);
  border-radius: 40px; padding: 24px 16px; max-width: 340px; margin: 0 auto;
  box-shadow: var(--shadow-lg);
  position: relative; overflow: hidden;
}
.phone-mockup::before {
  content: ''; position: absolute; top: 14px; left: 50%;
  transform: translateX(-50%); width: 60px; height: 5px;
  background: var(--border2); border-radius: 99px;
}
.phone-mockup__screen { margin-top: 16px; border-radius: 24px; overflow: hidden; min-height: 500px; }

.preview-profile {
  padding: 40px 20px; text-align: center; min-height: 500px;
}
.preview-avatar {
  width: 80px; height: 80px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; font-weight: 800; color: #fff;
  margin: 0 auto 16px; box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.preview-name { font-size: 1.25rem; font-weight: 800; margin-bottom: 6px; }
.preview-bio  { font-size: 0.85rem; opacity: .8; margin-bottom: 24px; }
.preview-link {
  display: block; padding: 14px 20px; border-radius: 14px;
  background: rgba(255,255,255,0.12); color: #fff; font-weight: 600;
  font-size: 0.9rem; margin-bottom: 10px; text-align: center;
  backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.2);
  transition: background .2s; text-decoration: none;
}
.preview-link:hover { background: rgba(255,255,255,0.22); }

.links-section { margin-top: 32px; }
.links-section__header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.link-item {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 16px;
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 12px; transition: border-color .2s;
}
.link-item:hover { border-color: var(--border2); }
.link-item__icon { font-size: 1.5rem; flex-shrink: 0; }
.link-item__info { flex: 1; min-width: 0; }
.link-item__title { font-weight: 600; font-size: 0.95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.link-item__url   { font-size: 0.8rem; color: var(--text2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.link-item__actions { display: flex; gap: 6px; flex-shrink: 0; }
.link-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.link-dot--active   { background: var(--success); box-shadow: 0 0 8px var(--success); }
.link-dot--inactive { background: var(--text3); }

/* ===== LOGIN PAGE ===== */
.login-page {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: 24px; position: relative; overflow: hidden;
  background: #08090d;
}
.login-page__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 10% 20%, rgba(124, 58, 237, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 90% 80%, rgba(59, 130, 246, 0.15) 0%, transparent 50%);
  z-index: 0;
}
.login-card {
  position: relative; z-index: 10; width: 100%; max-width: 420px;
  background: rgba(20, 22, 26, 0.45); border: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(28px); -webkit-backdrop-filter: blur(28px);
  border-radius: 24px; padding: 3rem 2.5rem;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
}
.login-logo {
  font-size: 1.8rem; font-weight: 800; text-align: center; margin-bottom: 8px;
  color: #fff;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.login-subtitle { text-align: center; color: rgba(255, 255, 255, 0.5); font-size: 0.9rem; margin-bottom: 32px; }
.login-form { display: flex; flex-direction: column; gap: 18px; }

/* Style forms inside login cards */
.login-card .form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.login-card .form-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.login-card .form-input {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  color: #fff;
  padding: 13px 16px;
  font-size: 0.95rem;
  box-sizing: border-box;
  transition: all 0.25s ease;
  width: 100%;
}
.login-card .form-input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(124, 58, 237, 0.5);
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.15);
}
.login-card .form-input::placeholder {
  color: rgba(255, 255, 255, 0.25);
}
.login-card .btn--primary {
  width: 100%;
  height: 48px;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #7c3aed, #3b82f6);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.25);
  margin-top: 10px;
}
.login-card .btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(124, 58, 237, 0.45);
  filter: brightness(1.05);
}
.login-card .btn--primary:active {
  transform: scale(0.98);
}

/* ===== PUBLIC PROFILE PAGE ===== */
.pub-profile {
  min-height: 100vh; display: flex; align-items: flex-start; justify-content: center;
  padding: 60px 20px;
}
.pub-profile__card {
  width: 100%; max-width: 520px;
  text-align: center;
}
.pub-avatar {
  width: 100px; height: 100px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem; font-weight: 800; color: #fff;
  margin: 0 auto 20px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}
.pub-name { font-size: 1.75rem; font-weight: 800; margin-bottom: 8px; color: #fff; }
.pub-bio  { font-size: 1rem; color: rgba(255,255,255,0.75); margin-bottom: 36px; max-width: 360px; margin-left: auto; margin-right: auto; }
.pub-link {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 24px; border-radius: 16px;
  background: rgba(255,255,255,0.12); color: #fff; font-weight: 600;
  font-size: 1rem; margin-bottom: 12px; text-align: left;
  backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,0.18);
  transition: all .25s ease; cursor: pointer; text-decoration: none;
}
.pub-link:hover {
  background: rgba(255,255,255,0.22);
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  color: #fff;
}
.pub-link__icon { font-size: 1.5rem; flex-shrink: 0; }
.pub-link__label { flex: 1; }
.pub-link__arrow { opacity: 0.5; font-size: 0.9rem; }
.pub-footer {
  margin-top: 40px; font-size: 0.8rem; color: rgba(255,255,255,0.4);
}
.pub-footer a { color: rgba(255,255,255,0.6); }
.pub-footer a:hover { color: rgba(255,255,255,0.9); }
.pub-404 { text-align: center; padding: 100px 24px; color: rgba(255,255,255,0.7); }
.pub-404 h2 { font-size: 2rem; margin-bottom: 12px; color: #fff; }

/* ===== DIVIDER ===== */
.divider { height: 1px; background: var(--border); margin: 32px 0; }

/* ===== TABS ===== */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border); margin-bottom: 32px; }
.tab {
  padding: 12px 20px; font-size: 0.9rem; font-weight: 600; cursor: pointer;
  border: none; background: none; color: var(--text2);
  border-bottom: 2px solid transparent; transition: all .2s; margin-bottom: -1px;
}
.tab:hover { color: var(--text); }
.tab.active { color: var(--primary2); border-bottom-color: var(--primary2); }

/* ===== ANIMATIONS ===== */
@keyframes fadeIn { from { opacity:0; transform:translateY(16px); } to { opacity:1; transform:translateY(0); } }
@keyframes pulse  { 0%,100%{opacity:1;} 50%{opacity:.6;} }

.fade-in { animation: fadeIn .5s ease both; }
.fade-in-1 { animation: fadeIn .5s .1s ease both; }
.fade-in-2 { animation: fadeIn .5s .2s ease both; }
.fade-in-3 { animation: fadeIn .5s .3s ease both; }

/* ===== TOOLTIP ===== */
[data-tooltip] { position: relative; }
[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%);
  background: var(--bg3); color: var(--text); font-size: 0.78rem; white-space: nowrap;
  padding: 5px 10px; border-radius: 6px; pointer-events: none;
  opacity: 0; transition: opacity .2s; border: 1px solid var(--border2);
}
[data-tooltip]:hover::after { opacity: 1; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .editor-layout { grid-template-columns: 1fr; }
  .editor-preview { position: static; }
}
@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
  .form-row--3 { grid-template-columns: 1fr; }
  .hero__stats { gap: 24px; }
  .login-card { padding: 32px 24px; }
}

/* ===== DIGITAL BUSINESS CARD STYLING ===== */

/* Background Film-Grain Noise Overlay */
.noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Animated Ambient Glow Orbs */
.glow-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  z-index: 0;
  pointer-events: none;
  opacity: 0.35;
  mix-blend-mode: screen;
  transition: transform 0.5s ease;
}

.orb-1 {
  width: 50vw;
  height: 50vw;
  max-width: 500px;
  max-height: 500px;
  top: -10%;
  left: -10%;
  animation: floatOrb1 25s infinite alternate ease-in-out;
}

.orb-2 {
  width: 60vw;
  height: 60vw;
  max-width: 600px;
  max-height: 600px;
  bottom: -15%;
  right: -10%;
  animation: floatOrb2 30s infinite alternate ease-in-out;
}

@keyframes floatOrb1 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(10%, 15%) scale(1.1); }
  100% { transform: translate(-5%, 5%) scale(0.95); }
}

@keyframes floatOrb2 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-12%, -10%) scale(0.9); }
  100% { transform: translate(8%, 12%) scale(1.05); }
}

/* Main Container (Frosted Glass Card) */
.glass-card {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 900px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 36px;
  padding: 3rem;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
  animation: cardFadeIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes cardFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Layout Grid */
.glass-card .container {
  display: grid;
  grid-template-columns: 4.5fr 7.5fr;
  gap: 3.5rem;
  align-items: center;
  max-width: 100%;
  padding: 0;
}

/* Left Column: Profile Card */
.profile-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.avatar-wrapper {
  position: relative;
  margin-bottom: 1.5rem;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.03) 100%);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  display: inline-block;
  animation: avatarFloat 6s ease-in-out infinite;
}

.avatar-wrapper img.avatar {
  display: block;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
}

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

.profile-name {
  font-size: 2.25rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.profile-bio {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 2rem;
  font-weight: 300;
}

/* Quick Contact Icons Row */
.contact-icons {
  display: flex;
  gap: 1rem;
}

.contact-icons .icon-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background-color: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.contact-icons .icon-btn:hover {
  transform: translateY(-3px) scale(1.08);
  background-color: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.contact-icons .icon-btn:active {
  transform: scale(0.95);
}

/* Right Column: Content Blocks */
.links-column {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  text-align: left;
}

.content-block {
  margin-bottom: 0.5rem;
}

.links-column .section-title {
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #fff;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.links-column .section-text {
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 300;
}

.links-column .divider {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin: 1.75rem 0;
  width: 100%;
}

/* Buttons Grid Layout */
.buttons-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

/* Social Buttons */
.buttons-grid .social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  height: 3.25rem;
  padding: 0 1.5rem;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background-color: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  outline: none;
}

.buttons-grid .social-btn:hover {
  transform: translateY(-3px);
  background-color: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.buttons-grid .btn-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.buttons-grid .social-btn:hover .btn-icon {
  transform: scale(1.15);
}

.buttons-grid .btn-label {
  letter-spacing: 0.01em;
}

/* Highlight / Primary Button Styling (vCard) */
.buttons-grid .highlight-btn {
  grid-column: span 2;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.03) 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  color: #ffffff;
}

.buttons-grid .highlight-btn:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.08) 100%);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

/* Toast Notification Alert */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background-color: rgba(20, 20, 20, 0.9);
  color: #ffffff;
  padding: 0.75rem 1.75rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  font-size: 0.9rem;
  font-weight: 500;
  z-index: 100;
  pointer-events: none;
  opacity: 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Public Profile Responsiveness */
@media (max-width: 860px) {
  .glass-card {
    padding: 2.5rem;
  }
  .glass-card .container {
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .glass-card {
    padding: 2rem;
    border-radius: 28px;
    margin-top: 1rem;
  }
  .glass-card .container {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  .profile-column {
    align-items: center;
  }
  .links-column {
    text-align: center;
  }
  .buttons-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .buttons-grid .highlight-btn {
    grid-column: span 1;
  }
  .social-btn {
    height: 3rem;
  }
}

@media (max-width: 480px) {
  .glass-card {
    padding: 1.5rem;
  }
  .avatar-wrapper img.avatar {
    width: 120px;
    height: 120px;
  }
}

/* Floating Admin / Dashboard Pill Button */
.admin-float-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 100;
  transition: all 0.3s ease;
}

.admin-float-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
  transform: translateY(-1px);
}

.admin-float-btn:active {
  transform: scale(0.97);
}

@media (max-width: 480px) {
  .admin-float-btn {
    top: 1rem;
    right: 1rem;
    padding: 8px;
    border-radius: 50%;
  }
  .admin-btn-text {
    display: none;
  }
}

/* Company Logo inside Glass Card (Float wrapping) */
.links-header {
  display: block;
  width: 100%;
}

.links-header::after {
  content: "";
  display: table;
  clear: both;
}

.company-logo-wrapper {
  float: right;
  margin-left: 24px;
  margin-bottom: 12px;
  z-index: 20;
  display: flex;
  justify-content: flex-end;
}

.company-logo {
  object-fit: contain;
  opacity: 0.9;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.15));
}

.company-logo.logo-size--small {
  max-height: 70px;
  max-width: 200px;
}

.company-logo.logo-size--medium {
  max-height: 85px;
  max-width: 240px;
}

.company-logo.logo-size--large {
  max-height: 100px;
  max-width: 280px;
}

@media (max-width: 768px) {
  .company-logo-wrapper {
    float: none;
    margin: 0 auto 1.5rem auto;
    display: flex;
    justify-content: center;
    width: 100%;
  }
  .company-logo.logo-size--small {
    max-height: 45px;
    max-width: 130px;
  }
  .company-logo.logo-size--medium {
    max-height: 55px;
    max-width: 160px;
  }
  .company-logo.logo-size--large {
    max-height: 65px;
    max-width: 190px;
  }
}
