/* ============================================
   MechanicKiosk - Marketing Website Styles
   ============================================ */

:root {
  --primary: #007AFF;
  --primary-dark: #0056b3;
  --success: #34C759;
  --warning: #FF9500;
  --danger: #FF3B30;
  --dark: #1a1a1a;
  --gray-900: #212529;
  --gray-800: #343a40;
  --gray-600: #6c757d;
  --gray-400: #ced4da;
  --gray-200: #e9ecef;
  --gray-100: #f8f9fa;
  --white: #ffffff;
  --gradient: linear-gradient(135deg, #007AFF 0%, #5856D6 100%);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--gray-900);
  line-height: 1.6;
  background: var(--white);
}

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

/* ============================================
   Typography
   ============================================ */

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.125rem; }

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
}

.section-title {
  text-align: center;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  text-align: center;
  color: var(--gray-600);
  font-size: 1.125rem;
  margin-bottom: 3rem;
}

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

/* ============================================
   Buttons
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 122, 255, 0.3);
}

.btn-secondary {
  background: var(--gray-100);
  color: var(--gray-900);
  border: 1px solid var(--gray-400);
}

.btn-secondary:hover {
  background: var(--gray-200);
}

.btn-dark {
  background: var(--dark);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--gray-800);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

.btn-block {
  width: 100%;
}

/* ============================================
   Navigation
   ============================================ */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-200);
  z-index: 1000;
  padding: 1rem 0;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--gray-900);
  font-weight: 700;
  font-size: 1.25rem;
}

.logo-icon {
  font-size: 1.5rem;
}

.logo-img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: contain;
}

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

.nav-links a {
  text-decoration: none;
  color: var(--gray-600);
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-cta {
  padding: 0.5rem 1rem;
}

@media (max-width: 768px) {
  .nav-links, .nav-cta {
    display: none;
  }
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
  padding: 8rem 0 4rem;
  background: linear-gradient(180deg, var(--gray-100) 0%, var(--white) 100%);
}

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

@media (max-width: 968px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--gray-600);
  margin: 1.5rem 0;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
}

@media (max-width: 968px) {
  .hero-cta {
    justify-content: center;
    flex-wrap: wrap;
  }
}

.hero-stats {
  display: flex;
  gap: 3rem;
}

@media (max-width: 968px) {
  .hero-stats {
    justify-content: center;
  }
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
}

.stat-label {
  font-size: 0.875rem;
  color: var(--gray-600);
}

/* Phone Mockup */
.phone-mockup {
  background: var(--dark);
  border-radius: 40px;
  padding: 12px;
  max-width: 300px;
  margin: 0 auto;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.phone-screen {
  background: var(--gray-100);
  border-radius: 30px;
  overflow: hidden;
}

.app-preview {
  padding: 20px;
}

.app-header {
  text-align: center;
  font-weight: 700;
  padding: 10px;
  background: var(--primary);
  color: white;
  margin: -20px -20px 20px;
}

.code-card {
  background: white;
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 10px;
  border-left: 4px solid var(--warning);
}

.code-card.success {
  border-left-color: var(--success);
}

.code-card .code {
  font-weight: 700;
  font-size: 1.25rem;
  display: block;
}

.code-card .desc {
  font-size: 0.875rem;
  color: var(--gray-600);
}

.live-data {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 15px;
}

.data-item {
  background: white;
  padding: 10px;
  border-radius: 8px;
  text-align: center;
}

.data-item span {
  display: block;
  font-size: 0.75rem;
  color: var(--gray-600);
}

.data-item .value {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-900);
}

/* ============================================
   Features Section
   ============================================ */

.features {
  padding: 5rem 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media (max-width: 968px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

.feature-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid var(--gray-200);
  transition: all 0.3s ease;
}

.feature-card:hover {
  border-color: var(--primary);
  box-shadow: 0 10px 30px rgba(0, 122, 255, 0.1);
  transform: translateY(-5px);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

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

.feature-card p {
  color: var(--gray-600);
  font-size: 0.95rem;
}

/* ============================================
   Products Section
   ============================================ */

.products {
  padding: 5rem 0;
  background: var(--gray-100);
}

.product-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  background: var(--white);
  padding: 3rem;
  border-radius: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

@media (max-width: 968px) {
  .product-showcase {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.product-image {
  position: relative;
}

.scanner-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.scanner-device {
  width: 120px;
  height: 80px;
  background: var(--dark);
  border-radius: 12px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
}

.scanner-led {
  width: 10px;
  height: 10px;
  background: var(--success);
  border-radius: 50%;
  position: absolute;
  top: 10px;
  right: 10px;
  animation: blink 1.5s infinite;
}

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

.scanner-label {
  font-size: 0.875rem;
  font-weight: 600;
}

.scanner-port {
  font-size: 0.625rem;
  color: var(--gray-400);
  margin-top: 4px;
}

.bluetooth-waves span {
  display: block;
  width: 20px;
  height: 20px;
  border: 2px solid var(--primary);
  border-radius: 50%;
  opacity: 0;
  animation: wave 1.5s infinite;
}

.bluetooth-waves span:nth-child(2) {
  animation-delay: 0.3s;
}

.bluetooth-waves span:nth-child(3) {
  animation-delay: 0.6s;
}

@keyframes wave {
  0% { transform: scale(0.5); opacity: 0.8; }
  100% { transform: scale(2); opacity: 0; }
}

.bundle-badge {
  position: absolute;
  top: -10px;
  right: 20px;
  background: var(--warning);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
}

.product-tag {
  display: inline-block;
  background: var(--success);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.product-details h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.product-price {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

@media (max-width: 968px) {
  .product-price {
    justify-content: center;
  }
}

.price-current {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
}

.price-original {
  font-size: 1.5rem;
  color: var(--gray-400);
  text-decoration: line-through;
}

.price-savings {
  background: var(--success);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
}

.product-features {
  list-style: none;
  margin-bottom: 2rem;
}

.product-features li {
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

@media (max-width: 968px) {
  .product-features li {
    justify-content: center;
  }
}

.product-features .check {
  color: var(--success);
  font-weight: 700;
}

.product-cta {
  margin-bottom: 1.5rem;
}

.fulfillment-note {
  font-size: 0.875rem;
  color: var(--gray-600);
  margin-top: 0.5rem;
}

.compatibility {
  font-size: 0.875rem;
  color: var(--gray-600);
  padding: 1rem;
  background: var(--gray-100);
  border-radius: 8px;
}

.product-alt {
  margin-top: 3rem;
  text-align: center;
  padding: 2rem;
  background: var(--white);
  border-radius: 16px;
  border: 2px dashed var(--gray-400);
}

.product-alt h4 {
  margin-bottom: 0.5rem;
}

.product-alt p {
  color: var(--gray-600);
  margin-bottom: 1rem;
}

/* ============================================
   Pricing Section
   ============================================ */

.pricing {
  padding: 5rem 0;
}

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

@media (max-width: 968px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto 3rem;
  }
}

.pricing-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 2rem;
  position: relative;
}

.pricing-card.featured {
  border: 2px solid var(--primary);
  transform: scale(1.05);
  box-shadow: 0 10px 40px rgba(0, 122, 255, 0.15);
}

@media (max-width: 968px) {
  .pricing-card.featured {
    transform: none;
  }
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  padding: 0.25rem 1rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
}

.pricing-header {
  text-align: center;
  margin-bottom: 2rem;
}

.pricing-header h3 {
  margin-bottom: 0.5rem;
}

.pricing-amount {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.25rem;
}

.pricing-amount .price {
  font-size: 3rem;
  font-weight: 800;
  color: var(--gray-900);
}

.pricing-amount .period {
  color: var(--gray-600);
}

.savings-badge {
  display: inline-block;
  background: var(--success);
  color: white;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-top: 0.5rem;
}

.pricing-features {
  list-style: none;
  margin-bottom: 2rem;
}

.pricing-features li {
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
}

.pricing-features .check {
  color: var(--success);
}

.pricing-features .x {
  color: var(--gray-400);
}

.pricing-features .muted {
  color: var(--gray-400);
}

.trial-note {
  text-align: center;
  font-size: 0.875rem;
  color: var(--gray-600);
  margin-top: 0.5rem;
}

.bundle-callout {
  background: var(--gradient);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  color: white;
}

.bundle-callout h4 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.bundle-callout p {
  margin-bottom: 1rem;
  opacity: 0.9;
}

.bundle-callout .btn {
  background: white;
  color: var(--primary);
}

/* ============================================
   Download Section
   ============================================ */

.download {
  padding: 5rem 0;
  background: var(--gray-100);
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .download-grid {
    grid-template-columns: 1fr;
  }
}

.download-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.platform-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.download-card h3 {
  margin-bottom: 0.25rem;
}

.download-card p {
  color: var(--gray-600);
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

.qr-code {
  width: 150px;
  height: 150px;
  margin: 0 auto 1.5rem;
  background: var(--gray-100);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qr-placeholder {
  width: 120px;
  height: 120px;
}

.store-icon {
  font-size: 1.25rem;
}

.apk-note {
  text-align: center;
  margin-top: 2rem;
  color: var(--gray-600);
  font-size: 0.875rem;
}

.apk-note a {
  color: var(--primary);
}

/* ============================================
   How It Works Section
   ============================================ */

.how-it-works {
  padding: 5rem 0;
}

.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.step {
  text-align: center;
  max-width: 250px;
}

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

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

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

.step-arrow {
  font-size: 2rem;
  color: var(--gray-400);
  padding-top: 1rem;
}

@media (max-width: 768px) {
  .step-arrow {
    display: none;
  }
}

/* ============================================
   Testimonials Section
   ============================================ */

.testimonials {
  padding: 5rem 0;
  background: var(--gray-100);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media (max-width: 968px) {
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
}

.testimonial {
  background: var(--white);
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.testimonial .stars {
  color: #FFD700;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.testimonial p {
  font-style: italic;
  color: var(--gray-800);
  margin-bottom: 1rem;
}

.testimonial .author {
  font-weight: 600;
  color: var(--gray-600);
  font-size: 0.875rem;
}

/* ============================================
   FAQ Section
   ============================================ */

.faq {
  padding: 5rem 0;
}

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

@media (max-width: 768px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

.faq-item {
  padding: 1.5rem;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
}

.faq-item h4 {
  margin-bottom: 0.5rem;
  color: var(--gray-900);
}

.faq-item p {
  color: var(--gray-600);
  font-size: 0.95rem;
}

/* ============================================
   Footer
   ============================================ */

.footer {
  background: var(--dark);
  color: var(--white);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

@media (max-width: 968px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand .logo {
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-brand p {
  color: var(--gray-400);
}

.footer-links h4 {
  margin-bottom: 1rem;
  font-size: 1rem;
}

.footer-links a {
  display: block;
  color: var(--gray-400);
  text-decoration: none;
  padding: 0.25rem 0;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--gray-800);
}

@media (max-width: 576px) {
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

.footer-bottom p {
  color: var(--gray-400);
  font-size: 0.875rem;
}

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

.social-links a {
  font-size: 1.25rem;
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.social-links a:hover {
  opacity: 1;
}
