@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* PTS Storefront Styles - Meteorological Modern Theme */
:root {
  --primary: #1E293B;
  --accent: #D97706;
  --accent-rgb: 217, 119, 6;
  --bg-light: #F8FAFC;
  --card-bg: #FFFFFF;
  --text-dark: #0F172A;
  --text-muted: #64748B;
  --text-light: #F8FAFC;
  --border-subtle: #E2E8F0;
  --border-glow: rgba(217, 119, 6, 0.25);
  --font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

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

body {
  background: var(--bg-light);
  color: var(--text-dark);
  font-family: var(--font-family);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header & Navigation */
header {
  background: #1E293B;
  border-bottom: 1px solid #334155;
  width: 100%;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-img {
  height: 38px;
  border-radius: 4px;
  display: block;
}

.logo {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #F8FAFC;
}

.logo span {
  color: var(--accent);
}

nav {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}

nav a {
  color: #94A3B8;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: color 0.2s ease;
  padding: 4px 0;
}

nav a:hover {
  color: #F8FAFC;
}

nav a.active {
  color: var(--accent);
  font-weight: 700;
}

/* Global Footer */
footer {
  margin-top: auto;
  background: #1E293B;
  border-top: 1px solid #334155;
  color: #94A3B8;
  font-size: 0.85rem;
  padding: 30px 20px;
  width: 100%;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #94A3B8;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #F8FAFC;
}

.logo {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 1px;
}

.logo span {
  color: var(--accent);
}

nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  margin-left: 25px;
  transition: color 0.2s;
}

nav a:hover, nav a.active {
  color: var(--accent);
}

/* Hero Section */
.hero {
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}

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

.hero-text h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-text h1 span {
  color: var(--accent);
}

.hero-text p {
  color: var(--text-muted);
  font-size: 1.15rem;
  margin-bottom: 30px;
}

/* Glassmorphism / Elevated Card Panel */
.pts-glass-panel {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
}

/* Pricing Card Component */
.pricing-card {
  max-width: 100%;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 15px;
  margin-bottom: 15px;
}

.sale-price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
}

.retail-price {
  font-size: 1.4rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.badge {
  display: inline-block;
  background: rgba(217, 119, 6, 0.1);
  border: 1px solid var(--accent);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 5px 12px;
  border-radius: 4px;
  margin-bottom: 20px;
}

.cta-btn {
  display: block;
  width: 100%;
  background: var(--accent);
  color: #FFFFFF;
  text-align: center;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 15px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: transform 0.2s, background-color 0.2s;
  margin-bottom: 20px;
}

.cta-btn:hover {
  transform: translateY(-2px);
  background: #B45309;
}

.slots-tracker {
  border-top: 1px solid #E2E8F0;
  padding-top: 15px;
}

.progress-bar-container {
  width: 100%;
  height: 8px;
  background: #E2E8F0;
  border-radius: 4px;
  overflow: hidden;
  margin-top: 8px;
}

.progress-bar-fill {
  height: 100%;
  background: var(--accent);
  transition: width 0.5s ease-in-out;
}

/* Feature Grid */
.features-container {
  max-width: 1100px;
  margin: 60px auto;
  padding: 0 20px;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 40px;
}

.section-title span {
  color: var(--accent);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

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

.step-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  transition: border-color 0.2s, transform 0.2s;
}

.step-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.step-number {
  display: inline-block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.step-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

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

/* Telemetry Dashboard Preview */
.telemetry-preview {
  max-width: 1100px;
  margin: 60px auto;
  padding: 0 20px;
}

.preview-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 30px;
}

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

.metrics-panel {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.metric-widget {
  background: rgba(5, 14, 20, 0.6);
  border: 1px solid rgba(255, 111, 0, 0.1);
  border-radius: 6px;
  padding: 20px;
  text-align: center;
}

.metric-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.metric-val {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-light);
  margin: 5px 0;
}

.feed-panel {
  max-height: 350px;
  overflow-y: auto;
  padding-right: 5px;
}

.feed-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(5, 14, 20, 0.5);
  border-left: 3px solid var(--accent);
  padding: 10px 15px;
  margin-bottom: 10px;
  border-radius: 4px;
}

.feed-details {
  font-size: 0.9rem;
}

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

.feed-conf {
  background: rgba(255, 111, 0, 0.15);
  color: var(--accent);
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 0.8rem;
  font-weight: 700;
}
