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


:root {
  --color-primary: #db0250;
  --color-accent: #3b5bb1;
  --color-bg: #FFFFFF;
  --color-text: #0A0D14;
  --color-text-muted: #6B7280;
  --color-card: #F8F9FA;
  --color-border: rgba(0, 0, 0, 0.1);
  --color-gray-100: #F3F4F6;
  --color-gray-200: #E5E7EB;
  --color-gray-600: #4B5563;
  --color-gray-900: #111827;
}

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

/* Smooth Scroll */
html {
  scroll-behavior: smooth;
}

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-small {
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid var(--color-border);
  animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-gray-900);
  letter-spacing: -0.02em;
}

.nav {
  display: flex;
  gap: 2rem;
}

.nav-link {
  color: var(--color-gray-600);
  text-decoration: none;
  transition: color 0.3s;
  font-size: 0.9375rem;
}

.nav-link:hover {
  color: var(--color-gray-900);
}

.btn-primary {
  padding: 0.5rem 1.5rem;
  border-radius: 9999px;
  background: linear-gradient(to right, var(--color-primary), var(--color-accent));
  color: white;
  border: none;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s;
  font-size: 0.9375rem;
}

.btn-primary:hover {
  box-shadow: 0 0 30px rgba(0, 209, 255, 0.5);
  transform: translateY(-1px);
}

/* Hero Section */
.hero {
  padding-top: 8rem;
  padding-bottom: 3rem;
  animation: fadeIn 0.8s ease-out;
}

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

.hero-content {
  text-align: center;
  margin-bottom: 3rem;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  background: linear-gradient(to right, var(--color-gray-900), var(--color-primary), var(--color-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}

.hero-description {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  max-width: 42rem;
  margin: 0 auto;
}

/* Category Filter */
.category-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
  animation: fadeIn 0.8s ease-out 0.2s backwards;
}

.category-btn {
  padding: 0.625rem 1.5rem;
  border-radius: 9999px;
  background: var(--color-gray-100);
  color: var(--color-gray-600);
  border: 1px solid var(--color-gray-200);
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s;
  font-size: 0.9375rem;
}

.category-btn:hover {
  color: var(--color-gray-900);
  border-color: rgba(0, 209, 255, 0.5);
  transform: scale(1.05);
}

.category-btn.active {
  background: linear-gradient(to right, var(--color-primary), var(--color-accent));
  color: white;
  border-color: transparent;
  box-shadow: 0 0 20px rgba(0, 209, 255, 0.4);
}

/* Mockup Grid */
.mockup-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .mockup-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .mockup-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.mockup-card {
  position: relative;
  background: white;
  border: 1px solid var(--color-border);
  border-radius: 0.75rem;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  opacity: 0;
  animation: cardFadeIn 0.5s ease-out forwards;
}

@keyframes cardFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mockup-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 30px rgba(0, 209, 255, 0.3);
  border-color: var(--color-primary);
}

.mockup-card.hovered {
  box-shadow: 0 0 0 2px white, 0 0 0 4px var(--color-primary);
}

.mockup-image {
  width: 100%;
  height: 16rem;
  object-fit: cover;
  background: var(--color-gray-100);
  transition: transform 0.6s ease-out;
}

.mockup-card:hover .mockup-image {
  transform: scale(1.1);
}

.mockup-content {
  padding: 1.25rem;
}

.mockup-category {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  background: rgba(0, 209, 255, 0.1);
  color: var(--color-primary);
  font-size: 0.75rem;
  border: 1px solid rgba(0, 209, 255, 0.2);
  margin-bottom: 0.5rem;
}

.mockup-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-gray-900);
}

.empty-state {
  text-align: center;
  padding: 5rem 0;
  color: var(--color-text-muted);
}

/* Contact Section */
.contact-section {
  padding: 5rem 0;
  background: var(--color-gray-100);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
  animation: fadeIn 0.8s ease-out;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(to right, var(--color-primary), var(--color-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-description {
  font-size: 1rem;
  color: var(--color-text-muted);
  max-width: 42rem;
  margin: 0 auto;
}

.contact-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-card {
  background: white;
  padding: 1.5rem;
  border-radius: 0.75rem;
  border: 1px solid var(--color-border);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  display: flex;
  gap: 1rem;
  animation: fadeIn 0.8s ease-out;
}

.contact-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  background: linear-gradient(to right, var(--color-primary), var(--color-accent));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: white;
}

.contact-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-gray-900);
  margin-bottom: 0.5rem;
}

.contact-card p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}

/* Forms */
.contact-form-wrapper,
.feedback-card {
  background: white;
  padding: 2rem;
  border-radius: 0.75rem;
  border: 1px solid var(--color-border);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  animation: fadeIn 0.8s ease-out 0.3s backwards;
}

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

.form-group label {
  display: block;
  font-weight: 500;
  color: var(--color-gray-900);
  margin-bottom: 0.5rem;
  font-size: 0.9375rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  background: var(--color-gray-100);
  border: 1px solid var(--color-gray-200);
  font-family: inherit;
  font-size: 0.9375rem;
  transition: all 0.3s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(0, 209, 255, 0.2);
}

.form-group textarea {
  resize: none;
}

.btn-submit {
  width: 100%;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  background: linear-gradient(to right, var(--color-primary), var(--color-accent));
  color: white;
  border: none;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 1rem;
}

.btn-submit:hover:not(:disabled) {
  box-shadow: 0 0 30px rgba(0, 209, 255, 0.5);
  transform: translateY(-2px);
}

.btn-submit.btn-active {
  opacity: 1 !important;
  cursor: pointer !important;
  background: linear-gradient(to right, var(--color-primary), var(--color-accent)) !important;
}

.btn-submit.btn-active:hover {
  box-shadow: 0 0 30px rgba(219, 2, 80, 0.5);
  transform: translateY(-2px);
}

.btn-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: #9CA3AF;
  transform: none;
  box-shadow: none;
}

.btn-submit.success {
  background: #10B981;
}

/* Feedback Section */
.feedback-section {
  padding: 5rem 0;
  background: white;
}

.feedback-card {
  background: linear-gradient(to bottom right, var(--color-gray-100), white);
  padding: 3rem;
  border-radius: 1rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.rating-group {
  text-align: center;
  margin-bottom: 2rem;
}

.rating-group label {
  display: block;
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-gray-900);
  margin-bottom: 1rem;
}

.star-rating {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.star-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: transform 0.2s;
}

.star-btn:hover {
  transform: scale(1.2);
}

.star-icon {
  color: #D1D5DB;
  transition: all 0.2s;
}

.star-btn.active .star-icon,
.star-btn.hover .star-icon {
  fill: var(--color-accent);
  color: var(--color-accent);
}

.rating-text {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  margin-top: 0.5rem;
  min-height: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s;
}

.rating-text.show {
  opacity: 1;
}

.quick-feedback {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
  text-align: center;
}

.quick-feedback p {
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

.quick-feedback-btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.quick-btn {
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background: var(--color-gray-100);
  color: var(--color-gray-900);
  border: 1px solid var(--color-gray-200);
  cursor: pointer;
  font-size: 0.875rem;
  transition: all 0.3s;
}

.quick-btn:hover {
  background: linear-gradient(to right, var(--color-primary), var(--color-accent));
  color: white;
  border-color: transparent;
  transform: scale(1.05);
}

/* Footer */
.footer {
  border-top: 1px solid var(--color-border);
  background: white;
  margin-top: 5rem;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem 0;
}

@media (min-width: 768px) {
  .footer-content {
    flex-direction: row;
  }
}

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

.social-links {
  display: flex;
  gap: 1.5rem;
}

.social-link {
  color: var(--color-text-muted);
  transition: color 0.3s;
}

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

/* Terminal Overlay */
.terminal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.terminal-overlay.active {
  display: flex;
  animation: fadeIn 0.3s ease-out;
}

.terminal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

.terminal-window {
  position: relative;
  width: 100%;
  max-width: 48rem;
  background: #1F2937;
  border-radius: 1rem;
  border: 1px solid rgba(198, 255, 0, 0.3);
  box-shadow: 0 0 50px rgba(198, 255, 0, 0.3);
  overflow: hidden;
  animation: scaleIn 0.3s ease-out;
}

@keyframes scaleIn {
  from {
    transform: scale(0.9) translateY(20px);
    opacity: 0;
  }
  to {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

.terminal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  background: #374151;
  border-bottom: 1px solid rgba(198, 255, 0, 0.2);
}

.terminal-controls {
  display: flex;
  gap: 0.5rem;
}

.terminal-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
}

.terminal-dot.red {
  background: #EF4444;
}

.terminal-dot.yellow {
  background: #F59E0B;
}

.terminal-dot.green {
  background: #10B981;
}

.terminal-title {
  font-family: 'Courier New', monospace;
  font-size: 0.875rem;
  color: var(--color-accent);
  margin-left: 1rem;
}

.terminal-close {
  background: none;
  border: none;
  color: #9CA3AF;
  cursor: pointer;
  padding: 0;
  transition: color 0.3s;
}

.terminal-close:hover {
  color: white;
}

.terminal-content {
  padding: 1.5rem;
  height: 25rem;
  overflow-y: auto;
  font-family: 'Courier New', monospace;
  font-size: 0.875rem;
  background: #1F2937;
}

.terminal-line {
  margin-bottom: 0.5rem;
  color: var(--color-accent);
  animation: terminalType 0.3s ease-out;
}

@keyframes terminalType {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.terminal-line.success {
  color: #10B981;
}

.terminal-line.error {
  color: #EF4444;
}

.terminal-cursor {
  display: inline-block;
  margin-left: 0.25rem;
  animation: blink 0.8s infinite;
}

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

/* Responsive */
@media (max-width: 768px) {
  .nav {
    display: none;
  }

  .hero {
    padding-top: 6rem;
  }

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

  .contact-form-wrapper,
  .feedback-card {
    padding: 1.5rem;
  }
}

/* Utility Classes */
.fade-in {
  animation: fadeIn 0.8s ease-out;
}

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

/* Demo Action Buttons */
.btn-demo-launch,
.btn-demo-visit,
.btn-demo-destroy {
  padding: 0.625rem 1.25rem;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  font-weight: 500;
  font-size: 0.875rem;
  transition: all 0.3s;
  font-family: inherit;
}

.btn-demo-launch {
  width: 100%;
  background: linear-gradient(to right, var(--color-primary), var(--color-accent));
  color: white;
  margin-top: 0.75rem;
}

.btn-demo-launch:hover {
  box-shadow: 0 0 20px rgba(0, 209, 255, 0.4);
  transform: translateY(-2px);
}

.btn-demo-visit {
  flex: 1;
  background: #10B981;
  color: white;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.btn-demo-visit:hover {
  background: #059669;
  transform: translateY(-2px);
}

.btn-demo-destroy {
  flex: 1;
  background: #EF4444;
  color: white;
}

.btn-demo-destroy:hover {
  background: #DC2626;
  transform: translateY(-2px);
}

.btn-secondary {
  padding: 0.5rem 1.5rem;
  border-radius: 9999px;
  background: var(--color-gray-200);
  color: var(--color-gray-900);
  border: none;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s;
  font-size: 0.9375rem;
}

.btn-secondary:hover {
  background: var(--color-gray-600);
  color: white;
}

.demo-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.demo-info {
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--color-border);
}

.demo-info small {
  color: var(--color-text-muted);
  font-size: 0.75rem;
}
