/* CSS Colour Variables */
:root {
  --color-orange: #ff7a00;
  --color-bg: #f5f5f5;
  --color-text: #101010;
}

:root[data-theme="dark"] {
  --color-bg: #101010;
  --color-text: #ffffff;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --color-bg: #101010;
    --color-text: #ffffff;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* body styling and base fonts */
body {
  font-family: 'Google Sans', sans-serif;
  -webkit-font-smoothing: antialiased;
  background-color: var(--color-bg); 
  color: var(--color-text);
  margin: 0;
  padding: 0;
  padding-top: 80px;
  line-height: 1.5;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* heaading and text base styles */
h1 {
  font-size: 2.5rem;
  font-weight: 900;
}

h2 {
  font-size: 2rem;
  font-weight: 800;
}

h3 {
  font-size: 1.5rem;
  font-weight: bold;
}

p {
  font-size: 1rem;
}

.mw {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.text-orange {
  color: var(--color-orange);
}

/* Hero Section */
.hero {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  color: var(--color-text);
}

.hero-body {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 2rem;
}

.hero-text {
  flex: 1;
  max-width: 50%;
}

.hero-text h1 {
  margin-bottom: 1rem;
  animation: fadeInUp 0.8s ease;
}

.hero-text p {
  opacity: 0.9;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-image {
  flex: 1;
  max-width: 50%;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.hero-image img:hover {
  transform: scale(1.02);
}

.feature-grid-wrapper {
  width: 100%;
  padding-bottom: 2rem;
}

.feature-grid {
  display: flex;
  gap: 1.5rem;
  padding: 2rem;
}

.feature-card {
  flex: 1;
  background: color-mix(in srgb, var(--color-text), transparent 95%);
  border: 1px solid color-mix(in srgb, var(--color-text), transparent 85%);
  border-radius: 12px;
  padding: 1.5rem 1rem 2.5rem 1rem; 
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-orange);
}

.feature-card h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.feature-card p {
  line-height: 1.5;
  margin: 0;
  opacity: 0.8;
}

/* Products Section */
.product-section {
  padding: 4rem 1rem;
  text-align: center;
  background-color: var(--color-bg);
}

.section-header {
  margin-bottom: 2rem;
}

.badge {
  display: inline-block;
  padding: 6px 12px;
  background: color-mix(in srgb, var(--color-orange), transparent 85%);
  color: var(--color-orange);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.section-header h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin: 1rem 0;
}

.subtitle {
  max-width: 700px;
  margin: 0 auto;
  opacity: 0.7;
}

.specs-note {
  font-size: 0.85rem;
  opacity: 0.6;
  margin-top: 1rem;
}

.tabs-container {
  display: flex;
  background: color-mix(in srgb, var(--color-text), transparent 92%);
  padding: 4px;
  border-radius: 10px;
  width: fit-content;
  margin: 2.5rem auto;
}

.tab {
  padding: 0.6rem 2.5rem;
  border: none;
  background: transparent;
  color: var(--color-text);
  cursor: pointer;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.tab:hover {
  background: color-mix(in srgb, var(--color-text), transparent 85%);
}

.tab.active {
  background: var(--color-bg);
  box-shadow: 0 2px 8px color-mix(in srgb, var(--color-text), transparent 85%);
}

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

.product-card {
  background: var(--color-bg);
  border: 1px solid color-mix(in srgb, var(--color-text), transparent 85%);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover { 
  transform: translateY(-5px); 
  box-shadow: 0 8px 24px color-mix(in srgb, var(--color-text), transparent 85%);
}

.img-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.img-wrapper img {
  height: 120px;
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease;
}

.product-card:hover .img-wrapper img {
  transform: scale(1.05);
}

.tagline { 
  font-size: 0.85rem; 
  opacity: 0.6; 
  margin: 0.2rem 0 1rem; 
}

.status-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  margin: 0 auto 1rem;
  width: fit-content;
}

.status-badge.blue { 
  background: color-mix(in srgb, var(--color-orange), transparent 85%); 
  color: var(--color-orange); 
}

.status-badge.orange { 
  background: #ffedd5; 
  color: #9a3412; 
}

.status-badge.green { 
  background: #dcfce7; 
  color: #166534; 
}

.price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-orange);
  margin-bottom: 2rem;
}

.price span { 
  font-size: 0.9rem; 
  font-weight: 400; 
  opacity: 0.6; 
}

.specs-table {
  text-align: left;
  margin-bottom: 1.5rem;
  border-top: 1px solid color-mix(in srgb, var(--color-text), transparent 85%);
}

.specs-table h4, 
.best-for h4 {
  font-size: 0.9rem;
  text-align: center;
  margin: 1.5rem 0 1rem;
  font-weight: 600;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid color-mix(in srgb, var(--color-text), transparent 90%);
  font-size: 0.9rem;
}

.best-for {
  background: color-mix(in srgb, var(--color-text), transparent 95%);
  border-radius: 8px;
  padding: 1rem;
  text-align: left;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.best-for p { 
  font-size: 0.85rem; 
  opacity: 0.8;
  margin: 0;
}

.card-actions { 
  display: flex; 
  flex-direction: column; 
  gap: 0.5rem; 
}

.btn-primary, 
.btn-secondary {
  padding: 0.8rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px color-mix(in srgb, var(--color-text), transparent 70%);
}

.btn-primary.success { 
  background: #86efac; 
  color: #166534; 
}

.btn-secondary { 
  background: transparent; 
  color: var(--color-text);
  border: 1px solid color-mix(in srgb, var(--color-text), transparent 80%);
}

.btn-secondary:hover {
  background: color-mix(in srgb, var(--color-text), transparent 95%);
  border-color: var(--color-orange);
}

.footer-link { 
  margin-top: 3rem; 
}

.footer-link a {
  color: var(--color-text);
  text-decoration: underline;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-link a:hover {
  color: var(--color-orange);
}

/* Technical Specifications Section */
.tech-specs-section {
  padding: 4rem 1rem;
}

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

.spec-category {
  background: var(--color-bg);
  border: 1px solid color-mix(in srgb, var(--color-text), transparent 85%);
  border-radius: 12px;
  padding: 2rem;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.spec-category:hover {
  transform: translateY(-4px);
  border-color: var(--color-orange);
}

.spec-icon {
  width: 56px;
  height: 56px;
  background: color-mix(in srgb, var(--color-orange), transparent 90%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-orange);
  margin-bottom: 1.5rem;
}

.spec-category h3 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  color: var(--color-text);
}

.spec-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.spec-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid color-mix(in srgb, var(--color-text), transparent 90%);
  font-size: 0.9rem;
  opacity: 0.9;
}

.spec-list li:last-child {
  border-bottom: none;
}

.spec-list strong {
  color: var(--color-orange);
  font-weight: 600;
}

/* Why Choose Us Section */
.why-choose-section {
  padding: 4rem 1rem;
}

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

.benefit-card {
  background: var(--color-bg);
  border: 1px solid color-mix(in srgb, var(--color-text), transparent 85%);
  border-radius: 12px;
  padding: 2rem;
  transition: transform 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--color-orange);
  transition: height 0.3s ease;
}

.benefit-card:hover::before {
  height: 100%;
}

.benefit-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-orange);
}

.benefit-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--color-orange);
  opacity: 0.2;
  margin-bottom: 1rem;
  line-height: 1;
}

.benefit-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--color-text);
}

.benefit-card p {
  opacity: 0.8;
  line-height: 1.6;
  margin: 0;
}

/* Waitlist Section */
.newsletter-section {
  scroll-behavior: smooth;
  transition: all ease-in-out;
  transition-duration: 500ms;
  padding: 4rem 1rem;
}

.newsletter-container {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  padding: 3rem 2rem;
}

.newsletter-content h2 {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.newsletter-content p {
  opacity: 0.7;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.newsletter-form {
  margin-bottom: 1rem;
}

.form-group {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.form-input {
  flex: 1;
  min-width: 200px;
  padding: 1rem;
  border: 1px solid color-mix(in srgb, var(--color-text), transparent 85%);
  border-radius: 16px;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: 'Google Sans', sans-serif;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--color-orange);
}

.form-input::placeholder {
  color: color-mix(in srgb, var(--color-text), transparent 50%);
}

.btn-submit {
  width: 100%;
  padding: 1rem 2rem;
  background: var(--color-orange);
  color: var(--color-bg);
  border: none;
  border-radius: 16px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px color-mix(in srgb, var(--color-orange), transparent 60%);
}

.btn-submit:active {
  transform: translateY(0);
}

.privacy-note {
  font-size: 0.85rem;
  opacity: 0.6;
  margin: 0;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-body {
    flex-direction: column;
    padding: 1rem;
  }

  .hero-text,
  .hero-image {
    max-width: 100%;
  }

  .hero-img img {
    padding: none;
  }

  .feature-grid {
    flex-direction: column;
    padding: 1rem;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .section-header h1 {
    font-size: 2rem;
  }

  .tabs-container {
    flex-direction: column;
    width: 100%;
  }

  .tab {
    padding: 0.8rem 1rem;
  }

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

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

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

  .form-group {
    flex-direction: column;
  }

  .form-input {
    min-width: 100%;
  }

  .download-buttons {
    flex-direction: column;
    align-items: center;
  }

  .download-buttons .btn-primary,
  .download-buttons .btn-secondary {
    width: 100%;
    max-width: 300px;
  }

  .newsletter-content h2 {
    font-size: 1.75rem;
  }
}

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

  .section-header h1 {
    font-size: 1.75rem;
  }

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

  .newsletter-container {
    padding: 2rem 1.5rem;
  }
}