/* ============================================================
   EDIT THIS FILE TO CUSTOMIZE: colors, fonts, spacing, layout
   ============================================================ */

/* ----- Google Fonts ----- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=JetBrains+Mono:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

/* ===== CSS VARIABLES (color palette) ===== */
:root {
  --bg:              #0a0f14;
  --text-primary:    #e0e6ed;
  --text-secondary:  #8b95a5;
  --accent-1:        #00d4ff;
  --accent-2:        #7c3aed;
  --surface-light:   rgba(255, 255, 255, 0.04);
  --surface-dark:    #05080c;

  --font-heading:   'JetBrains Mono', monospace;
  --font-body:      'Inter', sans-serif;
  --font-mono:      'JetBrains Mono', monospace;

  --transition:     0.3s ease;
  --radius:          8px;
  --shadow:          0 2px 20px rgba(0, 0, 0, 0.4);
  --glow-cyan:       0 0 20px rgba(0, 212, 255, 0.3);
  --glow-purple:     0 0 30px rgba(124, 58, 237, 0.3);
  --glass-bg:        rgba(255, 255, 255, 0.03);
  --glass-border:    rgba(255, 255, 255, 0.06);
}

/* ===== LIGHT THEME ===== */
[data-theme="light"] {
  --bg:              #eff4f9;
  --text-primary:    #1a1a2e;
  --text-secondary:  #546e7a;
  --accent-1:        #0077cc;
  --accent-2:        #5e35b1;
  --surface-light:   rgba(0, 0, 0, 0.03);
  --surface-dark:    #dde4ed;
  --shadow:           0 2px 20px rgba(0, 0, 0, 0.08);
  --glow-cyan:        0 0 16px rgba(0, 119, 204, 0.2);
  --glow-purple:      0 0 24px rgba(94, 53, 177, 0.18);
  --glass-bg:         rgba(255, 255, 255, 0.55);
  --glass-border:     rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .grid-overlay {
  background-image:
    linear-gradient(rgba(0, 119, 204, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 119, 204, 0.06) 1px, transparent 1px);
}

[data-theme="light"] .code-fragment {
  color: rgba(0, 119, 204, 0.08);
}

[data-theme="light"] #navbar.visible {
  background: rgba(221, 228, 237, 0.9);
  box-shadow: 0 2px 30px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] #navbar.visible .nav-links a {
  color: rgba(26, 26, 46, 0.7);
}

[data-theme="light"] .nav-logo {
  color: var(--text-primary);
}

[data-theme="light"] .hamburger-line {
  background: rgba(26, 26, 46, 0.7);
}

[data-theme="light"] .nav-open .nav-links a,
[data-theme="light"] .nav-open#navbar .nav-links a,
[data-theme="light"] .nav-open#navbar.visible .nav-links a {
  color: rgba(26, 26, 46, 0.8) !important;
}

[data-theme="light"] .nav-open .nav-links {
  background: rgba(221, 228, 237, 0.97);
}

[data-theme="light"] .nav-hire-me {
  color: #fff !important;
}

[data-theme="light"] .hero-title {
  color: var(--text-primary);
}

[data-theme="light"] .contact-info h3 {
  color: var(--text-primary);
}

[data-theme="light"] .section-dark .btn-primary {
  color: #fff;
}

[data-theme="light"] .section-dark .btn-primary:hover {
  color: var(--accent-1);
}

[data-theme="light"] .social-link {
  color: var(--text-primary);
}

[data-theme="light"] .modal-window {
  background: #f5f8fc;
  border-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .modal-overlay {
  background: rgba(220, 228, 237, 0.7);
}

[data-theme="light"] .section-dark {
  color: var(--text-primary);
}

[data-theme="light"] .section-dark .section-title.light {
  color: var(--text-primary);
}

[data-theme="light"] .form-group label {
  color: var(--text-secondary);
}

[data-theme="light"] .form-group input,
[data-theme="light"] .form-group textarea {
  color: var(--text-primary);
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.12);
}

[data-theme="light"] .form-group input::placeholder,
[data-theme="light"] .form-group textarea::placeholder {
  color: rgba(84, 110, 122, 0.4);
}

[data-theme="light"] .form-group input:focus,
[data-theme="light"] .form-group textarea:focus {
  background: rgba(0, 119, 204, 0.04);
}

[data-theme="light"] .contact-info p {
  color: var(--text-secondary);
}

[data-theme="light"] .project-info h4 {
  color: var(--text-primary);
}

[data-theme="light"] .achievement-info h4 {
  color: var(--text-primary);
}

/* ===== THEME TOGGLE BUTTON ===== */
.theme-toggle {
  background: none;
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 101;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.theme-toggle:hover {
  border-color: var(--accent-1);
  box-shadow: 0 0 12px rgba(0, 212, 255, 0.25);
}

[data-theme="light"] .theme-toggle:hover {
  box-shadow: 0 0 12px rgba(0, 119, 204, 0.2);
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--text-secondary);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: all 0.4s ease;
}

.theme-toggle:hover svg {
  stroke: var(--accent-1);
}

.theme-toggle .sun-core {
  fill: var(--accent-1);
  opacity: 0;
  transform: scale(0);
  transition: all 0.4s ease;
}

.theme-toggle .moon-rays {
  opacity: 1;
  transition: opacity 0.4s ease;
}

[data-theme="light"] .theme-toggle .sun-core {
  opacity: 1;
  transform: scale(1);
}

[data-theme="light"] .theme-toggle .moon-rays {
  opacity: 0;
}

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  transition: background-color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease, color 0.4s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background-color: var(--bg);
  line-height: 1.7;
  font-weight: 300;
  overflow-x: hidden;
  cursor: default;
  transition: background-color 0.4s ease, color 0.4s ease;
}

/* ===== SCROLL PROGRESS BAR ===== */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
  z-index: 1001;
  width: 0%;
  transition: width 0.1s linear;
  box-shadow: 0 0 10px var(--accent-1), 0 0 20px var(--accent-2);
}

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

#particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ===== GRID OVERLAY ===== */
.grid-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridPulse 4s ease-in-out infinite;
}

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

/* ===== CODE FRAGMENTS ===== */
.code-fragments {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.code-fragment {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: rgba(0, 212, 255, 0.06);
  white-space: nowrap;
  animation: driftFragment linear infinite;
}

@keyframes driftFragment {
  0% { transform: translateY(105vh) translateX(0); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-10vh) translateX(40px); opacity: 0; }
}

/* ===== NAVIGATION ===== */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 0 2rem;
  background: transparent;
  transition: background 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
}

#navbar.visible {
  background: rgba(5, 8, 12, 0.94);
  padding: 0.3rem 2rem;
  box-shadow: 0 2px 30px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(12px);
}

.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  opacity: 0;
  transition: opacity 0.4s ease, text-shadow 0.3s ease;
}

#navbar.visible .nav-logo {
  opacity: 1;
}

.nav-logo:hover {
  text-shadow: 0 0 12px var(--accent-1), 0 0 24px var(--accent-1);
  animation: glitchText 0.3s ease;
}

@keyframes glitchText {
  0%, 100% { transform: translate(0); }
  20% { transform: translate(-1px, 1px); }
  40% { transform: translate(1px, -1px); }
  60% { transform: translate(-1px, -1px); }
  80% { transform: translate(1px, 1px); }
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  color: transparent;
  text-decoration: none;
  font-size: 0.83rem;
  font-weight: 400;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  transition: color 0.3s ease, opacity 0.4s ease, text-shadow 0.3s ease;
  opacity: 0;
  position: relative;
}

#navbar.visible .nav-links a {
  color: rgba(224, 230, 237, 0.7);
  opacity: 1;
}

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

.nav-links a:hover {
  color: var(--accent-1) !important;
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.4);
}

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

.nav-hire-me {
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  color: #fff !important;
  padding: 0.55rem 1.4rem !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
  letter-spacing: 0.5px !important;
  animation: hirePulse 2s ease-in-out infinite;
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.3), 0 0 30px rgba(124, 58, 237, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.nav-hire-me:hover {
  transform: scale(1.08) !important;
  box-shadow: 0 0 25px rgba(0, 212, 255, 0.5), 0 0 50px rgba(124, 58, 237, 0.4) !important;
}

.nav-hire-me::after {
  display: none !important;
}

@keyframes hirePulse {
  0%, 100% { box-shadow: 0 0 15px rgba(0, 212, 255, 0.3), 0 0 30px rgba(124, 58, 237, 0.2); }
  50% { box-shadow: 0 0 25px rgba(0, 212, 255, 0.5), 0 0 45px rgba(124, 58, 237, 0.35); }
}

/* ===== HAMBURGER MENU ===== */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 101;
}

.hamburger-line {
  display: block;
  width: 100%;
  height: 2px;
  background: rgba(224, 230, 237, 0.75);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav-open .hamburger .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-open .hamburger .hamburger-line:nth-child(2) {
  opacity: 0;
}

.nav-open .hamburger .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== HERO / WELCOME ===== */
#welcome {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 2rem;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.hero-glow-follow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(circle 300px at center, rgba(0, 212, 255, 0.04), transparent 70%);
  transition: background 0.1s ease;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  position: relative;
  z-index: 1;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 9vw, 6rem);
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -2px;
  line-height: 1.1;
  text-shadow: 0 0 40px rgba(0, 212, 255, 0.1);
}

.hero-title .char {
  display: inline-block;
  opacity: 0;
  animation: charReveal 0.5s ease forwards;
}

@keyframes charReveal {
  0% { opacity: 0; transform: translateY(30px); filter: blur(4px); }
  100% { opacity: 1; transform: translateY(0); filter: blur(0); }
}

.hero-subtitle {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  color: var(--text-secondary);
  font-weight: 300;
}

.hero-subtitle .highlight {
  color: var(--accent-1);
  font-weight: 500;
  text-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
}

.hero-tagline {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 0.3rem;
  font-family: var(--font-mono);
  display: flex;
  align-items: center;
  gap: 2px;
}

.hero-tagline .typewriter-text {
  color: var(--accent-1);
}

.hero-tagline .typewriter-cursor {
  display: inline-block;
  width: 2px;
  height: 1.1em;
  background: var(--accent-1);
  margin-left: 2px;
  animation: blinkCursor 1s step-end infinite;
  box-shadow: 0 0 6px var(--accent-1);
}

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

.rotating-keywords {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-family: var(--font-mono);
  min-height: 1.5em;
}

.rotating-keywords span {
  position: absolute;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  left: 50%;
  transform: translateX(-50%) translateY(15px);
}

.rotating-keywords span.active {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.rotating-keywords .kw-bracket {
  color: var(--accent-2);
}

.rotating-keywords .kw-text {
  color: var(--accent-1);
}

.location-tag {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-family: var(--font-mono);
  opacity: 0.7;
}

.location-tag::before {
  content: '📍 ';
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 0.5rem;
}

/* ===== SCROLL INDICATOR ===== */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 400;
  font-family: var(--font-mono);
}

.scroll-arrow {
  width: 22px;
  height: 22px;
  border-right: 2px solid var(--accent-1);
  border-bottom: 2px solid var(--accent-1);
  transform: rotate(45deg);
  animation: bounce 2s infinite;
  box-shadow: 0 0 8px rgba(0, 212, 255, 0.3);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: rotate(45deg) translateY(0);
  }
  40% {
    transform: rotate(45deg) translateY(-8px);
  }
  60% {
    transform: rotate(45deg) translateY(-4px);
  }
}

/* ===== SECTIONS ===== */
.section {
  position: relative;
  z-index: 1;
  padding: 100px 2rem;
  background-color: var(--bg);
}

.section-alt {
  background-color: var(--surface-dark);
}

.section-dark {
  background-color: var(--surface-dark);
  color: var(--surface-light);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 500;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 3.5rem;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
  margin: 1rem auto 0;
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.4);
}

.section-title.light {
  color: var(--surface-light);
}

/* ===== SCROLL REVEAL ANIMATION ===== */
.reveal-hidden {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* ===== ABOUT ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  align-items: center;
}

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

.profile-photo-wrapper {
  perspective: 800px;
}

.profile-photo-placeholder {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.08), rgba(124, 58, 237, 0.08));
  border: 3px solid var(--accent-1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 0.9rem;
  text-align: center;
  line-height: 1.4;
  overflow: hidden;
  transition: transform 0.1s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 25px rgba(0, 212, 255, 0.15);
  transform-style: preserve-3d;
}

.profile-photo-placeholder:hover {
  box-shadow: 0 0 40px rgba(0, 212, 255, 0.3), 0 0 60px rgba(124, 58, 237, 0.2);
}

.profile-photo-placeholder img,
.profile-photo {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  pointer-events: none;
}

.about-text h3 {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  color: var(--text-primary);
  margin-bottom: 0.3rem;
}

.about-title {
  color: var(--accent-1);
  font-weight: 500;
  margin-bottom: 1.2rem;
  font-size: 1rem;
  font-family: var(--font-mono);
}

.about-bio {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.8;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  text-align: center;
  line-height: 1.4;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  color: #fff;
  border-color: transparent;
}

.btn-primary:hover {
  background: transparent;
  color: var(--accent-1);
  border-color: var(--accent-1);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.btn-outline {
  background-color: transparent;
  color: var(--text-primary);
  border-color: rgba(224, 230, 237, 0.3);
}

.btn-outline:hover {
  background-color: rgba(0, 212, 255, 0.08);
  color: var(--accent-1);
  border-color: var(--accent-1);
}

.btn-lg {
  padding: 1rem 2.8rem;
  font-size: 1.1rem;
}

.btn .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: scale(0);
  animation: rippleEffect 0.6s ease-out forwards;
  pointer-events: none;
}

@keyframes rippleEffect {
  to { transform: scale(3); opacity: 0; }
}

.magnetic-btn {
  transition: transform 0.2s ease;
}

/* ===== SKILLS ===== */
.skills-wrapper {
  position: relative;
}

.orbit-rings {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  pointer-events: none;
  z-index: 0;
}

.orbit-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  border: 1px solid rgba(0, 212, 255, 0.08);
  transform: translate(-50%, -50%);
  animation: orbitSpin linear infinite;
}

.orbit-ring:nth-child(1) { width: 300px; height: 300px; animation-duration: 25s; }
.orbit-ring:nth-child(2) { width: 400px; height: 400px; animation-duration: 35s; border-color: rgba(124, 58, 237, 0.08); }
.orbit-ring:nth-child(3) { width: 500px; height: 500px; animation-duration: 45s; }

@keyframes orbitSpin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}

.skills-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  position: relative;
  z-index: 1;
}

.skills-column h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--accent-1);
  display: inline-block;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.skill-tag {
  background: var(--glass-bg);
  backdrop-filter: blur(6px);
  color: var(--text-primary);
  padding: 0.55rem 1.3rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 400;
  font-family: var(--font-mono);
  border: 1px solid var(--glass-border);
  transition: all var(--transition);
  cursor: default;
  opacity: 0;
  transform: translateY(15px);
}

.skill-tag.revealed {
  opacity: 1;
  transform: translateY(0);
}

.skill-tag:hover {
  background: rgba(0, 212, 255, 0.1);
  color: var(--accent-1);
  border-color: var(--accent-1);
  transform: translateY(-3px) scale(1.05) !important;
  box-shadow: 0 0 18px rgba(0, 212, 255, 0.25);
}

.soft-skills-list {
  list-style: none;
}

.soft-skills-list li {
  padding: 0.8rem 0;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.95rem;
  position: relative;
}

.soft-skills-list li::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--accent-1);
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 6px var(--accent-1);
}

.soft-skill-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
  width: 0%;
  border-radius: 1px;
  transition: width 1.2s ease;
  box-shadow: 0 0 6px rgba(0, 212, 255, 0.3);
}

/* ===== PROJECTS ===== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.project-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  cursor: pointer;
  transform-style: preserve-3d;
  perspective: 1000px;
  opacity: 0;
  transform: translateY(40px);
  transition: transform 0.4s ease, opacity 0.6s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.project-card.revealed {
  opacity: 1;
  transform: translateY(0);
}

.project-card::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: calc(var(--radius) + 2px);
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2), var(--accent-1));
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
  background-size: 200% 200%;
  animation: gradientRotate 3s linear infinite;
}

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

.project-card:hover {
  border-color: transparent;
  box-shadow: 0 8px 40px rgba(0, 212, 255, 0.15);
}

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

.project-image {
  height: 200px;
  overflow: hidden;
}

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

.project-card:hover .project-image img {
  transform: scale(1.06);
}

.image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-family: var(--font-mono);
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.04), rgba(124, 58, 237, 0.04));
}

.project-info {
  padding: 1.6rem;
}

.project-info h4 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.project-info p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.project-link {
  display: inline-block;
  color: var(--accent-1);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.85rem;
  font-family: var(--font-mono);
  transition: all var(--transition);
  cursor: pointer;
}

.project-link:hover {
  color: var(--accent-2);
  transform: translateX(6px);
  text-shadow: 0 0 8px rgba(124, 58, 237, 0.4);
}

/* ===== ACHIEVEMENTS ===== */
.achievements-wrapper {
  position: relative;
}

.achievements-timeline {
  position: absolute;
  left: 30px;
  top: 0;
  bottom: 0;
  width: 2px;
  z-index: 0;
}

.achievements-timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 0;
  background: linear-gradient(180deg, var(--accent-1), var(--accent-2));
  box-shadow: 0 0 8px var(--accent-1);
  transition: height 0.3s ease;
}

.achievements-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.achievement-item {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem 1.8rem;
  background: var(--glass-bg);
  backdrop-filter: blur(6px);
  border-radius: var(--radius);
  border: 1px solid var(--glass-border);
  border-left: 4px solid var(--accent-1);
  transition: all var(--transition);
  opacity: 0;
}

.achievement-item:nth-child(odd) {
  transform: translateX(-40px);
}

.achievement-item:nth-child(even) {
  transform: translateX(40px);
}

.achievement-item.revealed {
  opacity: 1;
  transform: translateX(0);
}

.achievement-item:hover {
  border-left-color: var(--accent-2);
  transform: translateX(6px) !important;
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.1);
}

.achievement-icon {
  font-size: 2rem;
  flex-shrink: 0;
  line-height: 1;
  transition: transform 0.4s ease;
}

.achievement-item:hover .achievement-icon {
  transform: rotate(360deg);
}

.achievement-info h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
}

.achievement-date {
  color: var(--accent-1);
  font-size: 0.85rem;
  font-weight: 500;
  font-family: var(--font-mono);
  margin-bottom: 0.5rem;
}

.achievement-info p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* ===== RESUME ===== */
.resume-section {
  text-align: center;
}

.resume-text {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

.download-icon {
  margin-right: 0.5rem;
  font-size: 1.2rem;
}

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  align-items: start;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
  font-family: var(--font-mono);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: all var(--transition);
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-1);
  background: rgba(0, 212, 255, 0.06);
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(139, 149, 165, 0.4);
}

.section-dark .btn-primary {
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  color: #fff;
  border-color: transparent;
}

.section-dark .btn-primary:hover {
  background: transparent;
  color: var(--accent-1);
  border-color: var(--accent-1);
}

.contact-info h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.contact-info p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.social-link {
  display: block;
  padding: 0.8rem 1.5rem;
  background: var(--glass-bg);
  backdrop-filter: blur(6px);
  color: var(--text-primary);
  text-decoration: none;
  border-radius: var(--radius);
  border: 1px solid var(--glass-border);
  transition: all var(--transition);
  text-align: center;
  font-weight: 400;
  opacity: 0;
  transform: translateX(30px);
}

.social-link.revealed {
  opacity: 1;
  transform: translateX(0);
}

.social-link:hover {
  background: rgba(0, 212, 255, 0.1);
  border-color: var(--accent-1);
  transform: translateX(4px) translateY(-2px);
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.15);
}

/* ===== FOOTER ===== */
footer {
  background: var(--surface-dark);
  color: var(--text-secondary);
  text-align: center;
  padding: 2rem;
  font-size: 0.85rem;
  position: relative;
  z-index: 1;
  font-family: var(--font-mono);
}

/* ==============================================================
   PRICING SECTION
   ============================================================== */
#pricing {
  position: relative;
  overflow: hidden;
}

.circuit-lines {
  position: absolute;
  top: 15%;
  left: 10%;
  width: 80%;
  height: 60%;
  pointer-events: none;
  z-index: 0;
}

.circuit-lines svg {
  width: 100%;
  height: 100%;
}

.circuit-line-path {
  fill: none;
  stroke: rgba(0, 212, 255, 0.15);
  stroke-width: 1.5;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  transition: stroke-dashoffset 2s ease;
}

.circuit-line-path.drawn {
  stroke-dashoffset: 0;
}

.circuit-node {
  fill: var(--accent-1);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.circuit-node.lit {
  opacity: 1;
  animation: nodePulse 2s ease-in-out infinite;
}

@keyframes nodePulse {
  0%, 100% { r: 3; opacity: 0.6; }
  50% { r: 5; opacity: 1; }
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1050px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.pricing-card {
  background: var(--glass-bg);
  backdrop-filter: blur(14px);
  border-radius: 16px;
  padding: 2.2rem 1.8rem;
  border: 1px solid var(--glass-border);
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
  opacity: 0;
}

/* Floating animation per card */
.pricing-card:nth-child(1) {
  transform: translateY(40px);
  animation: float1 4s ease-in-out infinite;
  animation-play-state: paused;
}

.pricing-card:nth-child(2) {
  transform: translateY(40px);
  animation: float2 4s ease-in-out infinite;
  animation-play-state: paused;
}

.pricing-card:nth-child(3) {
  transform: translateY(40px);
  animation: float3 4s ease-in-out infinite;
  animation-play-state: paused;
}

.pricing-card.revealed:nth-child(1),
.pricing-card.revealed:nth-child(2),
.pricing-card.revealed:nth-child(3) {
  opacity: 1;
  transform: translateY(0);
  animation-play-state: running;
}

@keyframes float1 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

@keyframes float2 {
  0%, 100% { transform: translateY(-7px); }
  50% { transform: translateY(10px); }
}

@keyframes float3 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.pricing-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 17px;
  background: linear-gradient(135deg, var(--accent-1), transparent, var(--accent-2));
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.pricing-card:hover {
  transform: scale(1.03) !important;
  border-color: transparent;
  animation-play-state: paused !important;
}

.pricing-card:hover::before {
  opacity: 0.5;
}

.pricing-icon {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  display: block;
  filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.3));
}

.pricing-card h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.pricing-price {
  font-family: var(--font-mono);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--accent-1);
  margin-bottom: 1.2rem;
}

.pricing-price span {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 400;
}

.pricing-features {
  list-style: none;
  margin-bottom: 1.8rem;
  text-align: left;
}

.pricing-features li {
  padding: 0.5rem 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.pricing-features li svg {
  flex-shrink: 0;
}

.pricing-features li .check-circle {
  fill: none;
  stroke: var(--accent-1);
  stroke-width: 2;
}

.pricing-features li .check-path {
  fill: none;
  stroke: var(--accent-1);
  stroke-width: 2;
  stroke-dasharray: 20;
  stroke-dashoffset: 20;
  transition: stroke-dashoffset 0.5s ease;
}

.pricing-features li.checked .check-path {
  stroke-dashoffset: 0;
}

.pricing-card .btn {
  width: 100%;
}

/* ===== HIRE ME SECTION ===== */
#hire-me {
  position: relative;
  overflow: hidden;
}

.hire-me-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hire-me-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.hire-me-content p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.hire-me-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hire-me-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.hire-me-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--accent-1);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-1);
  animation: particleOrbit linear infinite;
}

@keyframes particleOrbit {
  0% { transform: translate(0, 0) scale(1); opacity: 0.8; }
  50% { transform: translate(40px, -60px) scale(0.4); opacity: 0.4; }
  100% { transform: translate(80px, 10px) scale(1); opacity: 0.8; }
}

/* ===== MODAL OVERLAY (floating window for project details) ===== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 8, 12, 0.82);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  backdrop-filter: blur(8px);
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-window {
  position: relative;
  background: var(--surface-dark);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  max-width: 780px;
  width: 92%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 12px 60px rgba(0, 0, 0, 0.5);
  transform: translateY(30px) scale(0.97);
  transition: transform 0.35s ease;
  overflow: hidden;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-window {
  position: relative;
  background: var(--surface-light);
  border-radius: var(--radius);
  max-width: 780px;
  width: 92%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 12px 60px rgba(0, 0, 0, 0.25);
  transform: translateY(30px) scale(0.97);
  transition: transform 0.35s ease;
  overflow: hidden;
}

.modal-overlay.open .modal-window {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 0.8rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 2rem;
  line-height: 1;
  color: var(--text-secondary);
  cursor: pointer;
  z-index: 10;
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  transition: all var(--transition);
}

.modal-close:hover {
  color: var(--accent-1);
  background: rgba(0, 212, 255, 0.08);
}

.modal-scroll {
  overflow-y: auto;
  padding: 1.5rem 2rem 2.5rem;
  max-height: 85vh;
}

.modal-gallery {
  display: flex;
  gap: 0.8rem;
  overflow-x: auto;
  margin-bottom: 1.8rem;
  padding-bottom: 0.5rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.modal-gallery::-webkit-scrollbar {
  height: 6px;
}

.modal-gallery::-webkit-scrollbar-thumb {
  background: var(--accent-1);
  border-radius: 3px;
}

.modal-gallery img {
  flex: 0 0 auto;
  width: 320px;
  height: 220px;
  object-fit: cover;
  border-radius: 6px;
  scroll-snap-align: start;
  border: 1px solid var(--glass-border);
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--text-primary);
  margin-bottom: 0.6rem;
}

.modal-meta {
  color: var(--accent-1);
  font-weight: 500;
  font-size: 0.9rem;
  font-family: var(--font-mono);
  margin-bottom: 1rem;
}

.modal-desc {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.modal-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.8rem;
}

.modal-tech .skill-tag {
  background: var(--glass-bg);
}

.modal-link[href="#"] {
  display: none;
}

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

/* ---- 640px & below: phones, hamburger menu, single column ---- */
@media (max-width: 640px) {

  .nav-right {
    gap: 0.5rem;
  }

  .hamburger {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    flex-direction: column;
    background: rgba(5, 8, 12, 0.97);
    backdrop-filter: blur(12px);
    padding: 0;
    display: none;
    gap: 0;
  }

  .nav-open .nav-links {
    display: flex;
  }

  .nav-links a {
    padding: 1rem 2rem;
    font-size: 1rem;
    letter-spacing: 0.8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    text-align: center;
  }

  [data-theme="light"] .nav-links a {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }

  .nav-open .nav-links a,
  .nav-open#navbar .nav-links a,
  .nav-open#navbar.visible .nav-links a {
    color: rgba(224, 230, 237, 0.8) !important;
    opacity: 1 !important;
  }

  .nav-hire-me {
    display: inline-block !important;
    margin: 0.5rem auto;
    width: auto;
    text-align: center;
  }

  .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-text .btn {
    margin: 0 auto;
  }

  .skills-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

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

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

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

  .achievement-item {
    flex-direction: column;
    gap: 0.8rem;
    padding: 1.2rem 1.4rem;
  }

  .section {
    padding: 60px 1.2rem;
  }

  .profile-photo-placeholder {
    width: 200px;
    height: 200px;
  }

  .container {
    padding: 0 1rem;
  }

  .orbit-rings {
    display: none;
  }

  .modal-window {
    width: 96%;
    max-height: 90vh;
  }

  .modal-scroll {
    padding: 1.2rem 1.2rem 2rem;
  }

  .modal-gallery img {
    width: 260px;
    height: 180px;
  }

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

  .pricing-card {
    animation: none !important;
  }
}

/* ---- 641px–768px: small tablets portrait, tighter two-column layouts ---- */
@media (min-width: 641px) and (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .skills-grid {
    gap: 2rem;
  }

  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

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

  .pricing-card:nth-child(3) {
    grid-column: 1 / -1;
    max-width: 400px;
    justify-self: center;
  }

  .contact-grid {
    gap: 2rem;
  }

  .section {
    padding: 70px 1.5rem;
  }

  .profile-photo-placeholder {
    width: 220px;
    height: 220px;
  }

  .orbit-rings {
    display: none;
  }
}

/* ---- 480px & below: small phone tweaks ---- */
@media (max-width: 480px) {
  .hero-title {
    font-size: 2.8rem;
    letter-spacing: -1px;
  }

  .section-title {
    font-size: 1.7rem;
  }

  .skill-tags {
    gap: 0.5rem;
  }

  .skill-tag {
    font-size: 0.8rem;
    padding: 0.45rem 1rem;
  }
}

/* ==============================================================
   PRICING MODAL
   ============================================================== */

#pricing-modal .modal-window {
  max-width: 820px;
}

.pricing-modal-heading {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--text-primary);
  margin: 2rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--glass-border);
}

.pricing-projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}

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

.pricing-project-card:hover {
  border-color: var(--accent-1);
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.1);
}

.pricing-project-image {
  height: 160px;
  overflow: hidden;
}

.pricing-project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pricing-project-info {
  padding: 1rem;
}

.pricing-project-info h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}

.pricing-project-info p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-bottom: 0.6rem;
  line-height: 1.5;
}

.pricing-no-projects {
  color: var(--text-secondary);
  font-size: 0.95rem;
  text-align: center;
  padding: 2rem 0;
  grid-column: 1 / -1;
}

.pricing-no-projects a {
  color: var(--accent-1);
  text-decoration: none;
}

/* Template cards for sale */
.templates-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}

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

.template-card:hover {
  border-color: var(--accent-2);
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.15);
}

.template-image {
  height: 170px;
  overflow: hidden;
}

.template-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

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

.template-info {
  padding: 1.2rem;
}

.template-info h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}

.template-desc {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.template-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.template-price {
  font-family: var(--font-mono);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--accent-1);
}

.btn-sm {
  padding: 0.5rem 1.2rem;
  font-size: 0.8rem;
}

/* Purchase form */
#purchase-form-wrapper {
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
}

.purchase-preview {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--accent-1);
  margin-bottom: 1.2rem;
  padding: 0.6rem 1rem;
  background: rgba(0, 212, 255, 0.06);
  border-radius: 6px;
  border-left: 3px solid var(--accent-1);
}

#purchase-form .form-group {
  margin-bottom: 1rem;
}

#purchase-form .form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 0.3rem;
  font-family: var(--font-mono);
}

#purchase-form .form-group input,
#purchase-form .form-group textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all var(--transition);
  resize: vertical;
}

#purchase-form .form-group input:focus,
#purchase-form .form-group textarea:focus {
  outline: none;
  border-color: var(--accent-1);
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.1);
}

#purchase-form .form-group input::placeholder,
#purchase-form .form-group textarea::placeholder {
  color: rgba(139, 149, 165, 0.4);
}

.purchase-form-buttons {
  display: flex;
  gap: 0.8rem;
  margin-top: 0.5rem;
}

.pricing-card {
  cursor: pointer;
}

@media (max-width: 640px) {
  .pricing-projects-grid,
  .templates-grid {
    grid-template-columns: 1fr;
  }

  .template-footer {
    flex-direction: column;
    gap: 0.8rem;
    align-items: flex-start;
  }

  .purchase-form-buttons {
    flex-direction: column;
  }

  #pricing-modal .modal-window {
    width: 96%;
    max-height: 90vh;
  }
}
