/* ============================================
   M KASHIF KHAN — PRO GLASSMORPHISM REDESIGN
   Dark Luxury Theme | Full Responsive
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
  --bg-dark: #050810;
  --bg-card: rgba(255,255,255,0.04);
  --bg-card-hover: rgba(255,255,255,0.07);
  --glass-border: rgba(255,255,255,0.10);
  --glass-border-strong: rgba(255,255,255,0.18);
  --gold: #c8a96e;
  --gold-light: #e2c88a;
  --gold-dim: rgba(200,169,110,0.15);
  --blue: #4f8ef7;
  --blue-dim: rgba(79,142,247,0.15);
  --cyan: #38bdf8;
  --text-primary: #f0eee8;
  --text-secondary: rgba(240,238,232,0.6);
  --text-muted: rgba(240,238,232,0.35);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --nav-h: 80px;
  --radius: 16px;
  --radius-lg: 24px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--bg-dark);
  color: var(--text-primary);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ---------- Animated BG ---------- */
.bg-canvas {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
}
.orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: 0.35;
  animation: orbFloat 20s ease-in-out infinite alternate;
}
.orb-1 { width: 600px; height: 600px; background: radial-gradient(circle, #1a2f6e 0%, transparent 70%); top: -200px; left: -200px; }
.orb-2 { width: 500px; height: 500px; background: radial-gradient(circle, #6b3a1f 0%, transparent 70%); bottom: -150px; right: -150px; animation-delay: -8s; }
.orb-3 { width: 350px; height: 350px; background: radial-gradient(circle, #0d4a6b 0%, transparent 70%); top: 40%; left: 60%; animation-delay: -4s; opacity: 0.2; }
.orb-4 { width: 300px; height: 300px; background: radial-gradient(circle, #c8a96e33 0%, transparent 70%); top: 60%; left: 10%; animation-delay: -12s; opacity: 0.25; }

@keyframes orbFloat {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(40px, 30px) scale(1.08); }
}

.grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* ---------- Custom Cursor ---------- */
.cursor-dot, .cursor-ring {
  position: fixed; border-radius: 50%;
  pointer-events: none; z-index: 9999;
  transition: opacity 0.3s;
}
.cursor-dot {
  width: 6px; height: 6px;
  background: var(--gold);
  transform: translate(-50%, -50%);
}
.cursor-ring {
  width: 32px; height: 32px;
  border: 1.5px solid rgba(200,169,110,0.5);
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s, border-color 0.3s;
}
body:hover .cursor-dot, body:hover .cursor-ring { opacity: 1; }
@media (pointer: coarse) { .cursor-dot, .cursor-ring { display: none; } }

/* ---------- Header / Nav ---------- */
#header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000; height: var(--nav-h);
}
nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px; height: 100%;
  background: rgba(5,8,16,0.6);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--glass-border);
  transition: background var(--transition);
}
#header.scrolled nav { background: rgba(5,8,16,0.85); }

.nav-logo { display: flex; align-items: center; gap: 10px; }
.logo-mk {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1rem;
  color: var(--bg-dark); letter-spacing: -0.5px;
}
.logo-text { font-family: var(--font-display); font-size: 1.1rem; font-weight: 500; color: var(--text-primary); }

.nav-links { display: flex; gap: 8px; }
.nav-link {
  padding: 8px 16px; border-radius: 8px;
  font-size: 0.875rem; font-weight: 500; color: var(--text-secondary);
  transition: color var(--transition), background var(--transition);
}
.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
  background: rgba(255,255,255,0.06);
}

.nav-cta {
  padding: 10px 22px; border-radius: 10px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--bg-dark); font-size: 0.875rem; font-weight: 600;
  transition: opacity var(--transition), transform var(--transition);
}
.nav-cta:hover { opacity: 0.88; transform: translateY(-1px); }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--text-primary); border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none; position: absolute; top: var(--nav-h); left: 0; right: 0;
  background: rgba(5,8,16,0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  padding: 20px 0; z-index: 999;
}
.mobile-menu.open { display: block; }
.mobile-menu ul { display: flex; flex-direction: column; }
.mobile-menu a {
  display: block; padding: 14px 40px;
  color: var(--text-secondary); font-weight: 500;
  transition: color var(--transition), background var(--transition);
}
.mobile-menu a:hover { color: var(--text-primary); background: rgba(255,255,255,0.05); }

/* ---------- Container / Layout ---------- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; position: relative; z-index: 2; }
.section-pad { padding: 120px 0; }

/* ---------- Section Labels & Titles ---------- */
.section-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 20px;
}
.section-label::before {
  content: ''; display: block; width: 32px; height: 1px; background: var(--gold);
}
.section-title {
  font-family: var(--font-display); font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 500; line-height: 1.15; color: var(--text-primary);
  margin-bottom: 20px;
}
.section-title em { font-style: italic; color: var(--gold); }
.section-title.center { text-align: center; }
.section-sub {
  color: var(--text-secondary); font-size: 1rem; max-width: 560px;
  margin-bottom: 60px;
}
.section-sub.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Buttons ---------- */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px; border-radius: 12px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--bg-dark); font-weight: 600; font-size: 0.9rem;
  transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition);
  box-shadow: 0 4px 24px rgba(200,169,110,0.25);
  border: none; cursor: pointer;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(200,169,110,0.35); }
.btn-primary.full-w { width: 100%; justify-content: center; }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px; border-radius: 12px;
  border: 1px solid var(--glass-border-strong);
  color: var(--text-secondary); font-weight: 500; font-size: 0.9rem;
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  transition: all var(--transition);
}
.btn-ghost:hover { color: var(--text-primary); border-color: var(--gold); background: var(--gold-dim); }

/* ---------- Glass Mixin (utility) ---------- */
.glass {
  background: var(--bg-card);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
}

/* ---------- Hero Section ---------- */
.hero {
  min-height: 100vh; display: flex; flex-direction: column;
  justify-content: center; position: relative; z-index: 2;
  padding-top: var(--nav-h);
}
.hero-inner {
  max-width: 1200px; margin: 0 auto; padding: 80px 32px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 999px;
  background: rgba(200,169,110,0.12);
  border: 1px solid rgba(200,169,110,0.3);
  font-size: 0.8rem; font-weight: 500; color: var(--gold);
  margin-bottom: 28px;
}
.badge-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px #4ade80;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.4} }

.hero-name {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(3rem, 7vw, 5.5rem); line-height: 1;
  margin-bottom: 20px;
}
.name-line { display: block; }
.name-line.accent { color: var(--gold); font-style: italic; }

.hero-role {
  font-size: 1rem; color: var(--text-secondary);
  margin-bottom: 18px; font-weight: 400;
}
.role-divider { color: var(--gold); margin: 0 6px; }

.hero-tagline {
  font-size: 1.05rem; color: var(--text-secondary); line-height: 1.7;
  max-width: 480px; margin-bottom: 36px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 50px; }

.hero-stats {
  display: flex; align-items: center; gap: 32px;
  padding: 24px 28px; border-radius: 16px;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  width: fit-content;
}
.stat-item { text-align: center; }
.stat-num {
  display: block; font-family: var(--font-display);
  font-size: 2rem; font-weight: 600; color: var(--gold); line-height: 1;
}
.stat-label { font-size: 0.75rem; color: var(--text-muted); font-weight: 500; margin-top: 4px; display: block; }
.stat-divider { width: 1px; height: 40px; background: var(--glass-border-strong); }

/* --- Hero Visual --- */
.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; }
.profile-frame { position: relative; width: 340px; height: 340px; }
.profile-glow {
  position: absolute; inset: -20px;
  background: radial-gradient(circle, rgba(200,169,110,0.2) 0%, transparent 70%);
  border-radius: 50%; animation: glowPulse 3s ease-in-out infinite;
}
@keyframes glowPulse { 0%,100%{opacity:0.5} 50%{opacity:1} }
.profile-ring {
  position: absolute; border-radius: 50%;
  border: 1px solid var(--glass-border);
  animation: ringRotate 20s linear infinite;
}
.ring-1 { inset: -15px; border-color: rgba(200,169,110,0.25); }
.ring-2 { inset: -30px; border-color: rgba(200,169,110,0.12); animation-direction: reverse; animation-duration: 30s; }
@keyframes ringRotate { from{transform:rotate(0deg)} to{transform:rotate(360deg)} }

.profile-img-wrap {
  width: 100%; height: 100%; border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(200,169,110,0.35);
  background: linear-gradient(145deg, #0d1a3a, #1a0d20);
  box-shadow: 0 24px 80px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.1);
}
.profile-img-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* Floating cards */
.floating-cards { position: absolute; inset: 0; pointer-events: none; }
.fcard {
  position: absolute;
  display: flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 12px;
  background: rgba(10,14,30,0.7);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border-strong);
  font-size: 0.8rem; font-weight: 600; color: var(--text-primary);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  pointer-events: auto;
}
.fcard-icon { width: 28px; height: 28px; border-radius: 8px; background: var(--gold-dim); display: flex; align-items: center; justify-content: center; color: var(--gold); font-size: 0.75rem; }
.fcard-1 { top: 5%; right: -10%; animation: floatY 4s ease-in-out infinite; }
.fcard-2 { bottom: 30%; left: -15%; animation: floatY 5s ease-in-out infinite 1s; }
.fcard-3 { bottom: 5%; right: 5%; animation: floatY 4.5s ease-in-out infinite 0.5s; }
@keyframes floatY { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }

.scroll-hint {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--text-muted); font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase;
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine { 0%{opacity:0;transform:scaleY(0) translateY(-100%)} 50%{opacity:1} 100%{opacity:0;transform:scaleY(1) translateY(0)} }

/* ---------- About Section ---------- */
.about { background: transparent; }
.about-grid {
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: 80px; align-items: center;
}
.about-img-frame {
  position: relative; border-radius: var(--radius-lg);
  overflow: visible;
}
.about-img-bg {
  position: absolute; inset: 16px 16px -16px -16px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(200,169,110,0.15), rgba(79,142,247,0.1));
  border: 1px solid var(--glass-border);
}
.about-img-frame img {
  width: 100%; border-radius: var(--radius-lg);
  position: relative; z-index: 1;
  border: 1px solid var(--glass-border-strong);
  box-shadow: 0 32px 80px rgba(0,0,0,0.5);
  object-fit: cover; height: 500px; object-position: top;
}
.about-tag {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: 999px; z-index: 2;
  background: rgba(10,14,30,0.8); backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border-strong);
  font-size: 0.82rem; font-weight: 500; color: var(--text-primary);
  white-space: nowrap;
}
.about-tag i { color: var(--gold); }

.about-desc {
  color: var(--text-secondary); line-height: 1.8; margin-bottom: 18px; font-size: 1rem;
}
.about-desc strong { color: var(--text-primary); font-weight: 600; }

.skills-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 12px; margin-top: 32px;
}
.skill-tile {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; border-radius: 12px;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  transition: all var(--transition);
}
.skill-tile:hover { background: var(--bg-card-hover); border-color: rgba(200,169,110,0.3); transform: translateY(-2px); }
.skill-icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--gold-dim); display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: 0.9rem; flex-shrink: 0;
}
.skill-info h4 { font-size: 0.85rem; font-weight: 600; color: var(--text-primary); }
.skill-info p { font-size: 0.75rem; color: var(--text-muted); margin-top: 2px; }

/* ---------- Services Section ---------- */
.services {
  position: relative;
}
.services::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent, rgba(200,169,110,0.04) 50%, transparent);
  pointer-events: none;
}

.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px);
  overflow: hidden; position: relative;
  transition: all var(--transition);
  cursor: default;
}
.service-card:hover {
  border-color: rgba(200,169,110,0.3);
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.4);
}
.service-card.featured {
  border-color: rgba(200,169,110,0.4);
  background: linear-gradient(145deg, rgba(200,169,110,0.06), rgba(5,8,16,0.8));
  box-shadow: 0 0 0 1px rgba(200,169,110,0.15), 0 24px 60px rgba(0,0,0,0.3);
}
.service-card-inner { padding: 36px 32px; position: relative; z-index: 1; }
.featured-badge {
  display: inline-block; padding: 4px 12px; border-radius: 999px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--bg-dark); font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 20px;
}
.service-num {
  font-family: var(--font-display); font-size: 3.5rem; font-weight: 300;
  color: rgba(200,169,110,0.15); line-height: 1;
  margin-bottom: 16px;
}
.service-icon-wrap {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--gold-dim); border: 1px solid rgba(200,169,110,0.2);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: 1.3rem;
  margin-bottom: 20px;
  transition: all var(--transition);
}
.service-card:hover .service-icon-wrap { background: rgba(200,169,110,0.2); }
.service-card h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 12px; }
.service-card p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.7; margin-bottom: 24px; }
.service-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 32px; }
.service-list li {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.85rem; color: var(--text-secondary);
}
.service-list li i { color: var(--gold); font-size: 0.7rem; }
.service-arrow {
  width: 36px; height: 36px; border-radius: 10px;
  border: 1px solid var(--glass-border-strong);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: 0.8rem;
  transition: all var(--transition);
}
.service-card:hover .service-arrow {
  background: var(--gold); border-color: var(--gold); color: var(--bg-dark);
}

/* ---------- Contact Section ---------- */
.contact { position: relative; }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.6fr;
  gap: 40px; align-items: start;
}
.contact-info {
  padding: 40px 36px; border-radius: var(--radius-lg);
  background: var(--bg-card); border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px);
}
.contact-info h3 {
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 500;
  color: var(--gold); margin-bottom: 28px;
}
.contact-items { display: flex; flex-direction: column; gap: 20px; margin-bottom: 32px; }
.contact-item { display: flex; align-items: flex-start; gap: 16px; }
.contact-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--gold-dim); display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: 1rem; flex-shrink: 0;
}
.detail-label { display: block; font-size: 0.75rem; color: var(--text-muted); margin-bottom: 4px; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; }
.detail-value { font-size: 0.9rem; color: var(--text-primary); font-weight: 500; }
.social-row { display: flex; gap: 10px; }
.social-btn {
  width: 42px; height: 42px; border-radius: 10px;
  background: var(--bg-card); border: 1px solid var(--glass-border-strong);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-secondary); font-size: 0.9rem;
  transition: all var(--transition);
}
.social-btn:hover { background: var(--gold-dim); border-color: var(--gold); color: var(--gold); }

/* Form */
.contact-form-wrap {
  padding: 40px 36px; border-radius: var(--radius-lg);
  background: var(--bg-card); border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.form-group label { font-size: 0.8rem; color: var(--text-muted); font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; }
.form-group input,
.form-group textarea {
  width: 100%; padding: 14px 16px; border-radius: 10px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--glass-border);
  color: var(--text-primary); font-family: var(--font-body); font-size: 0.9rem;
  outline: none; transition: all var(--transition);
  resize: vertical;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }
.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(200,169,110,0.5);
  background: rgba(200,169,110,0.05);
  box-shadow: 0 0 0 3px rgba(200,169,110,0.1);
}

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--glass-border);
  padding: 60px 0 30px; position: relative; z-index: 2;
  background: rgba(5,8,16,0.6);
  backdrop-filter: blur(20px);
}
.footer-inner {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 48px; margin-bottom: 48px;
}
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-brand p { color: var(--text-muted); font-size: 0.875rem; line-height: 1.7; max-width: 300px; }
.footer-links-col h5 {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 16px;
}
.footer-links-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links-col a { color: var(--text-muted); font-size: 0.875rem; transition: color var(--transition); }
.footer-links-col a:hover { color: var(--text-primary); }
.footer-bottom {
  padding-top: 24px; border-top: 1px solid var(--glass-border);
  display: flex; justify-content: space-between; align-items: center;
  color: var(--text-muted); font-size: 0.8rem;
}

/* ---------- Toast ---------- */
.toast {
  position: fixed; top: 24px; right: 24px; z-index: 9999;
  padding: 14px 24px; border-radius: 12px; font-size: 0.875rem; font-weight: 500;
  background: rgba(10,14,30,0.9); border: 1px solid var(--glass-border-strong);
  backdrop-filter: blur(16px); color: var(--text-primary);
  transform: translateX(120%); transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
  max-width: 340px;
}
.toast.show { transform: translateX(0); }
.toast.success { border-color: rgba(74,222,128,0.4); color: #4ade80; }
.toast.error { border-color: rgba(248,113,113,0.4); color: #f87171; }

/* ---------- Scroll Reveal ---------- */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .service-card:nth-child(3) { grid-column: span 2; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-img-frame img { height: 360px; }
  .about-img-frame { max-width: 480px; margin: 0 auto; }
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 48px; }
  .hero-tagline { max-width: 100%; }
  .hero-actions { justify-content: center; }
  .hero-stats { margin: 0 auto; }
  .hero-visual { justify-content: center; }
  .profile-frame { width: 280px; height: 280px; }
  .fcard-2 { left: 0; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .section-pad { padding: 80px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card:nth-child(3) { grid-column: span 1; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  nav { padding: 0 20px; }
  .container { padding: 0 20px; }
  .hero-inner { padding: 60px 20px; }
  .hero-stats { gap: 20px; padding: 18px 20px; }
  .skills-grid { grid-template-columns: 1fr; }
  .contact-info, .contact-form-wrap { padding: 28px 24px; }
}

@media (max-width: 480px) {
  .hero-name { font-size: 2.8rem; }
  .profile-frame { width: 240px; height: 240px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .btn-primary, .btn-ghost { width: 100%; justify-content: center; }
  .floating-cards { display: none; }
}