/* ========= ROOT & GLOBAL ========= */
:root {
  --bg: #0a0e27;
  --bg-alt: #0f1835;
  --accent: #6366f1;
  --accent-light: #818cf8;
  --accent-dark: #4f46e5;
  --text: #f8fafc;
  --text-muted: #cbd5e1;
  --text-dim: #94a3b8;
  --card-bg: rgba(15, 23, 42, 0.4);
  --border-color: rgba(148, 163, 184, 0.12);
  --radius-lg: 20px;
  --radius-md: 12px;
  --radius-pill: 999px;
  --shadow-soft: 0 20px 50px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 60px rgba(99, 102, 241, 0.4);
  --shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.4);
  --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  --max-width: 1200px;
  --nav-height: 70px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: linear-gradient(135deg, #0a0e27 0%, #111a3a 50%, #0f1835 100%);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ========= BACKGROUND GRADIENTS ========= */
.bg-gradient {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

.bg-gradient-1 {
  background: radial-gradient(
    circle at 20% 50%,
    rgba(99, 102, 241, 0.15) 0%,
    transparent 50%
  );
  animation: float1 20s ease-in-out infinite;
}

.bg-gradient-2 {
  background: radial-gradient(
    circle at 80% 80%,
    rgba(168, 85, 247, 0.1) 0%,
    transparent 50%
  );
  animation: float2 25s ease-in-out infinite;
}

.bg-gradient-3 {
  background: radial-gradient(
    circle at 50% 0%,
    rgba(34, 211, 238, 0.08) 0%,
    transparent 60%
  );
  animation: float3 30s ease-in-out infinite;
}

@keyframes float1 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(20px, -20px); }
}

@keyframes float2 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-30px, 20px); }
}

@keyframes float3 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(25px, 15px); }
}

/* ========= GLASS EFFECT ========= */
.glass-effect {
  background: rgba(15, 23, 42, 0.3);
  border: 1px solid rgba(148, 163, 184, 0.15);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* ========= UTILITIES ========= */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.overflow-hidden {
  overflow: hidden;
}

/* ========= NAVBAR ========= */
.navbar-container {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.navbar {
  padding: 12px 24px;
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.nav-content {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.logo-badge {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366f1, #a855f7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.5);
  animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(99, 102, 241, 0.5); }
  50% { box-shadow: 0 0 40px rgba(99, 102, 241, 0.8); }
}

.logo-shimmer {
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}

.nav-links {
  display: none;
  list-style: none;
  gap: 8px;
  flex: 1;
  justify-content: center;
}

.nav-links li a {
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  color: var(--text-dim);
  font-size: 0.9rem;
  transition: var(--transition-smooth);
  position: relative;
}

.nav-links li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent);
  transform: translateX(-50%);
  transition: var(--transition-smooth);
}

.nav-links li a:hover {
  color: var(--text);
  background: rgba(99, 102, 241, 0.1);
}

.nav-links li a:hover::after {
  width: 60%;
}

.nav-toggle-label {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  margin-left: auto;
}

.nav-toggle-label span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition-smooth);
}

#nav-toggle {
  display: none;
}

#nav-toggle:checked + .nav-toggle-label span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

#nav-toggle:checked + .nav-toggle-label span:nth-child(2) {
  opacity: 0;
}

#nav-toggle:checked + .nav-toggle-label span:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

.nav-cta {
  display: none;
}

.btn-glow {
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--accent), #a855f7);
  border: 1px solid rgba(168, 85, 247, 0.5);
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
  white-space: nowrap;
}

.btn-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(99, 102, 241, 0.6);
}

.nav-menu-mobile {
  display: none;
  list-style: none;
  position: absolute;
  top: 70px;
  left: 0;
  right: 0;
  background: var(--card-bg);
  border-bottom: 1px solid var(--border-color);
  backdrop-filter: blur(20px);
  flex-direction: column;
  padding: 12px;
  gap: 8px;
}

.nav-menu-mobile li a {
  display: block;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  color: var(--text-dim);
  transition: var(--transition-smooth);
}

.nav-menu-mobile li a:hover {
  background: rgba(99, 102, 241, 0.2);
  color: var(--text);
}

#nav-toggle:checked ~ .nav-menu-mobile {
  display: flex;
}

/* ========= HERO SECTION ========= */
#hero {
  padding: 100px 20px 80px;
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-bg-animation {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at 30% 50%,
    rgba(99, 102, 241, 0.2) 0%,
    transparent 50%
  );
  pointer-events: none;
  animation: bg-shift 8s ease-in-out infinite;
}

@keyframes bg-shift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, 20px) scale(1.1); }
}

.hero-grid {
  display: grid;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.3);
  font-size: 0.85rem;
  color: var(--accent-light);
  margin-bottom: 20px;
}

.badge-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.badge-float {
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: 1.2;
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.gradient-text {
  background: linear-gradient(135deg, #a855f7, #6366f1, #22d3ee);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 4s ease infinite;
}

@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--accent-light);
  margin-bottom: 16px;
  font-weight: 600;
}

.hero-description {
  font-size: 1rem;
  color: var(--text-dim);
  margin-bottom: 30px;
  max-width: 500px;
  line-height: 1.8;
}

.hero-stats {
  display: flex;
  gap: 30px;
  margin-bottom: 40px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-number {
  font-size: 1.8rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent), #a855f7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-dim);
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-large {
  padding: 14px 28px;
  font-size: 1rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #a855f7);
  color: var(--text);
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
  border-color: rgba(168, 85, 247, 0.5);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(99, 102, 241, 0.5);
}

.btn-secondary {
  background: rgba(99, 102, 241, 0.1);
  color: var(--text);
  border-color: rgba(99, 102, 241, 0.3);
}

.btn-secondary:hover {
  background: rgba(99, 102, 241, 0.2);
  transform: translateY(-3px);
}

.btn-icon {
  display: inline-block;
  transition: transform var(--transition-smooth);
}

.btn:hover .btn-icon {
  transform: translateY(2px);
}

.hero-socials {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  background: rgba(99, 102, 241, 0.05);
  border: 1px solid rgba(99, 102, 241, 0.2);
  color: var(--text-dim);
  font-size: 0.9rem;
  transition: var(--transition-smooth);
  cursor: pointer;
}

.social-link i {
  font-size: 1.1rem;
  transition: transform var(--transition-smooth);
}

.social-link:hover {
  background: rgba(99, 102, 241, 0.15);
  color: var(--text);
  border-color: rgba(99, 102, 241, 0.4);
  transform: translateY(-2px);
}

.social-link:hover i {
  transform: scale(1.2);
}

.social-link-github:hover {
  background: rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.2);
}

.social-link-linkedin:hover {
  background: rgba(0, 119, 181, 0.2);
  border-color: rgba(0, 119, 181, 0.4);
  color: #0077b5;
}

.social-link-twitter:hover {
  background: rgba(29, 161, 242, 0.2);
  border-color: rgba(29, 161, 242, 0.4);
  color: #1da1f2;
}

.social-link-email:hover {
  background: rgba(234, 67, 53, 0.2);
  border-color: rgba(234, 67, 53, 0.4);
  color: #ea4335;
}

/* ========= PROJECT LINKS WITH ICONS ========= */
.project-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 6px;
  background: rgba(99, 102, 241, 0.1);
  color: var(--accent-light);
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition-smooth);
  border: 1px solid transparent;
}

.project-link i {
  font-size: 0.95rem;
  transition: transform var(--transition-smooth);
}

.project-link:hover {
  background: rgba(99, 102, 241, 0.2);
  border-color: rgba(99, 102, 241, 0.4);
  transform: translateX(2px);
}

.project-link:hover i {
  transform: translateX(2px);
}

/* ========= SERVICE ICONS ========= */
.service-icon {
  font-size: 2.5rem;
  color: var(--accent-light);
  margin-bottom: 16px;
  display: inline-block;
  transition: var(--transition-smooth);
}

.service-hover:hover .service-icon {
  color: var(--text);
  transform: scale(1.1) rotate(5deg);
}

.service-cta {
  color: var(--accent-light);
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.service-cta i {
  transition: transform var(--transition-smooth);
}

.service-cta:hover {
  color: var(--text);
  transform: translateX(2px);
}

.service-cta:hover i {
  transform: translateX(3px);
}

/* ========= CONTACT ICONS ========= */
.contact-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
  color: var(--accent-light);
  transition: var(--transition-smooth);
  display: inline-block;
}

.contact-hover:hover .contact-icon {
  color: var(--text);
  transform: scale(1.15) rotate(-5deg);
}

/* ========= SECTION STYLES ========= */
section {
  padding: 80px 20px;
  position: relative;
}

.reveal-section {
  opacity: 0;
  transform: translateY(30px);
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 12px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
}

.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-description {
  font-size: 1rem;
  color: var(--text-dim);
  max-width: 600px;
  margin: 0 auto;
}

/* ========= ABOUT SECTION ========= */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.about-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.card-hover {
  cursor: pointer;
}

.card-hover::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.5s ease;
  pointer-events: none;
}

.card-hover:hover::before {
  left: 100%;
}

.about-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
  display: inline-block;
}

.about-card p {
  color: var(--text-dim);
  margin-bottom: 16px;
  line-height: 1.8;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.card-tags span {
  padding: 6px 12px;
  border-radius: 6px;
  background: rgba(99, 102, 241, 0.1);
  color: var(--accent-light);
  font-size: 0.8rem;
  font-weight: 600;
}

/* ========= SKILLS SECTION ========= */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.skill-block {
  padding: 24px;
  border-radius: var(--radius-lg);
}

.skill-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.skill-header h3 {
  font-size: 1.2rem;
  font-weight: 700;
}

.skill-percent {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-light);
}

.skill-bar {
  width: 100%;
  height: 6px;
  background: rgba(99, 102, 241, 0.1);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 16px;
}

.skill-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), #a855f7);
  border-radius: 3px;
  transition: width 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.skill-tags span {
  padding: 6px 12px;
  border-radius: 6px;
  background: rgba(99, 102, 241, 0.1);
  color: var(--accent-light);
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid rgba(99, 102, 241, 0.2);
}

/* ========= PROJECTS SECTION ========= */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  margin-bottom: 50px;
}

.project-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
  border: 1px solid rgba(99, 102, 241, 0.1);
}

.project-hover {
  cursor: pointer;
}

.project-hover:hover {
  transform: translateY(-8px);
  border-color: rgba(99, 102, 241, 0.3);
  box-shadow: 0 20px 60px rgba(99, 102, 241, 0.15);
}

.project-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 12px;
  border: 1px solid;
}

.badge-web {
  background: rgba(99, 102, 241, 0.15);
  color: #818cf8;
  border-color: rgba(99, 102, 241, 0.4);
}

.badge-ml {
  background: rgba(34, 211, 238, 0.15);
  color: #22d3ee;
  border-color: rgba(34, 211, 238, 0.4);
}

.badge-data {
  background: rgba(168, 85, 247, 0.15);
  color: #d8b4fe;
  border-color: rgba(168, 85, 247, 0.4);
}

.badge-util {
  background: rgba(34, 197, 94, 0.15);
  color: #86efac;
  border-color: rgba(34, 197, 94, 0.4);
}

.project-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.4;
  color: var(--text);
}

.project-description {
  font-size: 0.95rem;
  color: var(--text-dim);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.project-tech span {
  padding: 6px 12px;
  border-radius: 6px;
  background: rgba(99, 102, 241, 0.1);
  color: var(--accent-light);
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid rgba(99, 102, 241, 0.2);
  transition: var(--transition-smooth);
}

.project-hover:hover .project-tech span {
  background: rgba(99, 102, 241, 0.2);
  border-color: rgba(99, 102, 241, 0.4);
}

.project-footer {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(99, 102, 241, 0.1);
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 6px;
  background: rgba(99, 102, 241, 0.1);
  color: var(--accent-light);
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition-smooth);
  border: 1px solid transparent;
  text-decoration: none;
}

.project-link i {
  font-size: 0.95rem;
  transition: transform var(--transition-smooth);
}

.project-link:hover {
  background: rgba(99, 102, 241, 0.2);
  border-color: rgba(99, 102, 241, 0.4);
  transform: translateX(2px);
}

.project-link:hover i {
  transform: translateX(3px);
}

.project-link-demo {
  background: rgba(34, 211, 238, 0.1);
  color: #22d3ee;
  border-color: rgba(34, 211, 238, 0.2);
}

.project-link-demo:hover {
  background: rgba(34, 211, 238, 0.2);
  border-color: rgba(34, 211, 238, 0.4);
}

/* ========= ENHANCED FLOATING CARD ========= */
.card-3d {
  position: relative;
  perspective: 1000px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.5) 0%, rgba(15, 23, 42, 0.3) 100%);
  border: 1px solid rgba(99, 102, 241, 0.2);
  overflow: hidden;
  max-width: 320px;
  margin: 0 auto;
}

.card-glow {
  position: absolute;
  top: -50%;
  right: -50%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.3) 0%, transparent 70%);
  animation: glow-pulse 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes glow-pulse {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -30px) scale(1.1); }
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  border-bottom: 1px solid rgba(99, 102, 241, 0.1);
}

.avatar-circle {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366f1, #a855f7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--text);
  box-shadow: 0 0 30px rgba(99, 102, 241, 0.5);
  z-index: 2;
}

.avatar-pulse {
  animation: avatar-pulse 2s ease-in-out infinite;
}

@keyframes avatar-pulse {
  0%, 100% { box-shadow: 0 0 30px rgba(99, 102, 241, 0.5); }
  50% { box-shadow: 0 0 50px rgba(99, 102, 241, 0.8); }
}

.avatar-ring {
  position: absolute;
  inset: -4px;
  border: 2px solid rgba(99, 102, 241, 0.3);
  border-radius: 50%;
  animation: spin 8s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-online {
  color: #22c55e;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  animation: status-blink 2s ease-in-out infinite;
}

@keyframes status-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.status-label {
  font-size: 0.8rem;
  font-weight: 600;
}

.card-content {
  padding: 24px;
}

.card-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.card-subtitle {
  font-size: 0.95rem;
  color: var(--text-dim);
  margin-bottom: 20px;
}

.tech-stack {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 20px 0;
}

.tech-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px;
  border-radius: 10px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  transition: var(--transition-smooth);
  cursor: default;
}

.tech-item:hover {
  background: rgba(99, 102, 241, 0.2);
  border-color: rgba(99, 102, 241, 0.4);
  transform: translateY(-2px);
}

.tech-icon {
  font-size: 1.8rem;
}

.tech-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-light);
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 16px 24px;
  border-top: 1px solid rgba(99, 102, 241, 0.1);
}

.footer-stat {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--text-dim);
}

.stat-icon {
  font-size: 1.2rem;
}

.footer-divider {
  width: 1px;
  height: 20px;
  background: rgba(99, 102, 241, 0.2);
}

.card-gradient-top,
.card-gradient-bottom {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.5), transparent);
  pointer-events: none;
}

.card-gradient-top {
  top: 0;
}

.card-gradient-bottom {
  bottom: 0;
}

/* ========= PREMIUM SERVICES SECTION ========= */
.services-grid.services-premium {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.service-card-premium {
  display: flex;
  flex-direction: column;
  padding: 32px;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.4) 0%, rgba(15, 23, 42, 0.2) 100%);
  border: 1px solid rgba(99, 102, 241, 0.15);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  height: 100%;
}

.service-card-premium::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.1), transparent);
  transition: left 0.5s ease;
  pointer-events: none;
}

.service-hover:hover .service-card-premium::before {
  left: 100%;
}

.service-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 16px;
}

.service-icon-wrapper {
  position: relative;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(99, 102, 241, 0.05) 100%);
  border-radius: 12px;
  transition: var(--transition-smooth);
}

.service-hover:hover .service-icon-bg {
  transform: scale(1.1) rotate(5deg);
  background: radial-gradient(135deg, rgba(99, 102, 241, 0.3) 0%, rgba(99, 102, 241, 0.1) 100%);
}

.service-icon {
  font-size: 2rem;
  color: var(--accent-light);
  position: relative;
  z-index: 1;
  transition: var(--transition-smooth);
}

.service-hover:hover .service-icon {
  color: var(--text);
  transform: scale(1.2);
}

.service-number-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(99, 102, 241, 0.2);
  color: var(--accent-light);
  font-weight: 700;
  font-size: 0.9rem;
  border: 1px solid rgba(99, 102, 241, 0.3);
}

.service-content {
  flex-grow: 1;
  margin-bottom: 24px;
}

.service-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}

.service-description {
  font-size: 0.95rem;
  color: var(--text-dim);
  line-height: 1.6;
  margin-bottom: 20px;
}

.service-highlights {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.highlight-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(34, 211, 238, 0.2);
  color: #22d3ee;
  font-size: 0.75rem;
  font-weight: 700;
}

.service-cta-advanced {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  background: rgba(99, 102, 241, 0.15);
  color: var(--accent-light);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(99, 102, 241, 0.3);
  text-decoration: none;
  cursor: pointer;
}

.service-cta-advanced:hover {
  background: rgba(99, 102, 241, 0.25);
  border-color: rgba(99, 102, 241, 0.5);
  transform: translateX(4px);
}

.cta-arrow {
  font-size: 1.1rem;
  transition: transform var(--transition-smooth);
}

.service-cta-advanced:hover .cta-arrow {
  transform: translateX(3px);
}

/* ========= PREMIUM CONTACT SECTION ========= */
.contact-grid.contact-advanced {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 50px;
}

.contact-card-premium {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.4) 0%, rgba(15, 23, 42, 0.2) 100%);
  border: 1px solid rgba(99, 102, 241, 0.15);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  min-height: 200px;
}

.contact-card-premium::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.contact-hover:hover .contact-card-premium::after {
  transform: scaleX(1);
}

.contact-card-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  text-align: center;
}

.contact-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(99, 102, 241, 0.15);
  color: var(--accent-light);
  font-size: 1.5rem;
  transition: all var(--transition-smooth);
  border: 1px solid rgba(99, 102, 241, 0.2);
}

.contact-hover:hover .contact-icon-wrapper {
  background: rgba(99, 102, 241, 0.3);
  border-color: rgba(99, 102, 241, 0.4);
  transform: scale(1.1) rotate(-5deg);
}

.contact-icon-linkedin {
  background: rgba(0, 119, 181, 0.15);
  color: #0077b5;
  border-color: rgba(0, 119, 181, 0.3);
}

.contact-hover:hover .contact-icon-linkedin {
  background: rgba(0, 119, 181, 0.3);
  border-color: rgba(0, 119, 181, 0.5);
}

.contact-icon-github {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
}

.contact-hover:hover .contact-icon-github {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
}

.contact-icon-twitter {
  background: rgba(29, 161, 242, 0.15);
  color: #1da1f2;
  border-color: rgba(29, 161, 242, 0.3);
}

.contact-hover:hover .contact-icon-twitter {
  background: rgba(29, 161, 242, 0.3);
  border-color: rgba(29, 161, 242, 0.5);
}

.contact-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}

.contact-card-body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.contact-link-primary {
  font-weight: 600;
  color: var(--accent-light);
  text-decoration: none;
  transition: var(--transition-smooth);
  display: inline-block;
}

.contact-link-primary:hover {
  color: var(--text);
  transform: translateX(2px);
}

.contact-meta {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin: 0;
}

.contact-cta-section {
  margin-top: 40px;
}

.cta-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 50px 40px;
  border-radius: var(--radius-lg);
  text-align: center;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(168, 85, 247, 0.05) 100%);
  border: 1px solid rgba(99, 102, 241, 0.2);
  position: relative;
  overflow: hidden;
}

.cta-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 50%, rgba(99, 102, 241, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

.cta-icon-large {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #a855f7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--text);
  margin-bottom: 20px;
  animation: bounce-icon 2s ease-in-out infinite;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 30px rgba(99, 102, 241, 0.4);
}

@keyframes bounce-icon {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.cta-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
  position: relative;
  z-index: 1;
}

.cta-description {
  font-size: 1rem;
  color: var(--text-dim);
  margin-bottom: 28px;
  max-width: 400px;
  position: relative;
  z-index: 1;
}

.cta-button {
  position: relative;
  z-index: 1;
  padding: 14px 32px;
  font-size: 1rem;
}

/* ========= MOBILE RESPONSIVE ========= */
@media (max-width: 640px) {
  .card-3d {
    max-width: 100%;
  }

  .service-card-premium {
    padding: 24px;
  }

  .contact-card-premium {
    padding: 20px;
    min-height: auto;
  }

  .contact-grid.contact-advanced {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .cta-content {
    padding: 32px 20px;
  }

  .cta-title {
    font-size: 1.4rem;
  }

  .tech-stack {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .services-grid.services-premium {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid.contact-advanced {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ========= PROFILE SHOWCASE SECTION ========= */
.profile-showcase {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 30px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.5) 0%, rgba(15, 23, 42, 0.3) 100%);
  border: 1px solid rgba(99, 102, 241, 0.2);
  overflow: hidden;
  max-width: 400px;
  margin: 0 auto;
}

/* Animated Background Glows */
.profile-bg-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(40px);
}

.glow-primary {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.3) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  animation: glow-float-1 8s ease-in-out infinite;
}

.glow-secondary {
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.2) 0%, transparent 70%);
  bottom: -80px;
  left: -80px;
  animation: glow-float-2 10s ease-in-out infinite;
}

@keyframes glow-float-1 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(30px, -30px); }
}

@keyframes glow-float-2 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-30px, 30px); }
}

/* Decorative Rings */
.profile-bg-ring {
  position: absolute;
  border: 1px solid rgba(99, 102, 241, 0.1);
  border-radius: 50%;
  pointer-events: none;
}

.ring-1 {
  width: 100%;
  height: 100%;
  animation: rotate-ring 20s linear infinite;
}

.ring-2 {
  width: 85%;
  height: 85%;
  top: 7.5%;
  left: 7.5%;
  border-color: rgba(168, 85, 247, 0.08);
  animation: rotate-ring-reverse 25s linear infinite;
}

@keyframes rotate-ring {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes rotate-ring-reverse {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

/* ========= PROFILE IMAGE CONTAINER ========= */
.profile-image-wrapper {
  position: relative;
  width: 100%;
  margin-bottom: 24px;
  z-index: 2;
}

.image-frame {
  position: relative;
  width: 240px;
  height: 280px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid rgba(99, 102, 241, 0.3);
  box-shadow: 0 20px 60px rgba(99, 102, 241, 0.2);
  animation: image-bounce 3s ease-in-out infinite;
}

@keyframes image-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.profile-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.image-frame:hover .profile-image {
  transform: scale(1.05);
}

/* Image Overlay */
.image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(168, 85, 247, 0.1) 100%);
  opacity: 0;
  transition: opacity var(--transition-smooth);
  z-index: 1;
}

.image-frame:hover .image-overlay {
  opacity: 1;
}

/* Shimmer Effect */
.image-shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: shimmer-slide 3s ease-in-out infinite;
  z-index: 2;
  pointer-events: none;
}

@keyframes shimmer-slide {
  0% { transform: translateX(-100%); }
  50% { transform: translateX(100%); }
  100% { transform: translateX(100%); }
}

/* Status Badge */
.profile-status-badge {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(34, 211, 238, 0.15);
  border: 1px solid rgba(34, 211, 238, 0.4);
  border-radius: var(--radius-pill);
  backdrop-filter: blur(10px);
  z-index: 3;
  animation: badge-float 2s ease-in-out infinite;
}

@keyframes badge-float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-5px); }
}

.status-pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22d3ee;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.7); }
  50% { opacity: 0.5; box-shadow: 0 0 0 8px rgba(34, 211, 238, 0); }
}

.status-text {
  font-size: 0.8rem;
  font-weight: 600;
  color: #22d3ee;
}

/* ========= FLOATING BADGES AROUND IMAGE ========= */
.floating-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: var(--accent-light);
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
  backdrop-filter: blur(10px);
  animation: float-badge 3s ease-in-out infinite;
  z-index: 3;
}

.floating-badge i {
  font-size: 0.9rem;
}

.badge-1 {
  top: -15px;
  left: 10px;
  animation-delay: 0s;
}

.badge-2 {
  top: 40px;
  right: -60px;
  animation-delay: 0.5s;
}

.badge-3 {
  bottom: 60px;
  right: -60px;
  animation-delay: 1s;
}

.badge-4 {
  bottom: 40px;
  left: -60px;
  animation-delay: 1.5s;
}

@keyframes float-badge {
  0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.8; }
  50% { transform: translateY(-8px) rotate(2deg); opacity: 1; }
}

/* ========= PROFILE INFO CARD ========= */
.profile-info-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  position: relative;
  z-index: 2;
}

.info-header {
  text-align: center;
  margin-bottom: 8px;
}

.profile-name {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.role-badges {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.role-badge {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: capitalize;
  border: 1px solid;
}

.role-badge.dev {
  background: rgba(99, 102, 241, 0.15);
  color: #818cf8;
  border-color: rgba(99, 102, 241, 0.3);
}

.role-badge.analyst {
  background: rgba(168, 85, 247, 0.15);
  color: #d8b4fe;
  border-color: rgba(168, 85, 247, 0.3);
}

.role-badge.creator {
  background: rgba(34, 211, 238, 0.15);
  color: #22d3ee;
  border-color: rgba(34, 211, 238, 0.3);
}

/* ========= PROFILE STATS ========= */
.profile-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px;
  background: rgba(99, 102, 241, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(99, 102, 241, 0.1);
}

.stat-box {
  flex: 1;
  text-align: center;
}

.stat-value {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent-light);
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-top: 2px;
}

.stat-divider {
  width: 1px;
  height: 30px;
  background: rgba(99, 102, 241, 0.2);
}

/* ========= QUICK TECH STACK ========= */
.quick-tech-stack {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.tech-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px;
  border-radius: 10px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  transition: all var(--transition-smooth);
  cursor: default;
}

.tech-pill:hover {
  background: rgba(99, 102, 241, 0.2);
  border-color: rgba(99, 102, 241, 0.4);
  transform: translateY(-2px);
}

.pill-icon {
  font-size: 1.5rem;
}

.pill-text {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-light);
}

/* ========= PROFILE CTA BUTTONS ========= */
.profile-cta-buttons {
  display: flex;
  gap: 12px;
  width: 100%;
}

.profile-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 1px solid;
  cursor: pointer;
}

.btn-primary-alt {
  background: linear-gradient(135deg, var(--accent), #a855f7);
  color: var(--text);
  border-color: rgba(168, 85, 247, 0.5);
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.btn-primary-alt:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(99, 102, 241, 0.5);
}

.btn-secondary-alt {
  background: rgba(99, 102, 241, 0.1);
  color: var(--text);
  border-color: rgba(99, 102, 241, 0.3);
}

.btn-secondary-alt:hover {
  background: rgba(99, 102, 241, 0.2);
  border-color: rgba(99, 102, 241, 0.5);
  transform: translateY(-3px);
}

.profile-btn i {
  font-size: 1rem;
  transition: transform var(--transition-smooth);
}

.profile-btn:hover i {
  transform: translateX(3px);
}

/* ========= POLITICS OPINION SECTION ========= */
#politics {
  padding: 120px 20px 80px;
  position: relative;
  overflow: hidden;
}

#politics::before {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: radial-gradient(
    circle at 20% 50%,
    rgba(99, 102, 241, 0.08) 0%,
    transparent 50%
  );
  animation: bg-shift-politics 15s ease-in-out infinite;
  pointer-events: none;
}

@keyframes bg-shift-politics {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(20px, 30px); }
}

.politics-section {
  position: relative;
  z-index: 1;
}

.politics-content-wrapper {
  max-width: 1000px;
  margin: 0 auto;
}

/* ========= ENHANCED ARTICLE CARD ========= */
.politics-article {
  padding: 60px;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.5) 0%, rgba(15, 23, 42, 0.3) 100%);
  border: 1px solid rgba(99, 102, 241, 0.2);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.politics-article:hover {
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 0 30px 80px rgba(99, 102, 241, 0.15);
  transform: translateY(-5px);
}

/* Accent Bar */
.politics-article::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--accent) 0%, #a855f7 100%);
  opacity: 1;
  transition: width 0.4s ease;
}

.politics-article:hover::before {
  width: 6px;
}

/* Glow Effect */
.politics-article::after {
  content: '';
  position: absolute;
  top: 0;
  right: -50%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
  animation: glow-rotate 8s linear infinite;
  pointer-events: none;
}

@keyframes glow-rotate {
  from { transform: rotate(0deg) translate(50px, 0); }
  to { transform: rotate(360deg) translate(50px, 0); }
}

.article-body {
  position: relative;
  z-index: 2;
}

.article-paragraph {
  font-size: 1.05rem;
  line-height: 2;
  color: var(--text-muted);
  margin-bottom: 28px;
  text-align: justify;
  transition: all 0.3s ease;
  letter-spacing: 0.3px;
}

.article-paragraph:first-letter {
  font-size: 1.3em;
  font-weight: 700;
  color: var(--accent-light);
  margin-right: 2px;
}

.article-paragraph:last-of-type {
  margin-bottom: 0;
}

.politics-article:hover .article-paragraph {
  color: var(--text);
}

/* ========= ENHANCED HIGHLIGHT BLOCKS ========= */
.article-highlight {
  margin: 50px 0;
  padding: 40px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(168, 85, 247, 0.05) 100%);
  border-left: 5px solid var(--accent);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-left: 5px solid linear-gradient(180deg, var(--accent), #a855f7);
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.article-highlight::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 5px;
  background: linear-gradient(180deg, var(--accent), #a855f7);
  transition: width 0.4s ease;
}

.article-highlight:hover {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(168, 85, 247, 0.1) 100%);
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 0 10px 40px rgba(99, 102, 241, 0.2);
  transform: translateX(5px);
}

.highlight-icon {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 2.5rem;
  opacity: 0.2;
  transition: all 0.4s ease;
  z-index: 0;
}

.article-highlight:hover .highlight-icon {
  opacity: 0.4;
  transform: scale(1.1) rotate(10deg);
}

.highlight-quote {
  font-size: 1.25rem;
  font-style: italic;
  color: var(--accent-light);
  margin: 0;
  line-height: 1.9;
  position: relative;
  z-index: 1;
  font-weight: 600;
}

/* ========= ARTICLE FOOTER WITH METADATA ========= */
.article-footer {
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid rgba(99, 102, 241, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  position: relative;
  z-index: 2;
}

.article-meta {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}

.meta-date,
.meta-category {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: all 0.3s ease;
}

.meta-date:hover,
.meta-category:hover {
  background: rgba(99, 102, 241, 0.2);
  border-color: rgba(99, 102, 241, 0.4);
  color: var(--accent-light);
  transform: translateY(-2px);
}

.meta-date i,
.meta-category i {
  font-size: 1.1rem;
  color: var(--accent-light);
  transition: transform 0.3s ease;
}

.meta-date:hover i,
.meta-category:hover i {
  transform: rotate(15deg) scale(1.1);
}

/* ========= KEY INSIGHTS SECTION ========= */
.politics-insights {
  margin-top: 80px;
  position: relative;
  z-index: 2;
}

.insights-title {
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 50px;
  color: var(--text);
  position: relative;
}

.insights-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), #a855f7);
  border-radius: 2px;
}

.insights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

/* ========= INSIGHT CARDS WITH ICONS ========= */
.insight-card {
  display: flex;
  flex-direction: column;
  padding: 32px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.4) 0%, rgba(15, 23, 42, 0.2) 100%);
  border: 1px solid rgba(99, 102, 241, 0.15);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
  min-height: 250px;
}

.insight-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.1), transparent);
  transition: left 0.5s ease;
  pointer-events: none;
}

.insight-card:hover::before {
  left: 100%;
}

.insight-card:hover {
  border-color: rgba(99, 102, 241, 0.3);
  box-shadow: 0 20px 60px rgba(99, 102, 241, 0.15);
  transform: translateY(-8px);
}

.insight-icon {
  position: relative;
  width: 70px;
  height: 70px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.8rem;
  z-index: 2;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  filter: drop-shadow(0 10px 20px rgba(99, 102, 241, 0.2));
}

.insight-card:hover .insight-icon {
  transform: scale(1.15) rotate(10deg);
  filter: drop-shadow(0 15px 30px rgba(99, 102, 241, 0.4));
}

.insight-card h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 14px;
  text-align: center;
  transition: color 0.3s ease;
  position: relative;
  z-index: 2;
}

.insight-card:hover h4 {
  color: var(--accent-light);
}

.insight-card p {
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 1.7;
  text-align: center;
  margin: 0;
  flex-grow: 1;
  position: relative;
  z-index: 2;
  transition: color 0.3s ease;
}

.insight-card:hover p {
  color: var(--text-muted);
}

/* Icon Backgrounds */
.insight-icon::before {
  content: '';
  position: absolute;
  inset: -15px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, transparent 70%);
  z-index: -1;
  animation: pulse-bg 3s ease-in-out infinite;
}

@keyframes pulse-bg {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.1); opacity: 0.3; }
}

/* ========= DECORATIVE ELEMENTS ========= */
.politics-insights::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: float-element 10s ease-in-out infinite;
  pointer-events: none;
}

@keyframes float-element {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(30px, 30px); }
}

/* ========= MOBILE RESPONSIVE ========= */
@media (max-width: 768px) {
  .politics-article {
    padding: 32px 24px;
  }

  .article-highlight {
    margin: 30px 0;
    padding: 24px;
  }

  .insights-grid {
    grid-template-columns: 1fr;
  }

  .article-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .article-meta {
    flex-direction: column;
    width: 100%;
  }

  .meta-date,
  .meta-category {
    width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  #politics {
    padding: 80px 16px 60px;
  }

  .politics-article {
    padding: 24px 16px;
  }

  .article-paragraph {
    font-size: 1rem;
    line-height: 1.8;
    text-align: left;
  }

  .insights-title {
    font-size: 1.3rem;
  }

  .insight-card {
    padding: 24px;
  }

  .article-highlight {
    padding: 20px;
    border-left-width: 4px;
  }

  .highlight-quote {
    font-size: 1.1rem;
  }
}
/* ===== Kids99.shop Startup Card ===== */
.projects-grid > .project-card:first-child {
  grid-column: 1 / -1;
  max-width: 100%;
  background: linear-gradient(135deg, rgba(16,32,56,0.7) 0%, rgba(8,20,44,0.5) 100%);
  border: 2px solid rgba(34,211,238,0.25);
  box-shadow: 0 25px 60px rgba(34,211,238,0.1), 0 8px 20px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.1);
  position: relative;
  overflow: visible;
}

.project-card.startup-card {
  background: linear-gradient(135deg, rgba(16,32,56,0.7) 0%, rgba(8,20,44,0.5) 100%);
  border: 2px solid rgba(34,211,238,0.25);
  box-shadow: 0 25px 60px rgba(34,211,238,0.1), 0 8px 20px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.1);
  transform: translateZ(0);
  transition: transform 0.45s cubic-bezier(0.2,0.9,0.2,1), box-shadow 0.35s;
  overflow: visible;
  position: relative;
}

/* subtle top-left accent glow */
.project-card.startup-card::before {
  content: "";
  position: absolute;
  top: -24px;
  left: -24px;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle at 30% 30%, rgba(34,211,238,0.12), transparent 40%);
  filter: blur(12px);
  pointer-events: none;
}

/* Hover lift & stronger glow */
.project-card.startup-card.project-hover:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 40px 100px rgba(34,211,238,0.2), 0 15px 40px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.15);
  border-color: rgba(34,211,238,0.4);
}

.projects-grid > .project-card:first-child.project-hover:hover {
  transform: translateY(-12px) scale(1.01);
  box-shadow: 0 40px 100px rgba(34,211,238,0.2), 0 15px 40px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.15);
  border-color: rgba(34,211,238,0.4);
}

/* Badge override for startup */
.project-card.startup-card .project-badge {
  background: linear-gradient(90deg, rgba(34,211,238,0.18), rgba(99,102,241,0.1));
  color: #00ffff;
  border: 1.5px solid rgba(34,211,238,0.35);
  font-weight: 800;
  letter-spacing: 0.08em;
  box-shadow: 0 0 20px rgba(34,211,238,0.15);
}

/* Title styling — bright gradient */
.project-card.startup-card .project-title {
  background: linear-gradient(90deg, #00ffff, #60a5fa, #818cf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 1.5rem;
  margin-top: 8px;
  margin-bottom: 14px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

/* Description — slightly brighter and more readable */
.project-card.startup-card .project-description {
  color: #e0f7ff;
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 20px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
  font-weight: 500;
}

/* Tech pills — cyan theme */
.project-card.startup-card .project-tech span {
  background: linear-gradient(135deg, rgba(34,211,238,0.12), rgba(99,102,241,0.08));
  color: #00ffff;
  border: 1.5px solid rgba(34,211,238,0.3);
  padding: 7px 12px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.82rem;
  box-shadow: 0 4px 12px rgba(34,211,238,0.08);
  transition: all 0.3s ease;
}

.project-card.startup-card .project-tech span:hover {
  background: rgba(34,211,238,0.2);
  border-color: rgba(34,211,238,0.5);
  box-shadow: 0 6px 16px rgba(34,211,238,0.15);
  transform: translateY(-2px);
}

/* Footer and Visit button */
.project-card.startup-card .project-footer {
  border-top: 2px solid rgba(34,211,238,0.12);
  padding-top: 18px;
  margin-top: 14px;
  display: flex;
  gap: 12px;
  align-items: center;
}

.project-card.startup-card .project-link.project-link-demo {
  background: linear-gradient(90deg, rgba(34,211,238,0.15), rgba(99,102,241,0.08));
  color: #ffffff;
  border: 2px solid rgba(34,211,238,0.3);
  padding: 11px 18px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 0.95rem;
  transition: all 0.3s cubic-bezier(0.2,0.9,0.2,1);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(34,211,238,0.12);
  cursor: pointer;
}

/* Button hover */
.project-card.startup-card .project-link.project-link-demo:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 15px 40px rgba(34,211,238,0.2);
  color: #ffffff;
  border-color: rgba(34,211,238,0.5);
  background: linear-gradient(90deg, rgba(34,211,238,0.25), rgba(99,102,241,0.15));
}

/* Button active state */
.project-card.startup-card .project-link.project-link-demo:active {
  transform: translateY(-2px) scale(0.98);
}

/* small icon tweak */
.project-card.startup-card .project-link i {
  font-size: 0.95rem;
  opacity: 0.95;
}

/* responsive tweak for smaller screens */
@media (max-width: 520px) {
  .project-card.startup-card {
    padding: 20px;
  }
  .project-card.startup-card .project-title { font-size: 1.1rem; }
  .project-card.startup-card .project-description { font-size: 0.95rem; }
}
