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

:root {
  --primary: #6c63ff;
  --primary-light: #8b83ff;
  --secondary: #00d4aa;
  --accent: #ff6584;
  --dark: #0a0a1a;
  --dark-2: #12122a;
  --dark-3: #1a1a3e;
  --text: #e0e0ff;
  --text-muted: #8888aa;
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --gradient-1: linear-gradient(135deg, #6c63ff, #00d4aa);
  --gradient-2: linear-gradient(135deg, #ff6584, #6c63ff);
  --gradient-3: linear-gradient(135deg, #00d4aa, #6c63ff, #ff6584);
}

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--primary) var(--dark);
  overflow-x: hidden;
}

html::-webkit-scrollbar {
  width: 8px;
}

html::-webkit-scrollbar-track {
  background: var(--dark);
}

html::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 10px;
}

body {
  font-family: "Poppins", sans-serif;
  background: var(--dark);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 60px;
  width: 100%;
}

@media (min-width: 1600px) {
  .container {
    max-width: 1600px;
    padding: 0 60px;
  }
}

@media (min-width: 1920px) {
  .container {
    max-width: 1750px;
    padding: 0 40px;
  }
}

@media (max-width: 1024px) {
  .container {
    padding: 0 40px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
}

.section {
  padding: 100px 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 10px;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 500px;
  margin: 0 auto;
}

.section-header .line {
  width: 60px;
  height: 4px;
  background: var(--gradient-1);
  margin: 15px auto 0;
  border-radius: 2px;
}

/* ===== CURSOR ===== */
.cursor {
  width: 20px;
  height: 20px;
  border: 2px solid var(--primary);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 10001;
  transition:
    transform 0.15s ease,
    background 0.15s ease;
  transform: translate(-50%, -50%);
}

.cursor.active {
  transform: translate(-50%, -50%) scale(2);
  background: rgba(108, 99, 255, 0.2);
}

.cursor-dot {
  width: 5px;
  height: 5px;
  background: var(--primary);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 10001;
  transform: translate(-50%, -50%);
}

/* ===== LOADER ===== */
.loader-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  transition:
    opacity 0.5s ease,
    visibility 0.5s ease;
}

.loader-wrapper.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader {
  position: relative;
  width: 80px;
  height: 80px;
}

.loader::before,
.loader::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  animation: loaderPulse 2s ease-in-out infinite;
}

.loader::before {
  width: 80px;
  height: 80px;
  background: var(--gradient-1);
}

.loader::after {
  width: 80px;
  height: 80px;
  background: var(--gradient-2);
  animation-delay: 1s;
}

@keyframes loaderPulse {
  0%,
  100% {
    transform: scale(0);
    opacity: 1;
  }

  50% {
    transform: scale(1);
    opacity: 0;
  }
}

/* ===== PARTICLES ===== */
#particles-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 0;
  z-index: 1000;
  transition: all 0.4s ease;
}

.navbar.scrolled {
  padding: 12px 0;
  background: rgba(10, 10, 26, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.8rem;
  font-weight: 800;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -1px;
}

.logo span {
  color: var(--accent);
  -webkit-text-fill-color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 35px;
}

.nav-links a {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-1);
  transition: width 0.3s ease;
  border-radius: 2px;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-btn {
  padding: 10px 25px;
  background: var(--gradient-1);
  border: none;
  border-radius: 50px;
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  font-family: "Poppins", sans-serif;
}

.nav-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(108, 99, 255, 0.4);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  width: 28px;
  height: 2.5px;
  background: var(--text);
  border-radius: 5px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  max-width: 100vw;
}

.hero::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(108, 99, 255, 0.15),
    transparent 70%
  );
  top: -100px;
  right: -100px;
  border-radius: 50%;
}

.hero::after {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 212, 170, 0.1), transparent 70%);
  bottom: -100px;
  left: -100px;
  border-radius: 50%;
}

.hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  position: relative;
  z-index: 1;
  max-width: 100%;
}

.hero-content {
  flex: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--secondary);
  margin-bottom: 25px;
  backdrop-filter: blur(10px);
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--secondary);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(1.5);
  }
}

.hero h1 {
  font-size: 3.8rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 10px;
}

.hero h1 .greeting {
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--text-muted);
  display: block;
  margin-bottom: 5px;
}

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

.hero .role {
  font-size: 1.5rem;
  color: var(--text-muted);
  font-weight: 300;
  margin-bottom: 20px;
}

.typewriter {
  color: var(--secondary);
  font-weight: 600;
  border-right: 2px solid var(--secondary);
  padding-right: 5px;
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  50% {
    border-color: transparent;
  }
}

.hero p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 500px;
  margin-bottom: 35px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  margin-bottom: 40px;
}

.btn-primary {
  padding: 15px 35px;
  background: var(--gradient-1);
  border: none;
  border-radius: 50px;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Poppins", sans-serif;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(108, 99, 255, 0.4);
}

.btn-outline {
  padding: 15px 35px;
  background: transparent;
  border: 2px solid var(--glass-border);
  border-radius: 50px;
  color: var(--text);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Poppins", sans-serif;
}

.btn-outline:hover {
  border-color: var(--primary);
  background: rgba(108, 99, 255, 0.1);
  transform: translateY(-3px);
}

.hero-socials {
  display: flex;
  gap: 15px;
}

.hero-socials a {
  width: 45px;
  height: 45px;
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all 0.3s ease;
  background: var(--glass-bg);
}

.hero-socials a:hover {
  color: var(--primary);
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(108, 99, 255, 0.2);
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  max-width: 100%;
}

/* ===== PHONE SCENE ===== */
.phone-scene {
  position: relative;
  width: 560px;
  max-width: 100%;
  height: 580px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== PHONE MOCKUP ===== */
.phone-mockup {
  width: 260px;
  height: 520px;
  background: #0d1117;
  border-radius: 40px;
  border: 3px solid #2a2a4a;
  position: relative;
  z-index: 3;
  overflow: hidden;
  box-shadow:
    0 0 0 2px #1a1a35,
    0 30px 80px rgba(0, 0, 0, 0.6),
    0 0 50px rgba(108, 99, 255, 0.1),
    inset 0 0 30px rgba(0, 0, 0, 0.3);
  animation: phoneFloat 6s ease-in-out infinite;
  transition: transform 0.3s ease;
}

.phone-mockup:hover {
  transform: translateY(-10px) rotateY(-2deg) rotateX(2deg);
  box-shadow:
    0 0 0 2px #1a1a35,
    0 40px 90px rgba(0, 0, 0, 0.7),
    0 0 80px rgba(108, 99, 255, 0.2),
    inset 0 0 30px rgba(0, 0, 0, 0.3);
}

@keyframes phoneFloat {
  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-15px);
  }
}

.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 28px;
  background: #0d1117;
  border-radius: 0 0 18px 18px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.notch-cam {
  width: 10px;
  height: 10px;
  background: #1a1a35;
  border-radius: 50%;
  border: 1px solid #2a2a4a;
  box-shadow: inset 0 0 3px rgba(108, 99, 255, 0.3);
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #0f0f23, #0a0a1a);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* ===== FINANCE APP UI ===== */
.app-statusbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 22px;
  padding-top: 34px;
  font-size: 0.68rem;
  font-weight: 700;
  color: #e0e0ff;
}

.status-icons {
  display: flex;
  gap: 5px;
  font-size: 0.58rem;
}

.app-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px 5px;
}

.app-top-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.app-user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--primary);
  box-shadow: 0 0 12px rgba(108, 99, 255, 0.3);
}

.app-user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app-welcome {
  font-size: 0.55rem;
  color: var(--text-muted);
}

.app-username {
  font-size: 0.82rem;
  font-weight: 800;
  color: #fff;
}

.app-notif-icon {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.78rem;
  position: relative;
}

.notif-dot {
  position: absolute;
  top: 6px;
  right: 7px;
  width: 6px;
  height: 6px;
  background: #ff6584;
  border-radius: 50%;
  border: 1px solid #0a0a1a;
  box-shadow: 0 0 6px rgba(255, 101, 132, 0.5);
}

.app-balance-card {
  margin: 12px 16px 0;
  padding: 18px;
  border-radius: 20px;
  background: linear-gradient(135deg, #6c63ff, #4834d4, #6c63ff);
  background-size: 200% 200%;
  animation: gradientShift 5s ease infinite;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(108, 99, 255, 0.35);
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.balance-card-bg {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h100v100H0z' fill='none'/%3E%3Cpath d='M20 20h60v60H20z' fill='none' stroke='rgba(255,255,255,0.03)' stroke-width='0.5'/%3E%3C/svg%3E");
  opacity: 0.5;
}

.balance-card-circles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.bc-circle {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.bc-circle.c1 {
  width: 120px;
  height: 120px;
  top: -40px;
  right: -30px;
  background: rgba(255, 255, 255, 0.04);
}

.bc-circle.c2 {
  width: 80px;
  height: 80px;
  bottom: -20px;
  right: 30px;
  background: rgba(255, 255, 255, 0.03);
}

.balance-label {
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
  position: relative;
  z-index: 1;
  letter-spacing: 0.5px;
}

.balance-amount {
  font-size: 1.6rem;
  font-weight: 900;
  color: #fff;
  position: relative;
  z-index: 1;
  margin-top: 4px;
  letter-spacing: -0.5px;
}

.balance-amount span {
  font-size: 1rem;
  font-weight: 600;
  opacity: 0.7;
}

.balance-row {
  display: flex;
  align-items: center;
  margin-top: 16px;
  position: relative;
  z-index: 1;
}

.balance-item {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.balance-divider {
  width: 1px;
  height: 28px;
  background: rgba(255, 255, 255, 0.15);
  margin: 0 10px;
}

.balance-item-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.55rem;
}

.balance-item-icon.income {
  background: rgba(0, 212, 170, 0.2);
  color: #00d4aa;
}

.balance-item-icon.expense {
  background: rgba(255, 101, 132, 0.2);
  color: #ff6584;
}

.balance-item-label {
  font-size: 0.5rem;
  color: rgba(255, 255, 255, 0.5);
}

.balance-item-value {
  font-size: 0.72rem;
  font-weight: 800;
  color: #fff;
}

.app-quick-actions {
  display: flex;
  justify-content: space-between;
  padding: 16px 20px 8px;
}

.quick-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.quick-icon {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  transition: transform 0.2s;
}

.quick-icon:hover {
  transform: scale(1.1);
}

.qi-1 {
  background: rgba(108, 99, 255, 0.12);
  color: var(--primary);
  border: 1px solid rgba(108, 99, 255, 0.15);
}

.qi-2 {
  background: rgba(0, 212, 170, 0.12);
  color: var(--secondary);
  border: 1px solid rgba(0, 212, 170, 0.15);
}

.qi-3 {
  background: rgba(255, 101, 132, 0.12);
  color: #ff6584;
  border: 1px solid rgba(255, 101, 132, 0.15);
}

.qi-4 {
  background: rgba(249, 226, 175, 0.12);
  color: #f9e2af;
  border: 1px solid rgba(249, 226, 175, 0.15);
}

.quick-action span {
  font-size: 0.55rem;
  color: var(--text-muted);
  font-weight: 500;
}

.app-transactions {
  padding: 8px 16px;
  flex: 1;
  overflow: hidden;
}

.transactions-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.trans-title {
  font-size: 0.78rem;
  font-weight: 800;
  color: #e0e0ff;
}

.trans-see-all {
  font-size: 0.6rem;
  color: var(--primary);
  font-weight: 600;
}

.transaction-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 14px;
  margin-bottom: 6px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.03);
}

.trans-icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.ti-spotify {
  background: rgba(30, 215, 96, 0.12);
  color: #1ed760;
}

.ti-receive {
  background: rgba(0, 212, 170, 0.12);
  color: #00d4aa;
}

.ti-netflix {
  background: rgba(229, 9, 20, 0.12);
  color: #e50914;
}

.trans-details {
  flex: 1;
  min-width: 0;
}

.trans-name {
  font-size: 0.72rem;
  font-weight: 700;
  color: #e0e0ff;
}

.trans-date {
  font-size: 0.52rem;
  color: var(--text-muted);
  margin-top: 1px;
}

.trans-amount {
  font-size: 0.75rem;
  font-weight: 800;
  white-space: nowrap;
}

.trans-amount.negative {
  color: #ff6584;
}

.trans-amount.positive {
  color: #00d4aa;
}

.app-bottom-nav {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 8px 12px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  background: rgba(0, 0, 0, 0.4);
  position: relative;
}

.bnav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: #484f58;
  font-size: 0.82rem;
}

.bnav-item span {
  font-size: 0.48rem;
  font-weight: 500;
}

.bnav-item.active {
  color: var(--primary);
}

.bnav-item.active span {
  color: var(--primary);
}

.bnav-center {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gradient-1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
  margin-top: -25px;
  box-shadow: 0 5px 20px rgba(108, 99, 255, 0.4);
  border: 3px solid #0a0a1a;
  position: relative;
}

.bnav-center::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid rgba(108, 99, 255, 0.15);
}

/* ===== FLOATING UI ELEMENTS ===== */
.float-element {
  position: absolute;
  z-index: 2;
  animation: float 6s ease-in-out infinite;
  transition: transform 0.3s ease;
}

.float-element:hover {
  transform: translateY(-5px) scale(1.05) !important;
  z-index: 5;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-20px);
  }
}

.float-label {
  font-size: 0.58rem;
  color: var(--primary-light);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 6px;
  opacity: 0.7;
}

/* Float Button */
.float-btn {
  top: 30px;
  right: -10px;
  animation-delay: 0s;
}

.mock-btn {
  padding: 10px 22px;
  background: var(--gradient-1);
  border: 1px solid rgba(108, 99, 255, 0.3);
  border-radius: 12px;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 25px rgba(108, 99, 255, 0.35);
  white-space: nowrap;
}

/* Float Card */
.float-card {
  bottom: 105px;
  left: -30px;
  animation-delay: 1s;
}

.mock-card {
  width: 150px;
  padding: 14px;
  background: rgba(13, 17, 23, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(108, 99, 255, 0.15);
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.mock-card-shimmer {
  width: 100%;
  height: 50px;
  border-radius: 8px;
  margin-bottom: 12px;
  background: linear-gradient(
    90deg,
    rgba(108, 99, 255, 0.08) 0%,
    rgba(108, 99, 255, 0.15) 50%,
    rgba(108, 99, 255, 0.08) 100%
  );
  background-size: 200% 100%;
  animation: shimmer 2s ease-in-out infinite;
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }

  100% {
    background-position: 200% 0;
  }
}

.mock-card-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mock-avatar-sm {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gradient-1);
  flex-shrink: 0;
}

.mock-lines {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.mock-line {
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.06);
}

.mock-line.w70 {
  width: 70%;
}

.mock-line.w50 {
  width: 50%;
}

/* Float AppBar */
.float-navbar {
  top: 10px;
  left: -40px;
  animation-delay: 2s;
}

.mock-appbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 16px;
  background: rgba(13, 17, 23, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(108, 99, 255, 0.15);
  border-radius: 12px;
  color: #e0e0ff;
  font-size: 0.78rem;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  white-space: nowrap;
}

.mock-appbar i {
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* Float Colors */
.float-colors {
  top: 180px;
  right: -25px;
  animation-delay: 3s;
}

.mock-colors {
  display: flex;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(13, 17, 23, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(108, 99, 255, 0.15);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.color-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.2s;
}

.color-dot:hover {
  transform: scale(1.3);
}

/* Float Toggle */
.float-toggle {
  bottom: 170px;
  right: -15px;
  animation-delay: 4s;
}

.mock-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: rgba(13, 17, 23, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(108, 99, 255, 0.15);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  white-space: nowrap;
}

.toggle-track {
  width: 36px;
  height: 20px;
  background: var(--primary);
  border-radius: 10px;
  position: relative;
  box-shadow: 0 0 10px rgba(108, 99, 255, 0.3);
}

.toggle-thumb {
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 2px;
  right: 2px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.mock-toggle span {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Float Input */
.float-input {
  bottom: 0;
  right: 5px;
  animation-delay: 5s;
}

.mock-input {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(13, 17, 23, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(108, 99, 255, 0.2);
  border-radius: 12px;
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.4),
    0 0 15px rgba(108, 99, 255, 0.08);
  white-space: nowrap;
}

.mock-input i {
  color: var(--text-muted);
  font-size: 0.75rem;
}

.mock-input span {
  font-size: 0.75rem;
  color: #484f58;
}

.input-cursor {
  width: 1.5px;
  height: 14px;
  background: var(--primary);
  animation: cursorBlink 1s step-end infinite;
  box-shadow: 0 0 5px rgba(108, 99, 255, 0.5);
}

@keyframes cursorBlink {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

/* Float Slider */
.float-slider {
  top: 160px;
  left: -60px;
  animation-delay: 5.5s;
}

.mock-slider {
  padding: 12px 16px;
  background: rgba(13, 17, 23, 0.95);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(108, 99, 255, 0.15);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  width: 145px;
}

.slider-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.slider-label-row span {
  font-size: 0.68rem;
  color: var(--text-muted);
  font-weight: 600;
}

.slider-value {
  color: var(--primary) !important;
  font-weight: 700 !important;
}

.slider-track {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 3px;
  position: relative;
}

.slider-fill {
  width: 72%;
  height: 100%;
  background: var(--gradient-1);
  border-radius: 3px;
  box-shadow: 0 0 8px rgba(108, 99, 255, 0.3);
}

.slider-knob {
  width: 14px;
  height: 14px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 72%;
  transform: translate(-50%, -50%);
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.3),
    0 0 10px rgba(108, 99, 255, 0.3);
  border: 2px solid var(--primary);
  transition: transform 0.2s;
}

.mock-slider:hover .slider-knob {
  transform: translate(-50%, -50%) scale(1.3);
}

/* Float Chips */
.float-chips {
  bottom: -30px;
  left: -35px;
  animation-delay: 6.5s;
}

.mock-chips {
  display: flex;
  gap: 6px;
  padding: 12px 14px;
  background: rgba(13, 17, 23, 0.95);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(108, 99, 255, 0.15);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  flex-wrap: wrap;
}

.mock-chip {
  padding: 5px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50px;
  font-size: 0.62rem;
  color: var(--text-muted);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  transition: all 0.2s;
}

.mock-chip.chip-active {
  background: rgba(108, 99, 255, 0.15);
  border-color: rgba(108, 99, 255, 0.3);
  color: var(--primary-light);
}

.mock-chip.chip-active i {
  font-size: 0.5rem;
}

.mock-chip:hover {
  border-color: rgba(108, 99, 255, 0.3);
  color: var(--text);
}

/* Hover glow on all widgets */
.mock-btn:hover,
.mock-card:hover,
.mock-appbar:hover,
.mock-colors:hover,
.mock-toggle:hover,
.mock-input:hover,
.mock-slider:hover,
.mock-chips:hover {
  border-color: rgba(108, 99, 255, 0.4);
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.4),
    0 0 20px rgba(108, 99, 255, 0.1);
}

/* Connection Lines */
.connection-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.conn-line {
  stroke: rgba(108, 99, 255, 0.12);
  stroke-width: 1.5;
  stroke-dasharray: 6 4;
  fill: none;
  animation: dashMove 15s linear infinite;
}

@keyframes dashMove {
  100% {
    stroke-dashoffset: -100;
  }
}

/* ===== STATS ===== */
.stats {
  padding: 40px 0;
  position: relative;
  z-index: 1;
}

.stats .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.stat-card {
  text-align: center;
  padding: 30px 20px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: 0 15px 40px rgba(108, 99, 255, 0.15);
}

.stat-card .number {
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-card .label {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 5px;
}

/* ===== ABOUT ===== */
.about {
  background: var(--dark-2);
}

.about .container {
  display: flex;
  align-items: center;
  gap: 80px;
}

.about-image {
  flex: 1;
  position: relative;
}

.about-img-card {
  width: 100%;
  /* max-width: 450px; */
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  position: relative;
}

.about-img-card .about-placeholder {
  width: 100%;
  height: 500px;
  background: linear-gradient(135deg, var(--dark-3), var(--dark));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.about-img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  /* fills like placeholder */
  display: block;
}

.about-placeholder i {
  font-size: 5rem;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-placeholder span {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.experience-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  background: var(--gradient-1);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 15px 40px rgba(108, 99, 255, 0.4);
}

.experience-badge .number {
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.experience-badge .text {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
}

.about-content {
  flex: 1;
}

.about-content h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.about-content p {
  color: var(--text-muted);
  margin-bottom: 15px;
  line-height: 1.8;
}

.about-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin: 25px 0 30px;
}

.about-info-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.about-info-item i {
  color: var(--primary);
  font-size: 0.9rem;
}

.about-info-item .info-label {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.about-info-item .info-value {
  font-weight: 600;
  font-size: 0.95rem;
}

/* ===== SERVICES ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  padding: 40px 30px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-1);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: rgba(108, 99, 255, 0.3);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.service-icon {
  width: 70px;
  height: 70px;
  border-radius: 20px;
  background: linear-gradient(
    135deg,
    rgba(108, 99, 255, 0.15),
    rgba(0, 212, 170, 0.15)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  font-size: 1.8rem;
  color: var(--primary);
  transition: all 0.3s ease;
}

.service-card:hover .service-icon {
  background: var(--gradient-1);
  color: #fff;
  transform: scale(1.1);
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  font-weight: 700;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ===== SKILLS ===== */
.skills {
  background: var(--dark-2);
}

.skills-container {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

.skills-left {
  flex: 1;
}

.skills-left h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.skills-left p {
  color: var(--text-muted);
  margin-bottom: 30px;
  line-height: 1.8;
}

.skill-bars {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.skill-bar {
  width: 100%;
}

.skill-bar .skill-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.skill-bar .skill-name {
  font-weight: 600;
  font-size: 0.95rem;
}

.skill-bar .skill-percent {
  color: var(--primary);
  font-weight: 600;
}

.skill-bar .bar {
  width: 100%;
  height: 8px;
  background: var(--dark-3);
  border-radius: 10px;
  overflow: hidden;
}

.skill-bar .bar .fill {
  height: 100%;
  background: var(--gradient-1);
  border-radius: 10px;
  width: 0;
  transition: width 1.5s ease;
}

.skills-right {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.tech-card {
  padding: 25px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 15px;
  text-align: center;
  transition: all 0.3s ease;
}

.tech-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: 0 10px 30px rgba(108, 99, 255, 0.15);
}

.tech-card i {
  font-size: 2.2rem;
  margin-bottom: 10px;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tech-card span {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

.tech-svg-icon {
  margin-bottom: 10px;
  filter: drop-shadow(0 0 8px rgba(108, 99, 255, 0.3));
  transition: transform 0.3s ease;
}

.tech-card:hover .tech-svg-icon {
  transform: scale(1.15);
}

/* ===== PORTFOLIO ===== */
.portfolio-filter {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 25px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "Poppins", sans-serif;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--gradient-1);
  color: #fff;
  border-color: transparent;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.portfolio-card {
  border-radius: 20px;
  overflow: hidden;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  transition: all 0.4s ease;
}

.portfolio-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.portfolio-img {
  width: 100%;
  height: 260px;
  overflow: hidden;
  position: relative;
}

.portfolio-img .img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--primary);
  transition: transform 0.5s ease;
}

.img-placeholder.p1 {
  background: linear-gradient(135deg, #1a1a3e, #2a1a4e);
}

.img-placeholder.p2 {
  background: linear-gradient(135deg, #1a2a3e, #1a3a4e);
}

.img-placeholder.p3 {
  background: linear-gradient(135deg, #2a1a2e, #3a1a3e);
}

.img-placeholder.p4 {
  background: linear-gradient(135deg, #1a2a2e, #1a3a3e);
}

.img-placeholder.p5 {
  background: linear-gradient(135deg, #2a2a1e, #3a3a1e);
}

.img-placeholder.p6 {
  background: linear-gradient(135deg, #1a1a2e, #2a1a3e);
}

.portfolio-card:hover .img-placeholder {
  transform: scale(1.1);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.portfolio-card:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-overlay a {
  width: 45px;
  height: 45px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}

.portfolio-overlay a:hover {
  transform: scale(1.15);
}

.portfolio-info {
  padding: 25px;
}

.portfolio-info .category {
  color: var(--secondary);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.portfolio-info h3 {
  font-size: 1.15rem;
  margin: 6px 0 20px 0;
  font-weight: 700;
}

.portfolio-info .tech-stack {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.portfolio-info .tech-tag {
  padding: 4px 12px;
  background: rgba(108, 99, 255, 0.1);
  border-radius: 20px;
  font-size: 0.75rem;
  color: var(--primary-light);
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  background: var(--dark-2);
}

.testimonials-slider {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s ease;
}

.testimonial-card {
  min-width: 100%;
  padding: 50px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  text-align: center;
  backdrop-filter: blur(10px);
}

.testimonial-card .stars {
  color: #ffc107;
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.testimonial-card blockquote {
  font-size: 1.1rem;
  color: var(--text);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 25px;
}

.testimonial-card .client-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.client-avatar {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: var(--gradient-1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
}

.client-details h4 {
  font-weight: 700;
  font-size: 1rem;
}

.client-details span {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.slider-controls {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
}

.slider-btn {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  color: var(--text);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.slider-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 25px;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--glass-border);
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-dot.active {
  background: var(--primary);
  width: 30px;
  border-radius: 10px;
}

/* ===== CONTACT ===== */
.contact .container {
  display: flex;
  gap: 60px;
}

.contact-info {
  flex: 1;
}

.contact-info h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.contact-info > p {
  color: var(--text-muted);
  margin-bottom: 30px;
  line-height: 1.8;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-bottom: 30px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 20px;
}

.contact-item .icon {
  width: 55px;
  height: 55px;
  border-radius: 15px;
  background: linear-gradient(
    135deg,
    rgba(108, 99, 255, 0.15),
    rgba(0, 212, 170, 0.15)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--primary);
  flex-shrink: 0;
}

.contact-item h4 {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 400;
}

.contact-item p {
  font-weight: 600;
  font-size: 1rem;
}

.contact-socials {
  display: flex;
  gap: 12px;
}

.contact-socials a {
  width: 45px;
  height: 45px;
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all 0.3s ease;
}

.contact-socials a:hover {
  color: var(--primary);
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(108, 99, 255, 0.2);
}

.contact-form-wrapper {
  flex: 1;
}

.contact-form {
  padding: 40px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  backdrop-filter: blur(10px);
}

.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  flex: 1;
  position: relative;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  color: var(--text);
  font-size: 0.95rem;
  font-family: "Poppins", sans-serif;
  transition: border-color 0.3s ease;
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
}

.form-group textarea {
  height: 140px;
  resize: none;
}

.form-group.full {
  margin-bottom: 20px;
}

.contact-form .btn-primary {
  width: 100%;
  justify-content: center;
  padding: 16px;
  font-size: 1.05rem;
}

/* ===== FORM STATUS ===== */
.form-status {
  margin-top: 15px;
  padding: 0;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 500;
  text-align: center;
  transition: all 0.3s ease;
  overflow: hidden;
  max-height: 0;
}

.form-status.success {
  padding: 12px 20px;
  max-height: 60px;
  background: rgba(0, 212, 170, 0.1);
  border: 1px solid rgba(0, 212, 170, 0.3);
  color: var(--secondary);
}

.form-status.error {
  padding: 12px 20px;
  max-height: 60px;
  background: rgba(255, 101, 132, 0.1);
  border: 1px solid rgba(255, 101, 132, 0.3);
  color: var(--accent);
}

.btn-primary.sending {
  pointer-events: none;
  opacity: 0.7;
}

.btn-primary .spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}

/* ===== FOOTER ===== */
.footer {
  background: var(--dark-2);
  padding: 60px 0 30px;
  border-top: 1px solid var(--glass-border);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .logo {
  margin-bottom: 15px;
  display: inline-block;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 300px;
}

.footer-col h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-col a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid var(--glass-border);
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-bottom p a {
  color: var(--primary);
}

.back-to-top {
  width: 45px;
  height: 45px;
  background: var(--gradient-1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(108, 99, 255, 0.4);
}

/* ===== SCROLL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: all 0.8s ease;
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: all 0.8s ease;
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

/* ===== LARGE SCREEN ===== */
@media (min-width: 1600px) {
  .hero h1 {
    font-size: 4.5rem;
  }

  .hero .role {
    font-size: 1.7rem;
  }

  .hero p {
    font-size: 1.15rem;
    max-width: 580px;
  }

  .phone-scene {
    width: 650px;
    height: 640px;
  }

  .phone-mockup {
    width: 280px;
    height: 560px;
  }

  .section-header h2 {
    font-size: 3.2rem;
  }

  .services-grid {
    gap: 35px;
  }

  .portfolio-grid {
    gap: 35px;
  }

  .stat-card .number {
    font-size: 3rem;
  }
}

@media (min-width: 1920px) {
  .hero h1 {
    font-size: 5rem;
  }

  .hero .role {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 1.2rem;
    max-width: 620px;
  }

  .hero .container {
    gap: 40px;
  }

  .phone-scene {
    width: 750px;
    height: 700px;
  }

  .phone-mockup {
    width: 300px;
    height: 600px;
  }

  .section-header h2 {
    font-size: 3.5rem;
  }

  .section {
    padding: 120px 0;
  }

  .about .container {
    gap: 100px;
  }

  .services-grid {
    gap: 40px;
  }

  .portfolio-grid {
    gap: 40px;
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 3rem;
  }

  .hero .container {
    flex-direction: column;
    text-align: center;
  }

  .hero-content {
    order: 2;
  }

  .hero-image {
    order: 1;
  }

  .hero p {
    margin: 0 auto 35px;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-socials {
    justify-content: center;
  }

  .phone-scene {
    width: 400px;
    height: 520px;
  }

  .phone-mockup {
    width: 220px;
    height: 440px;
  }

  .float-element {
    display: none;
  }

  .connection-lines {
    display: none;
  }

  .about .container {
    flex-direction: column;
    gap: 40px;
  }

  .about-image {
    display: flex;
    justify-content: center;
  }

  .skills-container {
    flex-direction: column;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact .container {
    flex-direction: column;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background: rgba(10, 10, 26, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    transition: right 0.4s ease;
    border-left: 1px solid var(--glass-border);
  }

  .nav-links.open {
    right: 0;
  }

  .hamburger {
    display: flex;
  }

  .section {
    overflow: hidden;
  }

  .hero h1 {
    font-size: 2.4rem;
  }

  .hero .role {
    font-size: 1.2rem;
  }

  .hero-badge {
    font-size: 0.75rem;
    padding: 6px 14px;
  }

  .phone-scene {
    width: 280px;
    max-width: 100%;
    height: 480px;
  }

  .phone-mockup {
    width: 200px;
    height: 410px;
    border-radius: 32px;
  }

  .phone-notch {
    width: 100px;
    height: 24px;
    border-radius: 0 0 14px 14px;
  }

  .app-top {
    padding: 8px 15px 3px;
  }

  .app-user-avatar {
    width: 30px;
    height: 30px;
  }

  .app-username {
    font-size: 0.72rem;
  }

  .app-balance-card {
    margin: 8px 12px 0;
    padding: 14px;
  }

  .balance-amount {
    font-size: 1.3rem;
  }

  .app-quick-actions {
    padding: 12px 16px 6px;
  }

  .quick-icon {
    width: 34px;
    height: 34px;
    font-size: 0.72rem;
  }

  .app-transactions {
    padding: 6px 12px;
  }

  .transaction-item {
    padding: 8px;
  }

  .experience-badge {
    right: 0;
    width: 90px;
    height: 90px;
  }

  .experience-badge .number {
    font-size: 1.6rem;
  }

  .experience-badge .text {
    font-size: 0.55rem;
  }

  .stats .container {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .skills-right {
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
  }

  .form-row {
    flex-direction: column;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 15px;
  }

  .testimonial-card {
    padding: 30px 20px;
  }

  .cursor,
  .cursor-dot {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .about-info-grid {
    grid-template-columns: 1fr;
  }

  .skills-right {
    grid-template-columns: repeat(2, 1fr);
  }
}

.hero-socials a svg,
.contact-socials a svg {
  transition: fill 0.3s ease;
  fill: var(--text-muted);
}

.hero-socials a:hover svg,
.contact-socials a:hover svg {
  fill: var(--primary);
}

/* ==============================================
   PROJECT MODAL
   ============================================== */
.project-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.4s ease,
    visibility 0.4s ease;
}

.project-modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(12px);
}

.modal-container {
  position: relative;
  width: 95%;
  max-width: 1400px;
  height: 88vh;
  background: var(--dark-2);
  border-radius: 20px;
  border: 1px solid var(--glass-border);
  overflow: hidden;
  z-index: 2;
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.6),
    0 0 60px rgba(108, 99, 255, 0.1);
  transform: translateY(30px) scale(0.95);
  transition: transform 0.4s ease;
}

.project-modal.active .modal-container {
  transform: translateY(0) scale(1);
}

/* Close */
.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  font-size: 1rem;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.modal-close:hover {
  background: rgba(255, 101, 132, 0.2);
  border-color: rgba(255, 101, 132, 0.4);
  color: var(--accent);
  transform: rotate(90deg);
}

/* Scrollable Content */
.modal-content {
  height: 100%;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--primary) transparent;
}

.modal-content::-webkit-scrollbar {
  width: 6px;
}

.modal-content::-webkit-scrollbar-track {
  background: transparent;
}

.modal-content::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 10px;
}

/* ===== TOP SECTION: Info + Thumbnail ===== */
.modal-top {
  display: flex;
  gap: 40px;
  padding: 40px 40px 30px;
}

/* Info (Left) */
.modal-info {
  flex: 1.1;
  min-width: 0;
}

.modal-category {
  display: inline-block;
  padding: 6px 18px;
  background: var(--gradient-1);
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 18px;
}

.modal-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 22px;
  line-height: 1.2;
}

/* Meta */
.modal-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 28px;
  padding: 18px 22px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  flex-wrap: wrap;
}

.modal-meta-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-meta-item i {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(108, 99, 255, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.modal-meta-item span {
  font-size: 0.68rem;
  color: var(--text-muted);
  font-weight: 500;
  display: block;
}

.modal-meta-item strong {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
  display: block;
}

/* Sections */
.modal-section {
  margin-bottom: 25px;
}

.modal-section h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-section h4 i {
  color: var(--primary);
  font-size: 0.9rem;
}

.modal-section p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
}

/* Skills */
.modal-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.modal-skill-tag {
  padding: 7px 18px;
  background: rgba(108, 99, 255, 0.1);
  border: 1px solid rgba(108, 99, 255, 0.2);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary-light);
  transition: all 0.2s ease;
}

.modal-skill-tag:hover {
  background: rgba(108, 99, 255, 0.2);
  border-color: rgba(108, 99, 255, 0.4);
  transform: translateY(-2px);
}

/* Actions */
.modal-actions {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.modal-btn {
  padding: 12px 28px;
  font-size: 0.9rem;
}

/* ===== INTERACTIVE GITHUB BUTTON ===== */
.modal-github-btn {
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  transition: all 0.4s ease;
}

.modal-github-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transition: left 0.6s ease;
}

.modal-github-btn:hover::before {
  left: 100%;
}

.modal-github-btn > i:first-child {
  font-size: 1.4rem;
  transition: transform 0.3s ease;
}

.modal-github-btn:hover > i:first-child {
  transform: rotate(360deg) scale(1.1);
}

.btn-text-wrap {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.2;
}

.btn-main-text {
  font-size: 0.88rem;
  font-weight: 700;
}

.btn-sub-text {
  font-size: 0.65rem;
  font-weight: 400;
  opacity: 0.7;
}

.btn-arrow {
  font-size: 0.85rem;
  transition: transform 0.3s ease;
  margin-left: auto;
}

.modal-github-btn:hover .btn-arrow {
  transform: translateX(5px);
}

.modal-github-btn:hover {
  transform: translateY(-3px);
  box-shadow:
    0 15px 40px rgba(108, 99, 255, 0.4),
    0 0 20px rgba(108, 99, 255, 0.15);
}

.modal-github-btn:active {
  transform: translateY(0px) scale(0.98);
  box-shadow: 0 5px 15px rgba(108, 99, 255, 0.3);
}

/* Ripple effect on click */
.modal-github-btn .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: scale(0);
  animation: rippleAnim 0.6s ease-out;
  pointer-events: none;
}

@keyframes rippleAnim {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* ===== THUMBNAIL (Right) ===== */
.modal-thumbnail-wrapper {
  flex: 0.9;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.modal-thumb-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-thumb-label i {
  color: var(--primary);
}

.modal-thumbnail {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  background: var(--dark-3);
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
}

.modal-thumbnail:hover {
  border-color: rgba(108, 99, 255, 0.3);
  box-shadow:
    0 15px 40px rgba(0, 0, 0, 0.4),
    0 0 20px rgba(108, 99, 255, 0.08);
}

.modal-thumbnail img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.modal-thumbnail:hover img {
  transform: scale(1.05);
}

/* Zoom icon on hover */
.modal-thumb-zoom {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.modal-thumbnail:hover .modal-thumb-zoom {
  opacity: 1;
}

.modal-thumb-zoom i {
  font-size: 1.8rem;
  color: #fff;
}

/* ===== MOCKUP SECTION (Full Width Bottom) ===== */
.modal-mockup-section {
  padding: 10px 40px 50px;
}

/* Mockup Heading */
.mockup-heading {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
}

.mockup-heading-left {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-shrink: 0;
}

.mockup-heading-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: linear-gradient(
    135deg,
    rgba(108, 99, 255, 0.15),
    rgba(0, 212, 170, 0.15)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--primary);
}

.mockup-heading h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 2px;
}

.mockup-heading p {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 400;
}

.mockup-heading-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, var(--glass-border), transparent);
}

/* Mockup Image */
.modal-mockup-img {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  background: var(--dark-3);
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
}

.modal-mockup-img:hover {
  border-color: rgba(108, 99, 255, 0.3);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.4),
    0 0 25px rgba(108, 99, 255, 0.08);
}

.modal-mockup-img img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.modal-mockup-img:hover img {
  transform: scale(1.02);
}

/* Placeholder */
.modal-img-placeholder {
  width: 100%;
  height: 350px;
  background: linear-gradient(135deg, var(--dark-3), var(--dark));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 16px;
  border: 1px solid var(--glass-border);
}

.modal-img-placeholder i {
  font-size: 3rem;
  color: var(--primary);
  opacity: 0.4;
}

.modal-img-placeholder span {
  font-size: 0.8rem;
  color: var(--text-muted);
  opacity: 0.5;
}

/* ===== IMAGE LIGHTBOX (Fullscreen Preview) ===== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 10001;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  cursor: zoom-out;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: 92%;
  max-height: 92vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.lightbox.active img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 25px;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.lightbox-close:hover {
  background: rgba(255, 101, 132, 0.3);
  transform: rotate(90deg);
}

/* ===== MODAL RESPONSIVE ===== */
@media (min-width: 1600px) {
  .modal-container {
    max-width: 1600px;
  }
}

@media (min-width: 1920px) {
  .modal-container {
    max-width: 1750px;
    width: 92%;
  }
}

@media (max-width: 1024px) {
  .modal-container {
    width: 94%;
    height: 90vh;
  }

  .modal-top {
    flex-direction: column;
    padding: 30px 30px 20px;
    gap: 25px;
  }

  .modal-thumbnail-wrapper {
    order: -1;
  }

  .modal-title {
    font-size: 1.6rem;
  }

  .modal-mockup-section {
    padding: 10px 30px 40px;
  }
}

@media (max-width: 768px) {
  .modal-container {
    width: 96%;
    height: 92vh;
    border-radius: 16px;
  }

  .modal-top {
    padding: 25px 20px 15px;
    gap: 20px;
  }

  .modal-body {
    padding: 20px;
  }

  .modal-title {
    font-size: 1.4rem;
  }

  .modal-meta {
    flex-direction: column;
    gap: 12px;
  }

  .modal-actions {
    flex-direction: column;
  }

  .modal-btn {
    width: 100%;
    justify-content: center;
  }

  .modal-github-btn {
    justify-content: center;
  }

  .btn-arrow {
    display: none;
  }

  .modal-close {
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    font-size: 0.85rem;
  }

  .modal-mockup-section {
    padding: 10px 20px 35px;
  }

  .mockup-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .mockup-heading-line {
    display: none;
  }
}

@media (max-width: 480px) {
  .modal-title {
    font-size: 1.2rem;
  }

  .modal-section p {
    font-size: 0.85rem;
  }

  .modal-github-btn > i:first-child {
    font-size: 1.1rem;
  }

  .btn-main-text {
    font-size: 0.8rem;
  }
}
