/* Base Styles */
:root {
  --color-text: #1a1a1a;
  --color-text-muted: #666666;
  --color-background: #ffffff;
  --color-primary: #8b5cf6;
  --color-primary-hover: #7c3aed;
  --color-primary-light: #f5f3ff;
  --color-border: #e5e7eb;
  --color-card: #ffffff;
  --color-card-shadow: rgba(0, 0, 0, 0.05);
  --color-star: #fbbf24;
  --border-radius: 0.5rem;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  color: var(--color-text);
  background-color: var(--color-background);
  line-height: 1.5;
}

img {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius);
}

a {
  color: var(--color-text);
  text-decoration: none;
}

ul {
  list-style: none;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

h1 {
  font-size: 2.25rem;
}

h2 {
  font-size: 1.875rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

.section-header p {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: var(--color-text-muted);
}

/* Badge */
.badge {
  display: inline-block;
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: all 0.2s ease;
}

.button-primary {
  background-color: var(--color-primary);
  color: white;
  border: none;
}

.button-primary:hover {
  background-color: var(--color-primary-hover);
}

.button-outline {
  background-color: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.button-outline:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.button-full {
  width: 100%;
}

.button .icon {
  margin-left: 0.5rem;
}

/* Cards */
.card {
  background-color: var(--color-card);
  border-radius: var(--border-radius);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  padding: 1.5rem;
  height: 100%;
}

/* Icons */
.icon {
  display: inline-block;
  vertical-align: middle;
  color: currentColor;
}

.icon-star {
  color: var(--color-star);
}

.card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  background-color: var(--color-primary-light);
  border-radius: 9999px;
  margin-bottom: 1rem;
}

.card-icon .icon {
  color: var(--color-primary);
}

/* Header */
.header {
  position: sticky;
  top: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(5px);
  z-index: 40;
  border-bottom: 1px solid var(--color-border);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.header-left {
  display: flex;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  font-weight: bold;
}

.logo .icon {
  color: var(--color-primary);
  margin-right: 0.5rem;
}

.main-nav {
  display: none;
}

.main-nav a {
  margin-left: 1.5rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: var(--color-text);
}

.mobile-menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 1.5rem;
  height: 1.25rem;
  background: transparent;
  border: none;
  cursor: pointer;
}

.mobile-menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-text);
  transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  padding: 3rem 0;
  background: linear-gradient(to bottom, #f5f3ff, #ffffff);
}

.hero-content {
  display: grid;
  gap: 2rem;
}

.hero h1 {
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

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

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.feature {
  display: flex;
  align-items: center;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.feature .icon {
  margin-right: 0.25rem;
  color: #10b981; /* Green color for check icons */
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Services Section */
.services {
  padding: 3rem 0;
}

.services-grid {
  display: grid;
  gap: 1.5rem;
}

.services .card h3 {
  margin-bottom: 0.5rem;
}

.services .card p {
  color: var(--color-text-muted);
}

/* Consoles Section */
.consoles {
  padding: 3rem 0;
  background-color: #f9fafb;
}

.tabs {
  margin-top: 2rem;
}

.tabs-list {
  display: flex;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 1.5rem;
}

.tab-button {
  flex: 1;
  padding: 0.75rem 1rem;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.tab-button.active {
  border-bottom-color: var(--color-primary);
  color: var(--color-primary);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.console-details {
  display: grid;
  gap: 2rem;
}

.console-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.console-info h3 {
  margin-bottom: 0.75rem;
}

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

.features-list {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.features-list li {
  display: flex;
  align-items: flex-start;
}

.features-list li .icon {
  margin-right: 0.5rem;
  color: #10b981;
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.console-price {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.price {
  font-size: 1.5rem;
  font-weight: bold;
}

/* Warranty Section */
.warranty {
  padding: 3rem 0;
}

.warranty-content {
  display: grid;
  gap: 2rem;
}

.warranty-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.warranty-info h2 {
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

.warranty-info > p {
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

.warranty-list {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.warranty-list li {
  display: flex;
  gap: 1rem;
}

.warranty-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background-color: var(--color-primary-light);
  border-radius: 9999px;
  flex-shrink: 0;
}

.warranty-icon .icon {
  color: var(--color-primary);
}

.warranty-item-content h3 {
  margin-bottom: 0.25rem;
}

.warranty-item-content p {
  color: var(--color-text-muted);
}

/* Reviews Section */
.reviews {
  padding: 3rem 0;
  background-color: #f9fafb;
}

.reviews-grid {
  display: grid;
  gap: 1.5rem;
}

.stars {
  display: flex;
  margin-bottom: 0.5rem;
}

.review-text {
  font-style: italic;
  margin-bottom: 1rem;
}

.reviewer {
  display: flex;
  align-items: center;
}

.reviewer-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  background-color: #e5e7eb;
  border-radius: 9999px;
  margin-right: 0.5rem;
  font-weight: 600;
  font-size: 0.875rem;
}

.reviewer-name {
  font-weight: 600;
  font-size: 0.875rem;
}

.reviewer-location {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

/* Contact Section */
.contact {
  padding: 3rem 0;
}

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

.contact-form {
  display: grid;
  gap: 1rem;
}

.form-group {
  display: grid;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.625rem 0.75rem;
  font-size: 0.875rem;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  background-color: var(--color-background);
}

.form-group textarea {
  min-height: 5rem;
  resize: vertical;
}

.contact-info h3 {
  margin-bottom: 0.5rem;
}

.contact-info > p {
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

.contact-details {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  gap: 0.75rem;
}

.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background-color: var(--color-primary-light);
  border-radius: 9999px;
  flex-shrink: 0;
}

.contact-icon .icon {
  color: var(--color-primary);
}

.contact-text h4 {
  margin-bottom: 0.25rem;
}

.contact-text p {
  color: var(--color-text-muted);
  margin-bottom: 0;
}

.hours {
  margin-top: 1.5rem;
}

.hours h3 {
  margin-bottom: 0.5rem;
}

.hours p {
  color: var(--color-text-muted);
}

/* Footer */
.footer {
  border-top: 1px solid var(--color-border);
  padding: 2.5rem 0;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-logo .icon {
  color: var(--color-primary);
}

.footer-logo p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--color-text);
  text-decoration: underline;
}

/* Media Queries for Responsive Design */
@media (min-width: 640px) {
  h1 {
    font-size: 2.5rem;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .main-nav {
    display: flex;
    margin-left: 2.5rem;
  }
  
  .mobile-menu-toggle {
    display: none;
  }
  
  .hero-content {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
  
  .warranty-content {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
  
  .contact-content {
    grid-template-columns: 1fr 1fr;
  }
  
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .reviews-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .console-details {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}