/* ============================================================
   PORTFOLIO — styles.css
   Author  : Mayank Tak
   Palette : Rich dark (#0a0804) + amber/gold accent (#FFC107)
   Fonts   : Anton (display) · Inter (body) — both from Google
   ============================================================ */

/* ── RESET & BOX MODEL ── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ── DESIGN TOKENS ── */
:root {
  --black:   #0a0804;
  --black2:  #100e08;
  --black3:  #161309;
  --white:   #faf8f0;
  --muted:   #888;
  --faint:   #1c1905;
  --border:  #2a2208;
  --accent:  #FFC107;
  --accent2: #FFE082;
  --accent3: #d97706;
  --shadow-accent: rgba(255, 193, 7, .25);
  --radius: 10px;
  --transition: all .3s cubic-bezier(.23, 1, .32, 1);

  /* Admin neon accents */
  --neon: #00f5ff;
  --neon2: #7cfff6;
  --neon-shadow: rgba(0, 245, 255, .22);
}


/* for preloader */
#preloader {
  position: fixed;
  inset: 0;
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999999;
  transition: opacity 0.5s ease;
}


/* ============================================================
   AI CHAT WIDGET STYLES
   ============================================================ */
#ai-chat-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  font-family: 'Inter', sans-serif;
}

/* Floating Bubble Button */
#chat-bubble-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--accent, #FFC107);
  color: #111;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), inset 0 2px 2px rgba(255, 255, 255, 0.3);
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s ease, background 0.3s ease;
}

#chat-bubble-btn:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6), inset 0 2px 2px rgba(255, 255, 255, 0.4);
  background: linear-gradient(135deg, #fff3c4, var(--accent, #FFC107));
}

#chat-bubble-btn svg {
  transition: transform 0.3s ease;
}

#chat-bubble-btn:hover svg {
  transform: scale(1.1);
}

/* Chat Window */
#ai-chat-window {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 420px;
  height: 600px;
  max-height: calc(100vh - 120px);
  max-width: calc(100vw - 60px);
  background: #121212;
  border: 1px solid #2a2a2a;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.05) inset;
  overflow: hidden;
  transform-origin: bottom right;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease, visibility 0.3s;
}

/* Hidden state for chat window */
#ai-chat-window.chat-hidden {
  opacity: 0;
  visibility: hidden;
  transform: scale(0.9) translateY(20px);
  pointer-events: none;
}

/* Active state for chat window */
#ai-chat-window.chat-active {
  opacity: 1;
  visibility: visible;
  transform: scale(1) translateY(0);
  pointer-events: all;
}

/* Chat Header */
.chat-header {
  background: rgba(20, 20, 20, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid #2a2a2a;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-header-title {
  color: #eaeaea;
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  letter-spacing: 0.5px;
}

#chat-close-btn {
  background: none;
  border: none;
  color: #888;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
}

#chat-close-btn:hover {
  color: var(--accent, #FFC107);
  transform: scale(1.1);
}

/* Chat Messages Area */
.chat-messages {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  /* Custom thin scrollbar */
  scrollbar-width: thin;
  scrollbar-color: #2a2a2a transparent;
}

.chat-messages::-webkit-scrollbar {
  width: 5px;
}

.chat-messages::-webkit-scrollbar-thumb {
  background: #2a2a2a;
  border-radius: 5px;
}

/* Individual Messages */
.chat-message {
  max-width: 85%;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.5;
  white-space: pre-wrap; /* Ensures \n line breaks are respected */
  animation: messageFadeIn 0.3s ease forwards;
}

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

.bot-message {
  background: #1e1e1e;
  color: #eaeaea;
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.user-message {
  background: var(--accent, #FFC107);
  color: #111;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  box-shadow: 0 4px 14px rgba(255, 193, 7, 0.15);
  font-weight: 500;
}

/* Animated typing indicator (three bouncing dots) */
.chat-typing {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 14px 18px;
}

.chat-typing span {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #555;
  animation: chatDotBounce 1.2s infinite ease-in-out;
}

.chat-typing span:nth-child(1) { animation-delay: 0s;    }
.chat-typing span:nth-child(2) { animation-delay: 0.2s;  }
.chat-typing span:nth-child(3) { animation-delay: 0.4s;  }

@keyframes chatDotBounce {
  0%, 60%, 100% { transform: translateY(0);    background: #555; }
  30%           { transform: translateY(-7px);  background: var(--accent, #FFC107); }
}

/* Chat Suggestions */
.chat-suggestions {
  padding: 0 20px 16px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.chat-suggestion-chip {
  background: rgba(255, 193, 7, 0.06);
  border: 1px solid rgba(255, 193, 7, 0.15);
  color: #eaeaea;
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.chat-suggestion-chip:hover {
  background: rgba(255, 193, 7, 0.15);
  border-color: var(--accent);
  color: var(--white);
  transform: translateY(-1px);
}

/* Input Area */
.chat-input-area {
  padding: 16px;
  background: #121212;
  border-top: 1px solid #2a2a2a;
  display: flex;
  gap: 12px;
  align-items: center;
}

#chat-input-field {
  flex: 1;
  background: #1e1e1e;
  border: 1px solid #2a2a2a;
  border-radius: 20px;
  padding: 12px 16px;
  color: #eaeaea;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  outline: none;
}

#chat-input-field::placeholder {
  color: #666;
}

#chat-input-field:focus {
  border-color: rgba(255, 193, 7, 0.5);
  box-shadow: 0 0 0 2px rgba(255, 193, 7, 0.1);
}

#chat-send-btn {
  background: var(--accent, #FFC107);
  color: #111;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
  flex-shrink: 0; /* Prevent squishing on mobile */
}

#chat-send-btn:hover {
  transform: scale(1.05);
  background: #FFE082;
}

#chat-send-btn svg {
  position: relative;
  left: -1px; /* Optical center adjustment for the send icon */
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
  #ai-chat-widget {
    bottom: 20px;
    right: 20px;
  }
  
  #chat-bubble-btn {
    width: 54px;
    height: 54px;
  }
  
  #ai-chat-window {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100dvh; /* Dynamic viewport height for better mobile support */
    max-height: none;
    max-width: none;
    border-radius: 0;
    border: none;
    transform-origin: bottom right; /* Scales from the button */
  }
}




/* ── BASE ── */
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  font-size: 16px;
}

/* ── CENTERED CONTAINER (like Amazon) ── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
  width: 100%;
  cursor: none;
  -webkit-font-smoothing: antialiased;
}

/* ── CUSTOM SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent3); }

/* ── GRADIENT TEXT UTILITIES ── */
.gradient-text {
  background: linear-gradient(135deg, #fff 0%, #e0d0a0 30%, var(--accent) 60%, var(--accent3) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-bw {
  background: linear-gradient(90deg, #ffffff 0%, #cccccc 40%, #888888 75%, #333333 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================================
   CUSTOM CURSOR
   ============================================================ */
.cursor {
  position: fixed;
  left: 0;
  top: 0;
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transition: width .15s ease, height .15s ease, background .15s ease;
  will-change: transform;
}

.cursor-follower {
  position: fixed;
  left: 0;
  top: 0;
  width: 34px;
  height: 34px;
  border: 1.5px solid rgba(255, 193, 7, .35);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transition: width .35s ease, height .35s ease, border-color .35s ease;
  will-change: transform;
}

/* Hover state handled via JS GSAP for smoothness */

/* ============================================================
   TOPBAR
   ============================================================ */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 300;
  background: rgba(10, 8, 4, .97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  text-align: center;
  padding: 7px 20px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 3px;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.topbar span {
  color: var(--accent);
  font-weight: 700;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
nav {
  position: fixed;
  top: 30px;
  left: 0;
  right: 0;
  z-index: 299;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px calc(max(40px, (100vw - 1120px) / 2));
  transition: background .3s ease, padding .3s ease, border-bottom .3s ease;
}

nav.scrolled {
  background: rgba(10, 8, 4, .96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  padding-top: 10px;
  padding-bottom: 10px;
}

.nav-logo {
  font-family: 'Anton', sans-serif;
  font-size: 22px;
  letter-spacing: 3px;
  color: var(--white);
  cursor: pointer;
  text-transform: uppercase;
  user-select: none;
}

.nav-logo span { color: var(--accent); }

.nav-links {
  display: flex;
  gap: 36px;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  transition: color .2s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 1.5px;
  background: var(--accent);
  transition: width .3s ease;
}

.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--white); }
.nav-links a.active::after { width: 100%; }

.nav-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-socials {
  display: flex;
  gap: 14px;
  align-items: center;
}

.nav-social-link {
  color: #555;
  text-decoration: none;
  display: flex;
  align-items: center;
  transition: color .2s ease, transform .2s ease;
}

.nav-social-link:hover {
  color: var(--accent);
  transform: translateY(-2px);
}

.nav-cta {
  padding: 9px 22px;
  border-radius: 999px;
  border: 1.5px solid var(--accent);
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  background: transparent;
  transition: background .25s ease, color .25s ease, box-shadow .25s ease, transform .2s ease;
}

.nav-cta:hover {
  background: var(--accent);
  color: var(--black);
  box-shadow: 0 0 22px var(--shadow-accent);
  transform: scale(1.04);
}

/* ── Hamburger ── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 310;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
}

.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 Nav Drawer ── */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: rgba(10, 8, 4, .99);
  z-index: 298;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  transform: translateX(100%);
  transition: transform .45s cubic-bezier(.23, 1, .32, 1);
}

.mobile-nav.open { transform: translateX(0); }

.mobile-nav a {
  color: var(--white);
  text-decoration: none;
  font-family: 'Anton', sans-serif;
  font-size: 40px;
  letter-spacing: 3px;
  text-transform: uppercase;
  transition: color .2s ease;
}

.mobile-nav a:hover { color: var(--accent); }

.mobile-nav-socials {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}

.mobile-nav-socials a {
  color: #666;
  text-decoration: none;
  font-size: 22px;
  transition: color .2s ease;
  display: flex;
  align-items: center;
}

.mobile-nav-socials a:hover { color: var(--accent); }

/* ============================================================
   HERO SECTION  — Perfectly centered layout
   ============================================================ */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 620px;
  max-height: 1080px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--black);
}

/* Subtle grid overlay */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 193, 7, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 193, 7, .04) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0;
  pointer-events: none;
}

/* Ambient orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  will-change: transform;
}

.orb-1 {
  width: 560px;
  height: 460px;
  background: radial-gradient(circle, rgba(255, 193, 7, .13) 0%, transparent 70%);
  top: -80px;
  left: -140px;
}

.orb-2 {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(255, 224, 130, .08) 0%, transparent 70%);
  bottom: -80px;
  right: -40px;
}

/* ── Hero Title — centered behind the character image ── */
.hero-title {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Anton', sans-serif;
  font-size: clamp(52px, 11vw, 160px);
  letter-spacing: 2px;
  text-align: center;
  white-space: nowrap;
  line-height: 1;
  user-select: none;
  opacity: 0;
  /* Push slightly up so the character stands in front of the lower half */
  margin-top: -30px;
}

/* Character / photo — centered, overlaps title */
.hero-char {
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: clamp(200px, 26vw, 420px);
  z-index: 10;
  opacity: 0;
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, .9));
  pointer-events: none;
}

/* Left description block */
.hero-desc {
  position: absolute;
  left: max(6%, calc(50% - 560px));
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  max-width: 190px;
  opacity: 0;
}

.hero-desc .accent-line {
  display: block;
  width: 32px;
  height: 2.5px;
  background: var(--accent);
  border-radius: 2px;
  margin-bottom: 16px;
}

.hero-desc p {
  font-size: clamp(11px, 1.1vw, 14px);
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  line-height: 1.7;
  color: #aaa;
}

/* Right stats block */
.hero-stats {
  position: absolute;
  right: max(5.5%, calc(50% - 560px));
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 28px;
  opacity: 0;
}

.stat { text-align: right; }

.stat-num {
  font-family: 'Anton', sans-serif;
  font-size: clamp(20px, 2.4vw, 32px);
  letter-spacing: .5px;
  line-height: 1;
}

.stat-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 5px;
  white-space: nowrap;
}

/* Bottom left tagline */
.hey-text {
  position: absolute;
  bottom: 52px;
  left: max(6%, calc(50% - 560px));
  transform: none;
  z-index: 11;
  font-family: 'Inter', sans-serif;
  font-size: clamp(11px, 1.2vw, 15px);
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  opacity: 0;
  white-space: nowrap;
  color: #aaa;
}

.hey-text span { color: var(--accent); }

/* Bottom right CTA */
.contact-btn {
  position: absolute;
  bottom: 40px;
  right: max(6%, calc(50% - 560px));
  z-index: 11;
  padding: 14px 34px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-indent: 2.5px; /* Optically centers letter-spaced text */
  text-transform: uppercase;
  color: #111;
  background: linear-gradient(135deg, var(--accent2), var(--accent));
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), inset 0 2px 2px rgba(255, 255, 255, 0.6);
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  opacity: 0;
}

.contact-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6), inset 0 2px 2px rgba(255, 255, 255, 0.8);
  background: linear-gradient(135deg, #fff3c4, var(--accent));
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 12;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
}

.scroll-indicator span {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #555;
}

.scroll-line {
  width: 1.5px;
  height: 44px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
  border-radius: 2px;
}

@keyframes scrollPulse {
  0%, 100% { opacity: .25; transform: scaleY(1); transform-origin: top; }
  50%       { opacity: 1;   transform: scaleY(.55); transform-origin: top; }
}

/* ============================================================

/* ============================================================
   MARQUEE — Two-row premium design
   ============================================================ */

.marquee-section {
  overflow: hidden;
  border-top: 1px solid rgba(255, 193, 7, 0.15);
  border-bottom: 1px solid rgba(255, 193, 7, 0.15);
  background: linear-gradient(90deg, rgba(0,0,0,0.4) 0%, rgba(20,18,14,0.6) 50%, rgba(0,0,0,0.4) 100%);
  position: relative;
  z-index: 10;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
  line-height: 0;
}

.marquee-row {
  overflow: hidden;
  max-width: 1200px;
  margin: 0 auto;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.marquee-scrollable {
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
}

.marquee-scrollable::-webkit-scrollbar {
  display: none;
}

.marquee-scrollable:active {
  cursor: grabbing;
}

.marquee-row:first-child {
  background: transparent;
  border-bottom: 1px solid rgba(255, 193, 7, 0.05);
  padding: 17px 0;
}

.marquee-row--dark {
  background: transparent;
  padding: 25px 0;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeLeft 22s linear infinite;
  will-change: transform;
}

.marquee-track--reverse {
  animation: marqueeRight 20s linear infinite;
}

.marquee-section:hover .marquee-track,
.marquee-section:hover .marquee-track--reverse {
  animation-play-state: paused;
}

.marquee-item {
  font-family: 'Anton', sans-serif;
  font-size: clamp(13px, 1.6vw, 16px);
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--black);
  white-space: nowrap;
  padding: 0 28px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  line-height: 1;
}

.marquee-item::after {
  content: '\25C6';
  font-size: .5em;
  color: var(--accent3);
  opacity: .5;
  flex-shrink: 0;
  letter-spacing: 0;
}

.marquee-item.mq-gold {
  color: var(--accent2);
}

.marquee-item.mq-gold::after {
  color: var(--accent);
  opacity: .4;
}

@keyframes marqueeLeft {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@keyframes marqueeRight {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}

/* ============================================================
   SHARED SECTION STYLES
   ============================================================ */
section {
  padding: 110px 0;
}

.section-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-label::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  flex-shrink: 0;
}

.section-title {
  font-family: 'Anton', sans-serif;
  font-size: clamp(36px, 6vw, 84px);
  letter-spacing: 1px;
  line-height: .92;
  margin-bottom: 52px;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
#about {
  background: var(--black);
  position: relative;
  overflow: hidden;
}

#about::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(800px 420px at 75% 10%, rgba(255, 193, 7, .06), transparent 62%),
    radial-gradient(700px 380px at 10% 80%, rgba(255, 224, 130, .04), transparent 65%);
  opacity: .7;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 60px;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 1;
}

.about-content {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  margin-top: 0;
}

.about-content .section-title {
  margin-bottom: 36px;
}

.about-content .about-body {
  margin-bottom: 4px;
}

.about-body {
  font-size: clamp(15px, 1.5vw, 18px);
  font-weight: 400;
  line-height: 1.9;
  color: #bdb8ad;
  max-width: 760px;
}

.about-body strong { color: var(--white); font-weight: 700; }

.about-highlights {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 760px;
  align-items: stretch;
}

.highlight-item {
  border: 1px solid rgba(255, 193, 7, .20);
  border-radius: 12px;
  background: rgba(18, 15, 10, 0.8);
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.highlight-label {
  display: block;
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.highlight-value {
  display: block;
  color: #e0ddd6;
  font-size: 13px;
  line-height: 1.5;
}

.about-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
  max-width: 760px;
}

.tool-tag {
  padding: 8px 15px;
  border-radius: 999px;
  border: 1px solid rgba(255, 193, 7, .22);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: #b5b0a5;
  background: rgba(255, 255, 255, .02);
  transition: var(--transition);
  cursor: default;
}

.tool-tag:hover {
  border-color: var(--accent);
  color: #fff3c8;
  background: rgba(255, 193, 7, .12);
  transform: translateY(-1px);
}

.language-box {
  margin-top: 28px;
  padding: 24px;
  border: 1px solid rgba(255, 193, 7, .2);
  background: rgba(18, 15, 10, 0.8);
  border-radius: 12px;
  width: 100%;
  max-width: 760px;
}

.language-box h4 {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 6px;
  color: var(--accent);
}

.language-box p {
  font-size: 14px;
  color: #b3aea2;
  line-height: 1.6;
}

.language-box p strong {
  color: var(--white);
}

/* ── About side card ── */
.about-card {
  position: relative;
  background: 
    linear-gradient(180deg, rgba(14, 12, 7, 0.45) 0%, rgba(10, 8, 4, 0.85) 100%),
    url('hero.png') center 22% / cover no-repeat;
  border: 1px solid rgba(255, 193, 7, .2);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(0, 0, 0, .58), 0 0 0 1px rgba(255, 193, 7, .08) inset;
  margin-top: -6px;
}

.about-card-top {
  padding: 32px 26px;
  border-bottom: 1px solid rgba(255, 193, 7, .15);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
}

.avatar-circle {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 22%;
  border: 2px solid rgba(255, 193, 7, .85);
  box-shadow: 0 0 0 6px rgba(255, 193, 7, .12), 0 14px 34px rgba(0, 0, 0, .55);
  flex-shrink: 0;
}

.card-name {
  font-family: 'Anton', sans-serif;
  font-size: 26px;
  color: var(--white);
  letter-spacing: 1.5px;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.8);
}

.card-role {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #a49a83;
  margin-top: 3px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.about-card-body { padding: 0; }

.info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 26px;
  border-bottom: 1px solid rgba(255, 193, 7, .11);
  transition: background .2s ease;
}
.info-row:last-child { border-bottom: none; }
.info-row:hover { background: rgba(255, 193, 7, .06); }

.info-key {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #968e7b;
}

.info-val {
  font-size: 12px;
  font-weight: 700;
  color: var(--white);
  text-align: right;
  max-width: 58%;
}

.info-val.gold { color: var(--accent); }

.about-card-footer {
  padding: 16px 26px;
  background: linear-gradient(135deg, rgba(255, 193, 7, .08), rgba(255,255,255,.01));
  border-top: 1px solid rgba(255, 193, 7, .16);
  display: flex;
  justify-content: center;
  align-items: center;
}

.avail-txt {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
}

.avail-txt span { color: var(--accent); }

/* ============================================================
   SOCIAL CONNECT SECTION
   ============================================================ */
.social-strip {
  background: var(--black);
  padding: 110px 0;
  position: relative;
  overflow: hidden;
}

.social-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(700px 400px at 20% 50%, rgba(255, 193, 7, .04), transparent 60%);
  opacity: .8;
}

.social-strip-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.social-strip .section-label { margin-bottom: 28px; }

.social-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.social-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 28px 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--black2);
  text-decoration: none;
  color: var(--white);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.social-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,193,7,.08), transparent);
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
}

.social-card:hover {
  border-color: var(--accent);
  transform: translateY(-7px) scale(1.02);
  box-shadow: 0 16px 44px rgba(255, 193, 7, .12);
}

.social-card:hover::after { opacity: 1; }
.social-card:hover .social-icon { color: var(--accent); transform: scale(1.15); }
.social-card:hover .social-name { color: var(--accent); }

.social-icon {
  font-size: 26px;
  position: relative;
  z-index: 1;
  transition: transform .3s ease, color .3s ease;
  color: #777;
  display: flex;
  align-items: center;
}

.social-name {
  font-family: 'Anton', sans-serif;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
  transition: color .3s ease;
}

.social-handle {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1px;
  color: #555;
  position: relative;
  z-index: 1;
  text-align: center;
}

/* ============================================================
   PROJECTS SECTION
   ============================================================ */
#projects {
  background: var(--black);
  position: relative;
  overflow: hidden;
  scroll-margin-top: 110px;
}

#projects::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(900px 500px at 80% 30%, rgba(255, 193, 7, .05), transparent 65%);
  opacity: .8;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 26px;
}

.post-card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(255,255,255,.02);
  overflow: hidden;
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}

.post-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 193, 7, .35);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .45);
}

.post-thumb {
  height: 170px;
  background: linear-gradient(135deg, #111, #0a0800);
  background-size: cover;
  background-position: center;
}

.post-body {
  padding: 16px 16px 18px;
}

.post-title {
  font-family: 'Anton', sans-serif;
  letter-spacing: 1px;
  font-size: 20px;
  line-height: 1.05;
}

.post-desc {
  margin-top: 10px;
  color: #9a9a9a;
  font-size: 13px;
  line-height: 1.6;
}

.post-meta {
  margin-top: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  color: #777;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .posts-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   ADMIN PANEL (Glassmorphism · neon-cyan)
   ============================================================ */
#admin {
  background: radial-gradient(1200px 500px at 50% 0%, rgba(0, 245, 255, .10), transparent 60%),
              linear-gradient(to bottom, var(--black), var(--black2));
  padding: 110px 0;
}

.admin-gradient {
  background: linear-gradient(135deg, #fff 0%, var(--neon2) 35%, var(--neon) 70%, #00a3ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.admin-shell {
  margin-top: 34px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(16, 14, 8, .55);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .55), 0 0 0 1px rgba(0, 245, 255, .06) inset;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
}

.admin-lock { padding: 28px; }

.admin-lock-title {
  font-family: 'Anton', sans-serif;
  letter-spacing: 2px;
  font-size: 22px;
}

.admin-lock-sub {
  margin-top: 8px;
  color: #9aa0a6;
  font-size: 13px;
  letter-spacing: .4px;
  line-height: 1.6;
}

.admin-lock-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  margin-top: 16px;
}

.admin-panel {
  display: none;
  padding: 28px;
}

.admin-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: 18px;
}

.admin-title {
  font-family: 'Anton', sans-serif;
  letter-spacing: 2px;
  font-size: 20px;
}

.admin-sub {
  margin-top: 6px;
  color: #9aa0a6;
  font-size: 12px;
  letter-spacing: .4px;
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.admin-card {
  padding: 18px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(10, 8, 4, .45);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .35);
}

.admin-card-title {
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 11px;
  color: rgba(255,255,255,.9);
  margin-bottom: 12px;
}

.admin-input {
  width: 100%;
  padding: 13px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  color: var(--white);
  outline: none;
  font-size: 13px;
  letter-spacing: .35px;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
  margin-bottom: 10px;
}

.admin-input::placeholder { color: rgba(255,255,255,.35); }

.admin-input:focus {
  border-color: rgba(0, 245, 255, .55);
  box-shadow: 0 0 0 3px rgba(0, 245, 255, .12);
  background: rgba(0, 245, 255, .03);
}

.admin-textarea {
  min-height: 120px;
  resize: vertical;
}

.admin-btn {
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid rgba(0, 245, 255, .55);
  background: linear-gradient(135deg, rgba(0,245,255,.22), rgba(0,163,255,.10));
  color: rgba(255,255,255,.95);
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 11px;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  box-shadow: 0 0 0 1px rgba(0,245,255,.08) inset, 0 14px 40px rgba(0,0,0,.35);
}

.admin-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(0,245,255,.14) inset, 0 18px 48px rgba(0,0,0,.45);
  border-color: rgba(0, 245, 255, .9);
}

.admin-btn:disabled { opacity: .65; cursor: not-allowed; transform: none; }

.admin-btn--ghost {
  background: rgba(255,255,255,.03);
  border-color: rgba(255,255,255,.14);
}

.admin-alert {
  display: none;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  margin-top: 10px;
}

.admin-alert--success {
  border: 1px solid rgba(34, 197, 94, .35);
  background: rgba(34, 197, 94, .08);
  color: #4ade80;
}

.admin-alert--error {
  border: 1px solid rgba(239, 68, 68, .35);
  background: rgba(239, 68, 68, .08);
  color: #f87171;
}

@media (max-width: 900px) {
  #admin { padding: 90px 0; }
  .admin-grid { grid-template-columns: 1fr; }
  .admin-lock-row { grid-template-columns: 1fr; }
}

/* ── Admin Dashboard layout (premium) ─────────────────────── */
.admin-app {
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: 640px;
  position: relative;
}

.admin-app::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(800px 500px at 70% 10%, rgba(0,245,255,.10), transparent 60%),
    radial-gradient(700px 420px at 20% 70%, rgba(0,163,255,.08), transparent 55%),
    repeating-linear-gradient(0deg, rgba(255,255,255,.035) 0 1px, transparent 1px 28px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.03) 0 1px, transparent 1px 28px);
  mix-blend-mode: screen;
  opacity: .35;
}

.admin-sidebar {
  position: relative;
  z-index: 2;
  padding: 22px 18px;
  border-right: 1px solid rgba(255,255,255,.08);
  background: rgba(10, 8, 4, .42);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.admin-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 10px 16px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: 14px;
}

.admin-brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: radial-gradient(circle at 30% 30%, rgba(0,245,255,.55), rgba(0,163,255,.08)),
              linear-gradient(135deg, rgba(0,245,255,.18), rgba(255,255,255,.03));
  border: 1px solid rgba(0,245,255,.35);
  box-shadow: 0 0 0 1px rgba(0,245,255,.08) inset, 0 18px 50px rgba(0,0,0,.35);
}

.admin-brand-title {
  font-weight: 900;
  letter-spacing: 4px;
  font-size: 12px;
}

.admin-brand-domain {
  margin-top: 4px;
  font-size: 10px;
  letter-spacing: 2px;
  color: rgba(255,255,255,.55);
}

.admin-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
}

.admin-nav-item {
  width: 100%;
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  gap: 10px;
  border-radius: 14px;
  padding: 10px 12px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.82);
  cursor: pointer;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease, background .25s ease;
  text-align: left;
}

.admin-nav-item:hover {
  transform: translateY(-1px);
  border-color: rgba(0,245,255,.25);
  box-shadow: 0 0 0 1px rgba(0,245,255,.06) inset, 0 18px 50px rgba(0,0,0,.35);
  background: rgba(0,245,255,.05);
}

.admin-nav-item.is-active {
  border-color: rgba(0,245,255,.55);
  background: linear-gradient(135deg, rgba(0,245,255,.14), rgba(0,163,255,.06));
  box-shadow: 0 0 0 1px rgba(0,245,255,.10) inset, 0 18px 60px rgba(0,0,0,.45);
}

.admin-nav-item--danger {
  border-color: rgba(239,68,68,.24);
}
.admin-nav-item--danger:hover { border-color: rgba(239,68,68,.45); background: rgba(239,68,68,.06); }

.admin-nav-ic {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
}

.admin-nav-ic svg {
  width: 18px;
  height: 18px;
  fill: rgba(0,245,255,.90);
  filter: drop-shadow(0 0 10px rgba(0,245,255,.25));
}

.admin-nav-txt {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.admin-side-foot {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.08);
}

.admin-auth-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(0,245,255,.20);
  background: rgba(0,245,255,.06);
  color: rgba(255,255,255,.85);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 800;
}

.admin-auth-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--neon);
  box-shadow: 0 0 0 3px rgba(0,245,255,.10), 0 0 18px rgba(0,245,255,.35);
}

.admin-main {
  position: relative;
  z-index: 2;
  padding: 22px 22px 26px;
}

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 18px 60px rgba(0,0,0,.45);
}

.admin-h-title {
  font-family: 'Anton', sans-serif;
  font-size: 22px;
  letter-spacing: 2px;
}

.admin-h-sub {
  margin-top: 6px;
  font-size: 11px;
  letter-spacing: 1px;
  color: rgba(255,255,255,.62);
}

.admin-h-domain {
  color: rgba(0,245,255,.92);
  text-shadow: 0 0 12px rgba(0,245,255,.22);
}

.admin-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-user-label {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
}

.admin-user-name {
  font-weight: 900;
  letter-spacing: 1px;
}

.admin-avatar {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 900;
  letter-spacing: 1px;
  background: linear-gradient(135deg, rgba(0,245,255,.18), rgba(255,255,255,.03));
  border: 1px solid rgba(0,245,255,.30);
  box-shadow: 0 0 0 1px rgba(0,245,255,.08) inset, 0 16px 50px rgba(0,0,0,.45);
}

.admin-view { display: none; margin-top: 16px; }
.admin-view.is-active { display: block; }

.admin-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 14px;
}

.admin-kpi {
  position: relative;
  padding: 18px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  overflow: hidden;
  box-shadow: 0 18px 60px rgba(0,0,0,.45);
}

.admin-kpi-label {
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,.60);
  font-weight: 800;
}

.admin-kpi-value {
  margin-top: 10px;
  font-family: 'Anton', sans-serif;
  font-size: 44px;
  letter-spacing: 1px;
  line-height: 1;
  color: rgba(255,255,255,.95);
}

.admin-kpi-glow {
  position: absolute;
  inset: -40px -60px auto auto;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle at 30% 30%, rgba(0,245,255,.18), transparent 60%);
  pointer-events: none;
}

.admin-grid-2 {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 14px;
  margin-top: 14px;
}

.admin-surface {
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  box-shadow: 0 18px 60px rgba(0,0,0,.45);
  padding: 16px;
}

.admin-surface-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.admin-surface-title {
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 12px;
}

.admin-surface-sub {
  margin-top: 6px;
  color: rgba(255,255,255,.55);
  font-size: 11px;
  letter-spacing: .5px;
}

.admin-cta {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(0,245,255,.55);
  background: linear-gradient(135deg, rgba(0,245,255,.18), rgba(0,163,255,.08));
  color: rgba(255,255,255,.95);
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 11px;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  box-shadow: 0 0 0 1px rgba(0,245,255,.08) inset, 0 18px 55px rgba(0,0,0,.42);
  white-space: nowrap;
}

.admin-cta:hover { transform: translateY(-1px); border-color: rgba(0,245,255,.9); }
.admin-cta--ghost { background: rgba(255,255,255,.03); border-color: rgba(255,255,255,.14); }

.admin-table-head, .admin-row {
  display: grid;
  grid-template-columns: 1fr 120px 110px;
  gap: 12px;
  align-items: center;
}

.admin-table-head {
  padding: 10px 10px;
  border-radius: 12px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  color: rgba(255,255,255,.65);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 900;
}

.admin-table-body { margin-top: 10px; display: grid; gap: 8px; }

.admin-row {
  padding: 10px 10px;
  border-radius: 12px;
  background: rgba(255,255,255,.02);
  border: 1px solid rgba(255,255,255,.06);
}

.admin-row-title { font-weight: 800; letter-spacing: .2px; }
.admin-row-date { color: rgba(255,255,255,.55); font-size: 11px; }
.admin-row-status {
  justify-self: end;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 900;
  border: 1px solid rgba(0,245,255,.25);
  background: rgba(0,245,255,.08);
  color: rgba(0,245,255,.92);
}

.admin-feed { display: grid; gap: 10px; }
.admin-feed-item {
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.07);
  background: rgba(255,255,255,.02);
}
.admin-feed-msg { font-size: 12px; line-height: 1.55; color: rgba(255,255,255,.86); }
.admin-feed-meta { margin-top: 8px; font-size: 10px; letter-spacing: 1.5px; color: rgba(255,255,255,.55); text-transform: uppercase; }

.admin-form { display: grid; gap: 12px; }
.admin-field { display: grid; gap: 8px; }
.admin-label { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,.62); font-weight: 900; }

.admin-control {
  width: 100%;
  padding: 14px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.92);
  outline: none;
  font-size: 13px;
  letter-spacing: .35px;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.admin-control::placeholder { color: rgba(255,255,255,.35); }
.admin-control:focus {
  border-color: rgba(0,245,255,.55);
  box-shadow: 0 0 0 3px rgba(0,245,255,.12);
  background: rgba(0,245,255,.03);
}
.admin-control--textarea { min-height: 160px; resize: vertical; }

.admin-empty {
  padding: 14px 12px;
  border-radius: 14px;
  border: 1px dashed rgba(255,255,255,.12);
  color: rgba(255,255,255,.55);
  letter-spacing: 1px;
  font-size: 12px;
}

.admin-status-row { display: flex; align-items: center; gap: 12px; }
.admin-status-dot {
  width: 12px; height: 12px; border-radius: 999px;
  background: rgba(255,255,255,.18);
  box-shadow: 0 0 0 3px rgba(255,255,255,.06);
}
.admin-status-txt { font-weight: 800; letter-spacing: 1px; color: rgba(255,255,255,.8); }

.admin-settings-row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
.admin-settings-k { color: rgba(255,255,255,.55); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; font-weight: 900; }
.admin-settings-v { color: rgba(255,255,255,.88); font-weight: 900; letter-spacing: 1px; }

@media (max-width: 1100px) {
  .admin-app { grid-template-columns: 1fr; }
  .admin-sidebar { border-right: none; border-bottom: 1px solid rgba(255,255,255,.08); }
  .admin-kpis { grid-template-columns: 1fr; }
  .admin-grid-2 { grid-template-columns: 1fr; }
  .admin-table-head, .admin-row { grid-template-columns: 1fr 120px 100px; }
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(min(100%, 340px), 360px));
  justify-content: center;
  gap: 24px;
  perspective: 1200px;
  margin-top: 48px;
}

.project-card {
  position: relative;
  min-height: 470px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--black3);
  transform-style: preserve-3d;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 193, 7, .4);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
  z-index: 2;
}

.project-bg {
  position: absolute;
  inset: -12px;
  background: linear-gradient(135deg, #1f1a00, #0a0800);
  transition: transform .6s cubic-bezier(.23, 1, .32, 1);
  z-index: 1;
}

.project-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(360px 220px at 72% 22%, rgba(255, 193, 7, .24), transparent 65%),
    linear-gradient(to bottom, rgba(0, 0, 0, .08), rgba(0, 0, 0, .8));
}

.project-bg--portfolio {
  background:
    linear-gradient(135deg, rgba(255, 193, 7, .22), transparent 38%),
    linear-gradient(145deg, #181106, #050402 70%);
}

.project-bg--dashboard {
  background:
    linear-gradient(135deg, rgba(0, 245, 255, .14), transparent 36%),
    linear-gradient(145deg, #101513, #050402 70%);
}

.project-bg--ai {
  background:
    linear-gradient(135deg, rgba(255, 224, 130, .16), transparent 34%),
    linear-gradient(145deg, #17120a, #050402 70%);
}

.project-card:hover .project-bg { transform: scale(1.1); }

.project-preview {
  position: absolute;
  top: 22px;
  left: 22px;
  right: 22px;
  height: 236px;
  z-index: 4;
  border: 1px dashed rgba(255, 193, 7, .28);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255,255,255,.055), rgba(255,255,255,.015));
  box-shadow: 0 24px 60px rgba(0, 0, 0, .42), inset 0 1px 0 rgba(255,255,255,.08);
  overflow: hidden;
}

.project-preview::before {
  content: '';
  position: absolute;
  inset: 52px 18px 18px;
  background: radial-gradient(circle, rgba(255, 193, 7, .12), transparent 62%);
  filter: blur(24px);
}

.project-preview-img {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 34px;
  width: 100%;
  height: calc(100% - 34px);
  object-fit: cover;
  object-position: top center;
  opacity: 0;
  transform: scale(1);
  transition: opacity .35s ease, transform .55s cubic-bezier(.23, 1, .32, 1);
  z-index: 1;
}

.has-preview-image .project-preview {
  border-style: solid;
  border-color: rgba(255, 193, 7, .18);
}

.has-preview-image .project-preview::before {
  display: none;
}

.has-preview-image .project-preview-img {
  opacity: 1;
}

.has-preview-image:hover .project-preview-img {
  transform: scale(1.035);
}

.has-preview-image .preview-hero,
.has-preview-image .preview-lines,
.has-preview-image .preview-sidebar,
.has-preview-image .preview-chart,
.has-preview-image .preview-metrics,
.has-preview-image .preview-chat-bubble {
  display: none;
}

.has-preview-image .preview-browser {
  background: rgba(0, 0, 0, .58);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.preview-browser {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  height: 34px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(0, 0, 0, .24);
}

.preview-browser span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 193, 7, .72);
}

.preview-hero,
.preview-lines,
.preview-sidebar,
.preview-chart,
.preview-metrics,
.preview-chat-bubble {
  position: relative;
  z-index: 2;
}

.preview-hero {
  width: 48%;
  height: 54px;
  margin: 28px 0 0 22px;
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(255,255,255,.9), rgba(255, 193, 7, .75));
}

.preview-lines {
  display: grid;
  gap: 9px;
  width: 60%;
  margin: 18px 0 0 22px;
}

.preview-lines span,
.preview-metrics span {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.20);
}

.preview-lines span:nth-child(2) { width: 82%; }
.preview-lines span:nth-child(3) { width: 58%; background: rgba(255, 193, 7, .42); }

.preview-sidebar {
  position: absolute;
  left: 16px;
  top: 52px;
  width: 54px;
  bottom: 16px;
  border-radius: 10px;
  background: rgba(255,255,255,.09);
}

.preview-chart {
  position: absolute;
  left: 88px;
  right: 16px;
  top: 62px;
  height: 78px;
  border-radius: 12px;
  background:
    linear-gradient(135deg, transparent 52%, rgba(255, 193, 7, .55) 53% 56%, transparent 57%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.10) 0 1px, transparent 1px 36px),
    rgba(255,255,255,.045);
}

.preview-metrics {
  position: absolute;
  left: 88px;
  right: 16px;
  bottom: 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.preview-metrics span {
  height: 28px;
  border-radius: 8px;
  background: rgba(255, 193, 7, .18);
}

.preview-chat-bubble {
  height: 28px;
  border-radius: 999px;
  background: rgba(255,255,255,.16);
  margin-top: 24px;
}

.preview-chat-bubble--left {
  width: 58%;
  margin-left: 22px;
}

.preview-chat-bubble--right {
  width: 48%;
  margin-left: auto;
  margin-right: 22px;
  background: rgba(255, 193, 7, .58);
}

.preview-chat-bubble.short { width: 42%; }

.project-content {
  position: absolute;
  inset: 0;
  z-index: 5;
  padding: 278px 24px 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(to top, rgba(0, 0, 0, .98) 0%, rgba(0,0,0,.82) 43%, rgba(0,0,0,.22) 62%, transparent 78%);
}

.project-tag {
  display: inline-block;
  padding: 5px 12px;
  background: var(--accent);
  color: var(--black);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 14px;
  width: fit-content;
  border-radius: 4px;
}

.project-name {
  font-family: 'Anton', sans-serif;
  font-size: clamp(28px, 2.7vw, 34px);
  letter-spacing: 1px;
  line-height: .98;
  margin-bottom: 10px;
}

.project-desc {
  font-size: 12px;
  color: #999;
  letter-spacing: .4px;
  line-height: 1.55;
  max-width: 100%;
  transition: transform .4s ease, opacity .4s ease;
}

.project-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.project-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 193, 7, .7);
  background: var(--accent);
  color: var(--black);
  text-decoration: none;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease;
}

.project-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(255, 193, 7, .18);
}

.project-link--ghost {
  background: rgba(255,255,255,.04);
  color: var(--white);
  border-color: rgba(255,255,255,.16);
}

.project-link--disabled {
  cursor: default;
  background: rgba(255,255,255,.035);
  color: rgba(255,255,255,.42);
  border-color: rgba(255,255,255,.10);
}

.project-link--disabled:hover {
  transform: none;
  box-shadow: none;
}

/* ============================================================
   CERTIFICATIONS SECTION
   ============================================================ */
#certifications {
  position: relative;
  overflow: hidden;
  scroll-margin-top: 110px;
  padding-top: 86px;
}

#certifications::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: var(--black);
  background-size: 84px 84px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.75), transparent 70%);
}

.certifications-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  margin-top: 56px;
}

.certificate-card {
  position: relative;
  min-height: 470px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 193, 7, .18);
  overflow: hidden;
  background:
    linear-gradient(155deg, rgba(255, 193, 7, .13), transparent 30%),
    linear-gradient(to bottom, rgba(255,255,255,.035), rgba(255,255,255,.01)),
    var(--black3);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 18px 55px rgba(0, 0, 0, .26);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
  contain: paint;
}

.certificate-card:not(.certificate-card--ready) .certificate-image {
  transform: translateZ(0) scale(1.001);
}

.certificate-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  background:
    radial-gradient(360px 220px at 78% 12%, rgba(255, 193, 7, .16), transparent 66%),
    linear-gradient(to bottom, transparent 30%, rgba(0, 0, 0, .76));
  opacity: .9;
}

.certificate-card:hover {
  transform: translate3d(0, -7px, 0);
  border-color: rgba(255, 193, 7, .52);
  box-shadow: 0 20px 56px rgba(0, 0, 0, .48), 0 0 0 1px rgba(255, 193, 7, .08);
}

.certificate-preview {
  position: relative;
  z-index: 2;
  height: 218px;
  margin: 28px 28px 0;
  border: 1px solid rgba(255, 193, 7, .24);
  border-radius: 12px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 193, 7, .16), transparent 56%),
    rgba(255,255,255,.04);
  box-shadow: 0 20px 48px rgba(0, 0, 0, .4), inset 0 1px 0 rgba(255,255,255,.10);
  display: grid;
  place-items: center;
  overflow: hidden;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.certificate-preview::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 46%;
  background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, .62));
  pointer-events: none;
}

.certificate-preview--missing::after {
  content: 'Preview coming soon';
  inset: 0;
  height: auto;
  display: grid;
  place-items: center;
  color: rgba(255,255,255,.5);
  background: rgba(0,0,0,.18);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.certificate-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 11px;
  transform: translateZ(0) scale(1);
  transition: transform .55s cubic-bezier(.23, 1, .32, 1);
  will-change: transform;
  backface-visibility: hidden;
}

.certificate-card:hover .certificate-image {
  transform: translateZ(0) scale(1.02);
}

.certificate-content {
  position: absolute;
  inset: auto 0 0;
  z-index: 3;
  padding: 86px 28px 28px;
  background: linear-gradient(to top, rgba(0, 0, 0, .98) 0%, rgba(0,0,0,.9) 62%, transparent 100%);
}

.certificate-card .project-tag {
  margin-bottom: 12px;
}

.certificate-card .project-name {
  font-size: clamp(28px, 2.45vw, 38px);
  line-height: .94;
  margin-bottom: 10px;
}

.certificate-card .project-desc:empty {
  display: none;
}

.certificate-meta {
  display: grid;
  gap: 6px;
  margin-top: 14px;
  color: rgba(255,255,255,.52);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

.certifications-actions {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

.certifications-more-btn {
  min-height: 48px;
  padding: 0 28px;
  border-radius: 999px;
  border: 1px solid rgba(255, 193, 7, .8);
  background: var(--accent);
  color: var(--black);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 18px 40px rgba(255, 193, 7, .16);
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}

.certifications-more-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 48px rgba(255, 193, 7, .23);
}

.certifications-more-btn[hidden] {
  display: none;
}

@media (max-width: 1100px) {
  .certifications-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  #certifications {
    padding-top: 58px;
  }

  .certifications-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 34px;
  }

  .certificate-card {
    min-height: 398px;
    border-radius: 14px;
  }

  .certificate-preview {
    height: 176px;
    margin: 18px 18px 0;
  }

  .certificate-content {
    padding: 68px 18px 20px;
  }

  .certificate-card .project-name {
    font-size: clamp(27px, 10vw, 38px);
  }

  .certificate-meta {
    margin-top: 12px;
    font-size: 9px;
  }

  .certificate-card .project-actions {
    margin-top: 16px;
  }

  .certifications-actions {
    margin-top: 28px;
  }
}

.project-arrow {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 10;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--white);
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 900;
  opacity: 0;
  transform: translate(-8px, 8px);
  transition: all .35s cubic-bezier(.23, 1, .32, 1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, .4);
}

.project-card:hover .project-arrow {
  opacity: 1;
  transform: translate(0, 0);
}

/* ============================================================
   CONTACT SECTION  — Two-column premium layout
   ============================================================ */
#contact {
  background: var(--black);
  padding: 120px 0;
  position: relative;
  overflow: hidden;
  display: block;
}

#contact::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 500px at 80% 50%, rgba(255, 193, 7, .055), transparent 60%),
    radial-gradient(600px 400px at 10% 20%, rgba(255, 193, 7, .03), transparent 60%);
}

/* Decorative grid lines */
#contact::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 193, 7, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 193, 7, .025) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: .6;
}

.contact-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 60px;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1.4fr; /* Adjusted for better balance */
  gap: 80px;
  align-items: center;
}

/* ── Left panel: headline ── */
.contact-left {
  display: flex;
  flex-direction: column;
  min-width: 0;
  align-self: center;
}

.contact-inner .section-label {
  justify-content: flex-start;
  margin-bottom: 20px;
}

.contact-big {
  font-family: 'Anton', sans-serif;
  font-size: clamp(60px, 8vw, 120px); /* Slightly larger for impact */
  letter-spacing: 2px;
  line-height: 1.1;
  margin-bottom: 22px;
}

.contact-sub {
  font-size: 15px;
  font-weight: 400;
  color: #7a7570;
  letter-spacing: .3px;
  line-height: 1.8;
  margin-bottom: 0; /* Removed margin-bottom since nothing is below it now */
  max-width: 420px; /* Wider text for better flow */
}

/* Quick contact info cards */
.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 16px;
  border-radius: 10px;
  border: 1px solid rgba(255, 193, 7, .1);
  background: rgba(255, 193, 7, .02);
  transition: border-color .25s ease, background .25s ease, transform .25s ease;
  text-decoration: none;
  color: var(--white);
}

.contact-info-item:hover {
  border-color: rgba(255, 193, 7, .28);
  background: rgba(255, 193, 7, .05);
  transform: translateX(4px);
}

.contact-info-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 193, 7, .09);
  border: 1px solid rgba(255, 193, 7, .18);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
}

.contact-info-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-info-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #555;
}

.contact-info-value {
  font-size: 12px;
  font-weight: 500;
  color: #c8c3bb;
  letter-spacing: .2px;
}

/* Availability badge */
.contact-avail {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(74, 222, 128, .2);
  background: rgba(74, 222, 128, .05);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #4ade80;
  width: fit-content;
}

.avail-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, .5);
  animation: pulse-avail 2s ease infinite;
  flex-shrink: 0;
}

@keyframes pulse-avail {
  0%   { box-shadow: 0 0 0 0   rgba(74, 222, 128, .55); }
  70%  { box-shadow: 0 0 0 7px rgba(74, 222, 128, 0);   }
  100% { box-shadow: 0 0 0 0   rgba(74, 222, 128, 0);   }
}

/* ── Right panel: the form ── */
.contact-right {
  position: relative;
  min-width: 0;
  align-self: center;
}

/* ── Contact Form ── */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
  background: linear-gradient(160deg, rgba(22, 18, 10, 0.92), rgba(12, 10, 6, 0.97));
  border: 1px solid rgba(255, 193, 7, .16);
  border-radius: 20px;
  padding: 36px;
  box-shadow:
    0 32px 80px rgba(0, 0, 0, .65),
    inset 0 1px 0 rgba(255, 193, 7, .12),
    inset 0 -1px 0 rgba(0, 0, 0, .4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Form header inside the card */
.form-header {
  margin-bottom: 6px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 193, 7, .1);
}

.form-header-title {
  font-family: 'Anton', sans-serif;
  font-size: 20px;
  letter-spacing: 1.5px;
  color: var(--white);
}

.form-header-sub {
  font-size: 12px;
  color: #666;
  margin-top: 4px;
  letter-spacing: .3px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* Input wrapper with floating label effect */
.form-field {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #555;
  transition: color .2s ease;
}

.form-field:focus-within .form-label {
  color: var(--accent);
}

.form-input {
  width: 100%;
  padding: 13px 16px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 10px;
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: .3px;
  outline: none;
  transition: all .25s cubic-bezier(.23, 1, .32, 1);
}

.form-input::placeholder {
  color: #3a3832;
  font-weight: 400;
}

.form-input:hover {
  border-color: rgba(255, 193, 7, .18);
  background: rgba(255, 255, 255, .035);
}

.form-input:focus {
  border-color: rgba(255, 193, 7, .55);
  background: rgba(255, 193, 7, .035);
  box-shadow: 0 0 0 3px rgba(255, 193, 7, .08), inset 0 1px 4px rgba(0, 0, 0, .25);
}

textarea.form-input {
  resize: vertical;
  min-height: 110px;
  line-height: 1.6;
}

/* Phone Input Group */
.phone-input-wrapper {
  display: flex;
  gap: 8px;
}
.country-select {
  flex: 0 0 92px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  padding-left: 14px;
  padding-right: 24px;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23FFC107%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 8px auto;
  font-weight: 400;
  color: #a09f9c;
}
.country-select:focus, .country-select:active {
  color: var(--white);
}
.country-select option {
  background-color: var(--black2);
  color: var(--white);
  font-weight: 500;
  padding: 10px;
}
.phone-main {
  flex: 1;
}

/* Submit button */
.form-submit {
  width: 100%;
  padding: 16px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 3px;
  text-indent: 3px;
  text-transform: uppercase;
  color: #111;
  background: linear-gradient(135deg, var(--accent2) 0%, var(--accent) 50%, var(--accent3) 100%);
  background-size: 200% 200%;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .5);
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  margin-top: 4px;
  position: relative;
  overflow: hidden;
}

.form-submit::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.25), transparent);
  transition: left .55s ease;
}

.form-submit:hover::after {
  left: 100%;
}

.form-submit:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 12px 30px rgba(255, 193, 7, .25), inset 0 1px 0 rgba(255, 255, 255, .7);
  background: linear-gradient(135deg, #fff3c4 0%, var(--accent) 60%);
}

.form-submit:active {
  transform: translateY(0) scale(.99);
}

.form-submit:disabled {
  opacity: .65;
  cursor: not-allowed;
  transform: none;
}

/* Success / Error banners */
.form-success {
  display: none;
  padding: 14px 18px;
  background: rgba(255, 193, 7, .07);
  border: 1px solid rgba(255, 193, 7, .25);
  border-radius: 10px;
  color: #FFC107;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-align: center;
}

.form-error {
  display: none;
  padding: 14px 18px;
  background: rgba(239, 68, 68, .07);
  border: 1px solid rgba(239, 68, 68, .25);
  border-radius: 10px;
  color: #ef4444;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-align: center;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  padding: 28px 0;
  background: var(--black);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
}

.footer-inner {
  width: 100%;
  max-width: 1200px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 0 40px;
}

.footer-copy {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #555;
}

.footer-copy span { color: var(--white); }

.footer-socials {
  display: flex;
  gap: 16px;
  align-items: center;
}

.footer-social {
  color: #555;
  text-decoration: none;
  display: flex;
  align-items: center;
  transition: color .2s ease, transform .2s ease;
}

.footer-social:hover {
  color: var(--accent);
  transform: translateY(-2px);
}

.footer-logo {
  font-family: 'Anton', sans-serif;
  font-size: 18px;
  letter-spacing: 3px;
  color: var(--white);
}

.footer-logo span { color: var(--accent); }

/* ============================================================
   REVEAL ANIMATION BASE STATES
   (GSAP will animate these in)
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(36px);
}

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */

/* ── Large desktop adjustments ── */
@media (min-width: 1400px) {
  .social-cards { grid-template-columns: repeat(6, 1fr); }
}

/* ── Mid-size ── */
@media (max-width: 1100px) {
  .about-grid { grid-template-columns: 1fr; gap: 48px; padding: 0 30px; }
  .about-card { max-width: 460px; }
  .about-card { width: 100%; }
  .about-highlights { grid-template-columns: 1fr; }
  .social-cards { grid-template-columns: repeat(3, 1fr); }
  .social-strip-inner { padding: 0 30px; }
  .projects-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ── Tablet ── */
@media (max-width: 900px) {
  .projects-grid { grid-template-columns: 1fr; }

  .social-cards { grid-template-columns: repeat(4, 1fr); }

  .hero-stats { display: none; }

  /* Contact: stack single column on tablet */
  .contact-inner { grid-template-columns: 1fr; gap: 52px; }
  .contact-sub { max-width: 100%; }
}

/* ── Mobile & Tablet ── */
@media (max-width: 768px) {
  /* Disable custom cursor */
  body { cursor: auto; }
  .cursor, .cursor-follower { display: none !important; }

  /* Nav */
  .nav-links { display: none; }
  .nav-socials { display: none; }
  .nav-cta { display: none; }
  .hamburger { display: flex; }

  /* Mobile hero — flow layout instead of absolute positioning */
  .hero {
    height: auto;
    min-height: 100svh;
    max-height: none;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 96px;
    padding-bottom: 40px;
    gap: 0;
  }

  .hero-desc {
    position: relative;
    left: auto; top: auto;
    transform: none;
    text-align: center;
    max-width: 88%;
    margin-bottom: 8px;
  }

  .hero-desc .accent-line { margin: 0 auto 14px; }

  .hero-title {
    display: none;
  }

  .hero-char {
    position: relative;
    bottom: auto; left: auto;
    transform: none;
    display: block;
    margin-top: 100px;
    width: clamp(180px, 68vw, 310px);
  }

  .hey-text {
    position: relative;
    bottom: auto; left: auto;
    transform: none;
    font-size: clamp(11px, 3.2vw, 15px);
    text-align: center;
    margin-top: 12px;
  }

  .contact-btn {
    position: relative;
    bottom: auto; right: auto;
    margin-top: 20px;
    display: block;
    width: fit-content;
    margin-inline: auto;
  }

  .scroll-indicator { display: none; }

  .hero-stats { display: none; }

  /* Sections */
  section { padding: 70px 0; }
  .section-title { font-size: clamp(30px, 9vw, 58px); }
  .about-grid { padding: 0 20px; }
  .social-strip-inner { padding: 0 20px; }
  .container { padding: 0 20px; }

  /* Project cards */
  .project-card { min-height: 500px; }
  .project-preview { height: 236px; left: 16px; right: 16px; top: 16px; }
  .project-arrow { opacity: 1; transform: translate(0, 0); width: 36px; height: 36px; font-size: 15px; top: 14px; right: 14px; }
  .project-desc { opacity: 1; transform: translateY(0); }
  .project-content { padding: 278px 18px 20px; }

  /* Social cards */
  .social-cards { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .social-strip { padding: 70px 0; }

  /* Contact */
  #contact { min-height: auto; padding: 80px 20px; }
  .contact-inner { padding: 0 20px; grid-template-columns: 1fr; gap: 40px; }
  .contact-big { font-size: clamp(48px, 14vw, 90px); }
  .contact-form { padding: 24px 20px; }
  .form-row { grid-template-columns: 1fr; gap: 10px; }

  /* Footer */
  footer {
    padding: 24px 0;
  }
  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 14px;
    justify-content: center;
  }
  .footer-socials { justify-content: center; }
}

/* ── Small phones ── */
@media (max-width: 480px) {
  .hero-title { font-size: clamp(44px, 15.5vw, 80px); }
  nav { padding: 12px 5%; }
  .topbar { font-size: 9px; letter-spacing: 2px; }
  section { padding: 56px 0; }
  .about-grid { padding: 0 16px; }
  .social-strip-inner { padding: 0 16px; }
  .container { padding: 0 16px; }
  #contact { padding: 70px 16px; }
  .social-cards { gap: 8px; }
  .social-card { padding: 20px 12px; }
  .contact-big { font-size: clamp(40px, 13vw, 72px); }
}

/* ── Very small phones ── */
@media (max-width: 360px) {
  .hero-title { font-size: 36px; }
  .contact-form { gap: 10px; }
  .form-row { grid-template-columns: 1fr; }
}
