/* ===================================
   ARDI HIDAYAT — IoT Portfolio CSS
   =================================== */

/* ---- CSS VARIABLES ---- */
:root {
  --bg-primary: #0f172a;
  --bg-secondary: #1e293b;
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-card-hover: rgba(255, 255, 255, 0.08);

  --accent-blue: #6366f1;
  --accent-cyan: #8b5cf6;
  --accent-purple: #a855f7;
  --accent-green: #ec4899;
  --accent-pink: #f43f5e;

  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;

  --border-color: rgba(99, 102, 241, 0.2);
  --border-hover: rgba(99, 102, 241, 0.5);

  --glow-blue: 0 0 30px rgba(99, 102, 241, 0.3);
  --glow-cyan: 0 0 30px rgba(139, 92, 246, 0.25);
  --glow-green: 0 0 30px rgba(236, 72, 153, 0.25);

  --radius: 16px;
  --radius-sm: 8px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ---- PARTICLE CANVAS ---- */
#particle-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.35;
}

/* ---- CONTAINER ---- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- SECTION COMMON ---- */
section { position: relative; z-index: 1; padding: 100px 0; }

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

.section-tag {
  font-family: 'Orbitron', monospace;
  font-size: 0.8rem;
  color: var(--accent-blue);
  letter-spacing: 2px;
  display: block;
  margin-bottom: 12px;
  opacity: 0.8;
}

.section-title {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan), var(--accent-green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- BUTTONS ---- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan));
  color: #050508;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 50px;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  letter-spacing: 0.5px;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 40px rgba(0, 212, 255, 0.5);
  filter: brightness(1.1);
}

.btn-primary:active { transform: translateY(-1px); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: transparent;
  color: var(--accent-blue);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 50px;
  border: 1.5px solid var(--accent-blue);
  transition: var(--transition);
  cursor: pointer;
}

.btn-secondary:hover {
  background: rgba(0, 212, 255, 0.1);
  transform: translateY(-3px);
  box-shadow: var(--glow-blue);
}

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

/* ============================
   NAVBAR
   ============================ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
}

#navbar.scrolled {
  background: rgba(5, 5, 8, 0.9);
  backdrop-filter: blur(20px);
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'Orbitron', monospace;
  font-size: 1.2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 2px;
}

.logo-bracket { color: var(--accent-blue); }
.logo-text { color: var(--text-primary); }
.accent { color: var(--accent-blue); }

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

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-cyan));
  border-radius: 2px;
  transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active { color: var(--accent-blue); }

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

.btn-hire {
  padding: 9px 24px;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan));
  color: #050508;
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: 50px;
  transition: var(--transition);
  display: none;
}

@media (min-width: 768px) { .btn-hire { display: block; } }

.btn-hire:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 212, 255, 0.4);
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.hamburger span {
  display: block;
  width: 25px; height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 769px) { .hamburger { display: none; } }

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 70px; left: 0; right: 0;
    flex-direction: column;
    background: rgba(5, 5, 8, 0.97);
    backdrop-filter: blur(20px);
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border-color);
    transform: translateY(-120%);
    transition: transform 0.4s ease;
    align-items: flex-start;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-link { font-size: 1.1rem; }
}

/* ============================
   HERO SECTION
   ============================ */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  padding: 120px 40px 80px;
  max-width: 1300px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 120px 24px 80px;
  }
  .hero-visual { display: none; }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.25);
  border-radius: 50px;
  font-size: 0.82rem;
  color: var(--accent-blue);
  font-weight: 500;
  margin-bottom: 24px;
}

.badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent-green);
  animation: pulse-dot 1.5s ease infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-name {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 16px;
}

.hero-tagline {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  margin-bottom: 20px;
  min-height: 1.8em;
}

.typing-text { color: var(--accent-cyan); font-weight: 600; }

.cursor {
  color: var(--accent-blue);
  animation: blink 0.8s step-end infinite;
}

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

.hero-desc {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.8;
  max-width: 500px;
  margin-bottom: 36px;
}

.hero-desc strong { color: var(--accent-blue); }

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

@media (max-width: 900px) {
  .hero-btns { justify-content: center; }
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}

@media (max-width: 900px) {
  .hero-stats { justify-content: center; }
}

.stat-item { text-align: center; }

.stat-num {
  display: block;
  font-family: 'Orbitron', monospace;
  font-size: 2rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border-color);
}

/* Hero Orbit Animation */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-orbit {
  position: relative;
  width: 400px; height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--border-color);
}

.ring-1 { width: 260px; height: 260px; animation: orbit-rotate 12s linear infinite; }
.ring-2 { width: 380px; height: 380px; animation: orbit-rotate 20s linear infinite reverse; }

@keyframes orbit-rotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.orbit-icon {
  position: absolute;
  width: 46px; height: 46px;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-blue);
  font-size: 1.1rem;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) rotate(var(--angle)) translateX(120px) rotate(calc(-1 * var(--angle)));
  backdrop-filter: blur(10px);
}

.ring-2 .orbit-icon {
  transform: translate(-50%, -50%) rotate(var(--angle)) translateX(186px) rotate(calc(-1 * var(--angle)));
}

.orbit-center {
  position: relative;
  width: 110px; height: 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.center-glow {
  position: absolute;
  width: 110px; height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.25), transparent 70%);
  animation: center-pulse 2s ease-in-out infinite;
}

@keyframes center-pulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 0.3; }
}

.center-icon {
  font-size: 2rem;
  color: var(--accent-blue);
  filter: drop-shadow(0 0 12px var(--accent-blue));
}

.center-text {
  font-family: 'Orbitron', monospace;
  font-size: 0.75rem;
  color: var(--accent-cyan);
  letter-spacing: 2px;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 1px;
  animation: float-scroll 2s ease-in-out infinite;
}

@keyframes float-scroll {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

.scroll-arrow {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, var(--accent-blue), transparent);
}

/* ============================
   ABOUT SECTION
   ============================ */
.about { background: linear-gradient(180deg, transparent, rgba(0, 212, 255, 0.02), transparent); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 70px;
  align-items: center;
}

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

.about-image-wrap { position: relative; }

.about-img-frame {
  position: relative;
  width: 300px;
  height: 360px;
  border-radius: var(--radius);
  overflow: hidden;
  margin: 0 auto;
}

.img-placeholder,
.profile-img {
  width: 100%; height: 100%;
  border-radius: var(--radius);
  position: relative;
  z-index: 1;
}

.profile-img {
  object-fit: cover;
}

.img-placeholder {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.08), rgba(124, 58, 237, 0.08));
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.img-placeholder i {
  font-size: 4rem;
  color: var(--accent-blue);
  opacity: 0.4;
}

.img-glow {
  position: absolute;
  inset: -2px;
  border-radius: calc(var(--radius) + 2px);
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple), var(--accent-cyan));
  z-index: -1;
  opacity: 0.5;
  animation: glow-rotate 4s linear infinite;
}

@keyframes glow-rotate {
  from { filter: hue-rotate(0deg); }
  to { filter: hue-rotate(360deg); }
}

.img-corner {
  position: absolute;
  width: 20px; height: 20px;
  border-color: var(--accent-blue);
  border-style: solid;
}

.img-corner.tl { top: 8px; left: 8px; border-width: 2px 0 0 2px; }
.img-corner.tr { top: 8px; right: 8px; border-width: 2px 2px 0 0; }
.img-corner.bl { bottom: 8px; left: 8px; border-width: 0 0 2px 2px; }
.img-corner.br { bottom: 8px; right: 8px; border-width: 0 2px 2px 0; }

.about-badge-exp {
  position: absolute;
  bottom: 0; right: -10px;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan));
  color: #050508;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  text-align: center;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
  z-index: 2;
}

.exp-num {
  display: block;
  font-family: 'Orbitron', monospace;
  font-size: 1.8rem;
  font-weight: 900;
}

.exp-label { font-size: 0.7rem; opacity: 0.8; white-space: nowrap; }

.about-subtitle {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.1rem;
  color: var(--accent-blue);
  margin-bottom: 20px;
}

.about-text {
  color: var(--text-secondary);
  margin-bottom: 16px;
  font-size: 0.95rem;
  line-height: 1.8;
}

.about-text strong { color: var(--accent-cyan); }

.about-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 28px 0;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.info-item i { color: var(--accent-blue); width: 16px; }

/* ============================
   SKILLS SECTION
   ============================ */
.skills { background: var(--bg-secondary); }

/* Skills Grid */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

@media (max-width: 1100px) {
  .skills-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 700px) {
  .skills-grid { grid-template-columns: repeat(2, 1fr); }
}

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

/* Skill Card */
.skill-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 28px 20px;
  text-align: center;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: default;
  position: relative;
  overflow: hidden;
}

.skill-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-blue), var(--accent-cyan), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.skill-card:hover::before { opacity: 1; }

.skill-card:hover {
  border-color: rgba(0, 212, 255, 0.35);
  background: var(--bg-card-hover);
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 212, 255, 0.1), 0 0 0 1px rgba(0, 212, 255, 0.15);
}

/* Skill Icon */
.skill-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin: 0 auto 16px;
  background: var(--icon-bg);
  color: var(--icon-color);
  transition: all 0.3s ease;
}

.skill-card:hover .skill-icon {
  transform: scale(1.12);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

/* Skill Name */
.skill-name {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
  margin: 0;
}

/* ============================
   CERTIFICATES & AWARDS SECTION
   ============================ */
.certificates {
  background: linear-gradient(180deg, var(--bg-secondary), var(--bg-primary));
}

/* Certificates Grid */
.certificates-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

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

/* Certificate Card */
.cert-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 24px;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.cert-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-blue), var(--accent-cyan), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.cert-card:hover::before { opacity: 1; }

.cert-card:hover {
  border-color: rgba(0, 212, 255, 0.35);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 212, 255, 0.08), 0 0 0 1px rgba(0, 212, 255, 0.1);
}

/* Certificate Image Wrapper */
.cert-image-wrapper {
  width: 100%;
  height: 220px;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.2);
}

.cert-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}

.cert-card:hover .cert-img {
  transform: scale(1.05);
}

/* Medal Icon (Overlay) */
.cert-medal {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.3s ease;
  z-index: 2;
}

.cert-medal.gold {
  background: rgba(255, 200, 0, 0.15);
  border: 1px solid rgba(255, 200, 0, 0.4);
  color: #fbbf24;
}

.cert-medal.silver {
  background: rgba(192, 192, 220, 0.15);
  border: 1px solid rgba(192, 192, 220, 0.4);
  color: #c0c0dc;
}

.cert-medal.bronze {
  background: rgba(205, 127, 50, 0.15);
  border: 1px solid rgba(205, 127, 50, 0.4);
  color: #cd7f32;
}

.cert-card:hover .cert-medal {
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

/* Certificate Content */
.cert-content {
  flex: 1;
  min-width: 0;
}

/* Badge */
.cert-badge {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.cert-badge.gold {
  background: rgba(255, 200, 0, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(255, 200, 0, 0.3);
}

.cert-badge.silver {
  background: rgba(192, 192, 220, 0.15);
  color: #c0c0dc;
  border: 1px solid rgba(192, 192, 220, 0.3);
}

.cert-badge.bronze {
  background: rgba(205, 127, 50, 0.15);
  color: #cd7f32;
  border: 1px solid rgba(205, 127, 50, 0.3);
}

/* Title */
.cert-title {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.4;
  margin-bottom: 4px;
}

/* Category */
.cert-category {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

/* Meta */
.cert-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.cert-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.cert-meta i {
  font-size: 0.7rem;
  color: var(--accent-blue);
  opacity: 0.7;
}

/* ============================
   PROJECTS SECTION — Catalog Grid
   ============================ */
.projects { background: var(--bg-primary); }

/* Catalog Grid */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 1100px) {
  .catalog-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 800px) {
  .catalog-grid { grid-template-columns: repeat(2, 1fr); }
}

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

/* Catalog Card */
.catalog-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 28px 24px;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.catalog-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-blue), var(--accent-cyan), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.catalog-card:hover::before { opacity: 1; }

.catalog-card:hover {
  border-color: rgba(0, 212, 255, 0.35);
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 212, 255, 0.1), 0 0 0 1px rgba(0, 212, 255, 0.15);
}

/* Catalog Icon */
.catalog-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 18px;
  background: var(--icon-bg);
  color: var(--icon-color);
  transition: all 0.3s ease;
}

.catalog-card:hover .catalog-icon {
  transform: scale(1.1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

/* Catalog Title */
.catalog-title {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.3;
}

/* Catalog Description */
.catalog-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0;
}


/* ============================
   CONTACT SECTION
   ============================ */
.contact { background: var(--bg-secondary); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 60px;
  align-items: start;
}

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

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

.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  transition: var(--transition);
}

.contact-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateX(4px);
}

.contact-card i {
  font-size: 1.4rem;
  color: var(--accent-blue);
  width: 44px; height: 44px;
  background: rgba(0, 212, 255, 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-card h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.contact-card a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.contact-card a:hover { color: var(--accent-blue); }

/* Contact Form */
.contact-form-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 36px;
}

.contact-form { display: flex; flex-direction: column; gap: 20px; }

.form-group { display: flex; flex-direction: column; gap: 8px; }

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
}

.input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.input-wrap i {
  position: absolute;
  left: 16px;
  color: var(--text-muted);
  font-size: 0.9rem;
  z-index: 1;
}

.input-wrap input,
.input-wrap textarea {
  width: 100%;
  padding: 13px 16px 13px 44px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  transition: var(--transition);
  outline: none;
}

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

.textarea-wrap i { top: 14px; align-self: flex-start; }

.input-wrap input:focus,
.input-wrap textarea:focus {
  border-color: var(--accent-blue);
  background: rgba(0, 212, 255, 0.04);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

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

/* ============================
   FOOTER
   ============================ */
.footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--border-color);
  padding: 50px 0;
}

.footer-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.footer-tagline {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-style: italic;
}

.footer-socials {
  display: flex;
  gap: 14px;
}

.social-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--text-secondary);
  transition: var(--transition);
}

.social-btn:hover {
  background: rgba(0, 212, 255, 0.1);
  border-color: var(--accent-blue);
  color: var(--accent-blue);
  transform: translateY(-4px);
  box-shadow: var(--glow-blue);
}

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

/* ============================
   TOAST NOTIFICATION
   ============================ */
.toast {
  position: fixed;
  bottom: 32px; right: 32px;
  background: rgba(0, 255, 159, 0.1);
  border: 1px solid var(--accent-green);
  color: var(--accent-green);
  padding: 14px 22px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  backdrop-filter: blur(16px);
  z-index: 9999;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.toast.show { transform: translateY(0); opacity: 1; }

/* ============================
   SCROLL REVEAL ANIMATION
   ============================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ============================
   SCROLLBAR CUSTOM
   ============================ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: rgba(0, 212, 255, 0.3); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-blue); }

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 600px) {
  .about-info-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; align-items: center; }
  .contact-form-wrap { padding: 24px; }
}

/* ============================
   SELECTION COLOR
   ============================ */
::selection {
  background: rgba(0, 212, 255, 0.25);
  color: var(--accent-cyan);
}
