* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #0066cc;
  --primary-dark: #0052a3;
  --primary-light: #3385ff;
  --accent: #14a085;
  --accent-light: #2abfa5;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  
  --bg-primary: #0f172a;
  --bg-secondary: #1e293b;
  --bg-tertiary: #1a2332;
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --border: #334155;
  --border-light: #475569;
  --white: #0f172a;
  
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.5);
  --shadow-3d: 0 20px 50px rgba(0, 102, 204, 0.3);
  --gradient: linear-gradient(135deg, #0066cc 0%, #14a085 100%);
  --gradient-dark: linear-gradient(135deg, #0052a3 0%, #0d8a6f 100%);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  perspective: 1000px;
  transition: background 0.3s ease, color 0.3s ease;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.navbar {
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(20px);
  padding: 1.2rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: contain;
}

.logo-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--primary-light);
}

.btn {
  padding: 1rem 2rem;
  border: none;
  border-radius: 12px;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-decoration: none;
  display: inline-block;
  white-space: nowrap;
  max-width: 100%;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transition: left 0.3s ease;
  z-index: -1;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--gradient);
  color: var(--white);
  box-shadow: var(--shadow-3d);
}

.btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 70px rgba(0, 102, 204, 0.35);
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-large {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

.hero {
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  width: 100%;
  overflow: hidden;
  min-height: auto;
  perspective: 1200px;
  transition: all 0.3s ease;
}

.hero .container {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .hero {
    padding: 8rem 0;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    min-height: 650px;
  }

  .hero .container {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
  }
}

.hero-content {
  animation: slideInLeft 0.8s ease-out;
  z-index: 10;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  line-height: 1.1;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -1px;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 4.5rem;
  }
}

.hero-subtitle {
  font-size: 1.35rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
  line-height: 1.7;
  font-weight: 400;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.trust-badges {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.badge {
  background: var(--accent);
  color: var(--white);
  padding: 0.6rem 1.2rem;
  border-radius: 25px;
  font-size: 0.85rem;
  font-weight: 600;
  border: none;
  opacity: 0.9;
  box-shadow: 0 4px 15px rgba(20, 160, 133, 0.2);
}

.hero-visual {
  animation: slideInRight 0.8s ease-out;
}

.hero-visual {
  animation: slideInRight 0.8s ease-out;
  perspective: 1000px;
}

.extension-preview {
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-3d);
  animation: float 3s ease-in-out infinite;
  transform: translateY(-30px) rotateX(5deg);
  transition: all 0.3s ease;
}

.preview-content {
  padding: 2.5rem;
  background: var(--bg-tertiary);
  transition: all 0.3s ease;
}

.stat-item {
  text-align: center;
  margin-bottom: 1.5rem;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}

.stat-value {
  font-size: 2.5rem;
  font-weight: 900;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.3rem;
}

.stat-unit {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.stat-divider {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  margin: 1.5rem 0;
  border-radius: 1px;
}

.progress-bar {
  width: 100%;
  height: 8px;
  background: var(--bg-secondary);
  border-radius: 10px;
  overflow: hidden;
  margin: 1.5rem 0;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.progress-fill {
  width: 65%;
  height: 100%;
  background: var(--gradient);
  border-radius: 10px;
  animation: expand 3s ease-in-out infinite;
  box-shadow: 0 0 10px rgba(0, 102, 204, 0.4);
}

.status-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem;
  background: rgba(20, 160, 133, 0.15);
  border-radius: 12px;
  border: 1px solid rgba(20, 160, 133, 0.3);
  transition: all 0.3s ease;
}

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

.status-text {
  font-size: 0.9rem;
  color: var(--accent);
  font-weight: 600;
}

.features {
  padding: 8rem 0;
  background: var(--bg-primary);
  transition: all 0.3s ease;
}

.section-title {
  font-size: 2.8rem;
  font-weight: 800;
  text-align: center;
  color: var(--text-primary);
  margin-bottom: 4rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  padding: 2rem;
  border-radius: 12px;
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  border-color: var(--primary);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.feature-card h3 {
  color: var(--text-primary);
  margin-bottom: 0.8rem;
  font-size: 1.2rem;
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.how-it-works {
  padding: 6rem 0;
  background: var(--bg-secondary);
  transition: all 0.3s ease;
}

.steps-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-bottom: 4rem;
  flex-wrap: wrap;
}

.step {
  flex: 1;
  min-width: 250px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s ease;
}

.step:hover {
  box-shadow: var(--shadow-lg);
}

.step-number {
  width: 50px;
  height: 50px;
  background: var(--gradient);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 auto 1rem;
}

.step h3 {
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

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

.step-arrow {
  font-size: 2rem;
  color: var(--primary);
  animation: bounce 2s infinite;
}

.blocked-domains {
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  padding: 3rem;
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s ease;
}

.blocked-domains h3 {
  color: var(--text-primary);
  margin-bottom: 2rem;
  font-size: 1.5rem;
}

.domains-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.domain-tag {
  background: var(--accent);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
}

.install-section {
  padding: 6rem 0;
  background: var(--bg-primary);
  transition: all 0.3s ease;
}

.install-methods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}

.install-card {
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  padding: 3rem 2.5rem;
  border-radius: 16px;
  text-align: center;
  transition: all 0.4s ease;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.install-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient);
  border-radius: 0 0 16px 16px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.install-card:hover {
  border-color: var(--primary);
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.install-card:hover::after {
  transform: scaleX(1);
}

.method-icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  display: block;
  width: 60px;
  height: 60px;
  line-height: 60px;
  background: var(--gradient);
  color: white;
  border-radius: 50%;
  margin-left: auto;
  margin-right: auto;
  font-weight: 800;
  box-shadow: var(--shadow-lg);
}

.install-card h3 {
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

.install-card p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.method-note {
  font-size: 0.9rem;
  margin-top: 1rem;
  color: var(--text-secondary);
}

.manual-steps {
  text-align: left;
  color: var(--text-secondary);
  margin: 1.5rem 0;
  font-size: 0.95rem;
}

.manual-steps li {
  margin-bottom: 0.8rem;
  padding-left: 1.5rem;
}

.manual-steps code {
  background: var(--bg-secondary);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-family: 'Monaco', 'Courier New', monospace;
  color: var(--primary);
  font-size: 0.9rem;
}

.installation-tips {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  padding: 2rem;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.installation-tips h4 {
  color: var(--accent);
  margin-bottom: 1rem;
}

.installation-tips ul {
  list-style: none;
}

.installation-tips li {
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
}

.installation-tips li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

.stats-section {
  padding: 6rem 0;
  background: var(--bg-primary);
  transition: all 0.3s ease;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.stat-item {
  text-align: center;
  padding: 2rem;
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 1rem;
  font-weight: 500;
}

.faq-section {
  padding: 6rem 0;
  background: var(--bg-secondary);
  transition: all 0.3s ease;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.faq-item {
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  padding: 1.5rem;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.faq-item h4 {
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.faq-item p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
}

.footer {
  background: #0a0f1a;
  border-top: 1px solid var(--border);
  padding: 4rem 0 1rem;
  margin-top: 4rem;
  transition: all 0.3s ease;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  color: white;
  margin-bottom: 1rem;
}

.footer-section p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  animation: fadeIn 0.3s ease;
}

.modal.hidden {
  display: none;
}

.modal-content {
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  padding: 3rem;
  border-radius: 16px;
  max-width: 500px;
  width: 90%;
  position: relative;
  animation: slideUp 0.3s ease;
  transition: all 0.3s ease;
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.3s ease;
}

.modal-close:hover {
  color: var(--text-primary);
}

.modal-content h2 {
  color: var(--text-primary);
  margin-bottom: 2rem;
  text-align: center;
}

.modal-steps {
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
}

.modal-step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.step-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.modal-step p {
  color: var(--text-secondary);
  padding-top: 0.5rem;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-60px) rotateY(20deg);
  }
  to {
    opacity: 1;
    transform: translateX(0) rotateY(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(60px) rotateY(-20deg);
  }
  to {
    opacity: 1;
    transform: translateX(0) rotateY(0);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px) translateZ(0);
  }
  50% {
    transform: translateY(-30px) translateZ(20px);
  }
}

@keyframes expand {
  0% {
    width: 0;
  }
  50% {
    width: 100%;
  }
  100% {
    width: 0;
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(20, 160, 133, 0.7);
  }
  50% {
    opacity: 0.8;
    box-shadow: 0 0 0 4px rgba(20, 160, 133, 0);
  }
}

@keyframes bounce {
  0%, 100% {
    transform: translateX(0) translateY(0);
  }
  50% {
    transform: translateX(10px) translateY(-5px);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateZ(-20px);
  }
  to {
    opacity: 1;
    transform: translateZ(0);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(40px) rotateX(-10deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotateX(0);
  }
}

@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 4rem 0;
    overflow: hidden;
  }

  .hero .container {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .cta-buttons .btn {
    width: 100%;
    text-align: center;
  }

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

  .nav-links {
    gap: 1rem;
    font-size: 0.9rem;
  }

  .steps-container {
    flex-direction: column;
    gap: 1rem;
  }

  .step-arrow {
    transform: rotate(90deg);
  }

  .install-methods {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .features-grid {
    gap: 1rem;
  }

  .feature-card {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  html, body {
    max-width: 100vw;
    overflow-x: hidden;
  }

  .hero {
    padding: 3rem 0;
    overflow: hidden;
  }

  .hero .container {
    grid-template-columns: 1fr;
  }

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

  .hero-subtitle {
    font-size: 1rem;
  }

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

  .nav-links {
    display: none;
  }

  .badge {
    font-size: 0.8rem;
    padding: 0.3rem 0.8rem;
  }

  .domain-tag {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }

  .stats-grid {
    gap: 1rem;
  }

  .stat-number {
    font-size: 2rem;
  }
}

.developer-hero {
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.developer-intro {
  text-align: center;
  animation: slideInLeft 0.8s ease-out;
}

.page-title {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 1rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-subtitle {
  font-size: 1.3rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.developer-profile {
  padding: 6rem 0;
  background: var(--bg-primary);
}

.profile-card {
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  padding: 3rem;
  border-radius: 16px;
  max-width: 700px;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
  transition: all 0.3s ease;
}

.profile-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-3d);
}

.profile-header {
  margin-bottom: 2rem;
  border-bottom: 2px solid var(--border);
  padding-bottom: 1.5rem;
}

.profile-header h2 {
  font-size: 2.5rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.profile-title {
  font-size: 1.1rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.profile-bio {
  margin-bottom: 2rem;
}

.profile-bio p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.profile-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.profile-link {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  padding: 0.8rem 1.8rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.profile-link:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.projects-section {
  padding: 6rem 0;
  background: var(--bg-secondary);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.project-card {
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  padding: 2.5rem;
  border-radius: 12px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.project-card:hover {
  border-color: var(--primary);
  transform: translateY(-8px);
  box-shadow: var(--shadow-3d);
}

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--border);
}

.project-header h3 {
  font-size: 1.5rem;
  color: var(--text-primary);
  margin: 0;
}

.project-status {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.project-status.ongoing {
  background: linear-gradient(135deg, #f59e0b, #ef4444);
}

.project-description {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.project-features {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.feature-tag {
  background: rgba(0, 102, 204, 0.1);
  color: var(--primary);
  padding: 0.4rem 0.9rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(0, 102, 204, 0.2);
}

.project-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.project-stats .stat {
  text-align: center;
}

.project-stats .stat-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.3rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.project-stats .stat-name {
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.project-links {
  display: flex;
  gap: 1rem;
  margin-top: auto;
}

.project-link {
  flex: 1;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
}

.project-link:hover:not(.disabled) {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.project-link.disabled {
  background: rgba(0, 102, 204, 0.3);
  cursor: not-allowed;
  opacity: 0.6;
}

.skills-section {
  padding: 6rem 0;
  background: var(--bg-primary);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.skill-category {
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  padding: 2rem;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.skill-category:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.skill-category h4 {
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid var(--primary);
  padding-bottom: 0.8rem;
}

.skill-list {
  list-style: none;
}

.skill-list li {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 0.8rem;
  padding-left: 1.5rem;
  position: relative;
  transition: all 0.3s ease;
}

.skill-list li:hover {
  color: var(--text-primary);
  padding-left: 2rem;
}

.skill-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

@media (max-width: 768px) {
  .page-title {
    font-size: 2rem;
  }

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

  .project-stats {
    grid-template-columns: 1fr;
  }

  .page-subtitle {
    font-size: 1rem;
  }
}
