/* ===== CSS Variables ===== */
:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #12121a;
  --bg-card: #1a1a2e;
  --bg-card-hover: #222240;
  --text-primary: #e8e8ed;
  --text-secondary: #9999aa;
  --text-muted: #666677;
  --accent: #6c63ff;
  --accent-light: #8b83ff;
  --accent-glow: rgba(108, 99, 255, 0.3);
  --gradient-1: linear-gradient(135deg, #6c63ff, #e040fb);
  --gradient-2: linear-gradient(135deg, #667eea, #764ba2);
  --border: rgba(255, 255, 255, 0.06);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ===== Light Mode ===== */
[data-theme="light"] {
  --bg-primary: #f5f5f7;
  --bg-secondary: #eaeaef;
  --bg-card: #ffffff;
  --bg-card-hover: #f0f0f5;
  --text-primary: #1a1a2e;
  --text-secondary: #4a4a5a;
  --text-muted: #7a7a8a;
  --accent: #6c63ff;
  --accent-light: #5a52e0;
  --accent-glow: rgba(108, 99, 255, 0.2);
  --gradient-1: linear-gradient(135deg, #6c63ff, #e040fb);
  --gradient-2: linear-gradient(135deg, #667eea, #764ba2);
  --border: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .navbar.scrolled {
  background: rgba(245, 245, 247, 0.9);
}

[data-theme="light"] .hero-video-overlay {
  background:
    linear-gradient(180deg, rgba(245, 245, 247, 0.65) 0%, rgba(245, 245, 247, 0.35) 40%, rgba(245, 245, 247, 0.65) 100%),
    rgba(245, 245, 247, 0.25);
}

[data-theme="light"] .hero-name {
  color: #1a1a2e;
  text-shadow: none;
}

[data-theme="light"] .hero-title {
  color: rgba(26, 26, 46, 0.8);
  text-shadow: none;
}

[data-theme="light"] .hero-description {
  color: rgba(26, 26, 46, 0.65);
  text-shadow: none;
}

[data-theme="light"] .hero-bg-grid {
  background-image:
    linear-gradient(rgba(108, 99, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108, 99, 255, 0.06) 1px, transparent 1px);
}

[data-theme="light"] .hero::before {
  background: radial-gradient(circle, rgba(108, 99, 255, 0.1), transparent 70%);
}

[data-theme="light"] .btn-primary {
  color: #fff;
}

[data-theme="light"] .btn-primary:hover {
  color: #fff;
}

[data-theme="light"] .btn-outline {
  color: var(--text-primary);
  border-color: rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .btn-outline:hover {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.25);
  color: var(--text-primary);
}

[data-theme="light"] .nav-cta {
  color: #fff !important;
}

[data-theme="light"] .nav-cta:hover {
  color: #fff !important;
}

[data-theme="light"] .nav-links a {
  color: var(--text-secondary);
}

[data-theme="light"] .nav-links a:hover {
  color: var(--text-primary);
}

[data-theme="light"] .service-card.featured {
  background: linear-gradient(135deg, rgba(108, 99, 255, 0.06), var(--bg-card));
}

[data-theme="light"] .pricing-card.featured {
  background: linear-gradient(135deg, rgba(108, 99, 255, 0.06), var(--bg-card));
}

[data-theme="light"] .project-card:hover,
[data-theme="light"] .pricing-card:hover,
[data-theme="light"] .process-step:hover {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .service-number {
  color: rgba(108, 99, 255, 0.2);
}

[data-theme="light"] .service-tech li {
  background: rgba(108, 99, 255, 0.08);
  color: var(--accent);
}

[data-theme="light"] .project-tags span {
  background: rgba(0, 0, 0, 0.05);
  color: var(--text-secondary);
}

[data-theme="light"] .project-image {
  background: var(--bg-secondary);
}

[data-theme="light"] .hero-mockup img {
  filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.15));
}

[data-theme="light"] .nav-toggle span {
  background: var(--text-primary);
}

[data-theme="light"] .lang-option.active,
[data-theme="light"] .theme-icon.active {
  color: #fff;
}

[data-theme="light"] a {
  color: var(--accent);
}

[data-theme="light"] a:hover {
  color: var(--text-primary);
}

[data-theme="light"] .stat-number {
  color: var(--text-primary);
}

[data-theme="light"] .form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%237a7a8a' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
}

[data-theme="light"] .form-group select option {
  background: var(--bg-card);
  color: var(--text-primary);
}

[data-theme="light"] .pricing-features li::before {
  background: rgba(108, 99, 255, 0.1);
}

/* ===== Theme Transition ===== */
body,
body *:not(.theme-slider):not(.lang-slider) {
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent-light); text-decoration: none; transition: color var(--transition); }
a:hover { color: #fff; }

img { max-width: 100%; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== Navbar ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}

.dot { color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition);
}

.nav-links a:hover { color: var(--text-primary); }

.nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600 !important;
}

.nav-cta:hover {
  background: var(--accent-light) !important;
  color: #fff !important;
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 3px;
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font);
  position: relative;
  width: 72px;
  height: 32px;
}

.lang-toggle:hover {
  border-color: rgba(108, 99, 255, 0.4);
}

.lang-option {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  user-select: none;
  opacity: 0.5;
  transition: opacity var(--transition);
}

.lang-option.active {
  opacity: 1;
}

.lang-flag {
  width: 18px;
  height: 13px;
  object-fit: cover;
  border-radius: 2px;
}

.lang-slider {
  position: absolute;
  top: 3px;
  width: 33px;
  height: 24px;
  background: var(--accent);
  border-radius: 50px;
  transition: transform var(--transition);
  z-index: 1;
  box-shadow: 0 2px 8px var(--accent-glow);
}

.lang-slider.pos-left {
  transform: translateX(0);
}

.lang-slider.pos-right {
  transform: translateX(33px);
}

/* ===== Theme Toggle ===== */
.theme-toggle {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 3px;
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font);
  position: relative;
  width: 72px;
  height: 32px;
}

.theme-toggle:hover {
  border-color: rgba(108, 99, 255, 0.4);
}

.theme-icon {
  position: relative;
  z-index: 2;
  flex: 1;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color var(--transition);
  line-height: 26px;
  pointer-events: none;
  user-select: none;
}

.theme-icon.active {
  color: #fff;
}

.theme-slider {
  position: absolute;
  top: 3px;
  width: 33px;
  height: 24px;
  background: var(--accent);
  border-radius: 50px;
  transition: transform var(--transition);
  z-index: 1;
  box-shadow: 0 2px 8px var(--accent-glow);
}

.theme-slider.pos-dark {
  transform: translateX(33px);
}

.theme-slider.pos-light {
  transform: translateX(0);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== Hero ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 120px 24px 80px;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 10, 15, 0.85) 0%, rgba(10, 10, 15, 0.6) 40%, rgba(10, 10, 15, 0.85) 100%),
    rgba(10, 10, 15, 0.5);
  z-index: 1;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image:
    linear-gradient(rgba(108, 99, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108, 99, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-glow), transparent 70%);
  pointer-events: none;
}

.hero-layout {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 60px;
  max-width: 1200px;
  width: 100%;
}

.hero-content {
  text-align: left;
  flex: 1;
  min-width: 0;
}

.hero-mockup {
  flex: 0 0 auto;
  width: 580px;
}

.hero-mockup img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.4));
  transition: transform 0.3s ease;
}

.hero-mockup img:hover {
  animation: mockup-bob 2s ease-in-out infinite;
}

@keyframes mockup-bob {
  0%, 100% { transform: translateY(-10px); }
  50% { transform: translateY(10px); }
}

.hero-greeting {
  font-size: 1.1rem;
  color: var(--accent);
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hero-name {
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 20px;
  color: #fff;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.hero-title {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 24px;
  font-weight: 400;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

.separator { color: var(--accent); margin: 0 8px; }

.hero-description {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 560px;
  margin: 0 0 40px;
  line-height: 1.8;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: flex-start;
  margin-bottom: 60px;
}

.btn {
  display: inline-flex;
  align-items: center;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  font-family: var(--font);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary:hover {
  background: var(--accent-light);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--accent-glow);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
  transform: translateY(-2px);
}

.btn-full { width: 100%; justify-content: center; }

.hero-stats {
  display: flex;
  justify-content: flex-start;
  gap: 60px;
}

.stat { text-align: center; }

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}

.stat-number::after { content: '+'; color: var(--accent); }

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
  display: block;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}

.mouse {
  width: 24px;
  height: 40px;
  border: 2px solid var(--text-muted);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.wheel {
  width: 3px;
  height: 8px;
  background: var(--accent);
  border-radius: 3px;
  animation: scroll 2s ease-in-out infinite;
}

@keyframes scroll {
  0%, 100% { opacity: 1; transform: translateY(0); }
  50% { opacity: 0.3; transform: translateY(8px); }
}

/* ===== Sections ===== */
.section {
  padding: 120px 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 16px;
  letter-spacing: -1px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 64px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== About ===== */
.about-photo {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent);
  margin-bottom: 24px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.about-text p {
  color: var(--text-secondary);
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.about-lead {
  font-size: 1.2rem !important;
  color: var(--text-primary) !important;
}

.about-highlight {
  background: var(--bg-card);
  border-left: 3px solid var(--accent);
  padding: 20px 24px;
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--text-primary) !important;
  font-style: italic;
}

.about-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.detail-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: all var(--transition);
}

.detail-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(108, 99, 255, 0.2);
  transform: translateY(-4px);
}

.detail-icon {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.detail-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.detail-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ===== Services ===== */
.services { background: var(--bg-secondary); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-1);
  opacity: 0;
  transition: opacity var(--transition);
}

.service-card:hover {
  border-color: rgba(108, 99, 255, 0.15);
  transform: translateY(-4px);
}

.service-card:hover::before { opacity: 1; }

.service-card.featured {
  border-color: rgba(108, 99, 255, 0.2);
  background: linear-gradient(135deg, rgba(108, 99, 255, 0.08), var(--bg-card));
}

.service-card.featured::before { opacity: 1; }

.service-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.service-number {
  font-size: 3rem;
  font-weight: 800;
  color: rgba(108, 99, 255, 0.15);
  line-height: 1;
  margin-bottom: 16px;
}

.service-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.service-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 24px;
  line-height: 1.7;
}

.service-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.service-tech li {
  background: rgba(108, 99, 255, 0.1);
  color: var(--accent-light);
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* ===== Pricing ===== */
.pricing { background: var(--bg-primary); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  transition: all var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  border-color: rgba(108, 99, 255, 0.15);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.pricing-card.featured {
  border-color: rgba(108, 99, 255, 0.3);
  background: linear-gradient(135deg, rgba(108, 99, 255, 0.08), var(--bg-card));
}

.pricing-card.featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-1);
}

.pricing-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.pricing-header {
  text-align: center;
  margin-bottom: 32px;
}

.pricing-header h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.pricing-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

.pricing-price {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  margin-bottom: 8px;
}

.pricing-currency {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
  margin-top: 8px;
}

.pricing-amount {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1;
  color: var(--text-primary);
}

.pricing-delivery {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
  flex-grow: 1;
}

.pricing-features li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding-left: 28px;
  position: relative;
  line-height: 1.5;
}

.pricing-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 5px;
  width: 16px;
  height: 16px;
  background: rgba(108, 99, 255, 0.15);
  border-radius: 50%;
  border: 2px solid var(--accent);
}

.pricing-features li::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 9px;
  width: 8px;
  height: 4px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

/* ===== Process ===== */
.process { background: var(--bg-secondary); }

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}

.process-step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: all var(--transition);
  position: relative;
}

.process-step:hover {
  border-color: rgba(108, 99, 255, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.process-number {
  width: 44px;
  height: 44px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 20px;
  box-shadow: 0 4px 16px var(--accent-glow);
}

.process-step h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.process-step p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.process-cta {
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
}

.process-cta h3 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.process-cta p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 500px;
  margin: 0 auto 28px;
  line-height: 1.7;
}

/* ===== Projects ===== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: rgba(108, 99, 255, 0.2);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.project-card.large {
  grid-column: span 2;
  grid-row: span 2;
}

.project-card.large .project-image {
  height: 300px;
}

.project-image {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
  background: var(--bg-card-hover);
}

.project-info {
  padding: 24px;
}

.project-year {
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.project-info h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.project-info p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.project-tags span {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 500;
}

/* ===== Skills ===== */
.skills { background: var(--bg-secondary); }

.skills-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

.skill-category {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.skill-category h3 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.skill-items { display: flex; flex-direction: column; gap: 12px; }

.skill-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.skill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.skill-dot.backend { background: #6c63ff; }
.skill-dot.frontend { background: #e040fb; }
.skill-dot.mobile { background: #4facfe; }
.skill-dot.design { background: #43e97b; }
.skill-dot.ai { background: #f7971e; }
.skill-dot.other { background: #fa709a; }

/* ===== Contact ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 28px;
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-item h4 {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.contact-item a, .contact-item p {
  font-size: 1rem;
  color: var(--text-primary);
  font-weight: 500;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 16px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-primary);
  font-family: var(--font);
  font-size: 0.95rem;
  transition: all var(--transition);
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group select {
  cursor: pointer;
  color: var(--text-muted);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%239999aa' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

.form-group select option {
  background: var(--bg-card);
  color: var(--text-primary);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-group textarea { resize: vertical; min-height: 120px; }

/* ===== Footer ===== */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  font-size: 1.3rem;
  font-weight: 800;
}

.footer-content p:last-child {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ===== Animations ===== */
.animate-in {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }
.delay-4 { animation-delay: 0.6s; }

@keyframes fadeInUp {
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .skills-grid { grid-template-columns: repeat(3, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .project-card.large { grid-column: span 2; grid-row: span 1; }
  .project-card.large .project-image { height: 200px; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--bg-secondary);
    flex-direction: column;
    padding: 80px 32px 32px;
    gap: 24px;
    transition: right var(--transition);
    border-left: 1px solid var(--border);
  }

  .nav-links.active { right: 0; }

  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .services-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .project-card.large { grid-column: span 1; }
  .skills-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }

  .hero-layout {
    flex-direction: column;
    text-align: center;
  }

  .hero-content {
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-mockup {
    width: 300px;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-name { font-size: 2.8rem; }
  .hero-stats { gap: 30px; }
  .stat-number { font-size: 2rem; }
  .section { padding: 80px 0; }
  .section-title { font-size: 2rem; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-stats { flex-direction: column; gap: 20px; }
  .skills-grid { grid-template-columns: 1fr; }
  .about-details { grid-template-columns: 1fr; }
}
