/* Simi Circle Website Styles */
/* Based on app theme: Poppins for headings, Inter for body */

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

:root {
  /* Brand Colors */
  --primary-orange: #FF6B35;
  --primary-red: #FF4545;
  --circle-accent: #FF5722;

  /* Secondary Colors */
  --success-green: #4CAF50;
  --info-blue: #2196F3;
  --warning-yellow: #FFC107;

  /* Neutral Colors */
  --background-grey: #F5F5F5;
  --card-white: #FFFFFF;
  --text-dark: #212121;
  --text-light: #757575;
  --divider-grey: #E0E0E0;
}

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

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background-color: var(--background-grey);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  line-height: 1.3;
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

/* Header */
header {
  background: linear-gradient(135deg, var(--primary-orange), var(--primary-red));
  color: white;
  padding: 1rem 0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.logo {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: white;
  padding: 5px;
}

.brand-name {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  align-items: center;
}

nav a {
  color: white;
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  transition: opacity 0.3s;
}

nav a:hover {
  opacity: 0.8;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary-orange), var(--primary-red));
  color: white;
  padding: 6rem 2rem;
  text-align: center;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.tagline {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  font-family: 'Poppins', sans-serif;
  opacity: 0.95;
}

.hero-description {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  opacity: 0.9;
  line-height: 1.7;
}

.hero p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  font-family: 'Poppins', sans-serif;
  padding: 0.875rem 1.5rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9375rem;
  transition: transform 0.2s, box-shadow 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

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

.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid white;
}

/* Sections */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--text-dark);
}

/* Feature Cards */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.feature-card {
  background: var(--card-white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-orange), var(--primary-red));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.75rem;
}

.feature-card h3 {
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: var(--text-light);
  line-height: 1.6;
}

/* Stats Section */
.stats {
  background: linear-gradient(135deg, var(--primary-orange), var(--primary-red));
  color: white;
  padding: 4rem 2rem;
  text-align: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 2rem auto 0;
}

.stat-card {
  padding: 1.5rem;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1.125rem;
  opacity: 0.9;
}

/* App Store Buttons */
.app-stores {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.store-button {
  display: inline-block;
  transition: transform 0.2s;
}

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

.store-badge {
  height: 50px;
  width: auto;
}

/* Footer */
footer {
  background: var(--text-dark);
  color: white;
  padding: 3rem 2rem 1.5rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  margin-bottom: 1rem;
  font-size: 1.125rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s;
}

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

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
}

/* Privacy Page */
.privacy-content {
  background: white;
  padding: 3rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  max-width: 900px;
  margin: 2rem auto;
}

.privacy-content h2 {
  color: var(--primary-orange);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.privacy-content h3 {
  color: var(--text-dark);
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.privacy-content p, .privacy-content li {
  margin-bottom: 1rem;
  line-height: 1.8;
}

.privacy-content ul {
  padding-left: 2rem;
  margin-bottom: 1.5rem;
}

.last-updated {
  font-style: italic;
  color: var(--text-light);
  margin-bottom: 2rem;
}

/* Merchant Portal Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
  animation: fadeIn 0.3s;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-content {
  background-color: var(--card-white);
  margin: 2% auto;
  padding: 2rem;
  border-radius: 12px;
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  animation: slideIn 0.3s;
}

@keyframes slideIn {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.modal-close {
  color: var(--text-light);
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  line-height: 1;
  transition: color 0.3s;
}

.modal-close:hover,
.modal-close:focus {
  color: var(--primary-red);
}

.modal-title {
  color: var(--primary-orange);
  margin-bottom: 1.5rem;
  font-family: 'Poppins', sans-serif;
}

/* Tab Navigation */
.tab-navigation {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  border-bottom: 2px solid var(--divider-grey);
}

.tab-btn {
  font-family: 'Poppins', sans-serif;
  padding: 0.75rem 1.5rem;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  color: var(--text-light);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  margin-bottom: -2px;
}

.tab-btn:hover {
  color: var(--primary-orange);
}

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

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.3s;
}

/* Form Styles */
.merchant-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.merchant-form h3 {
  color: var(--text-dark);
  font-size: 1.25rem;
  margin-top: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--divider-grey);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.9375rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="url"],
.form-group input[type="number"],
.form-group input[type="datetime-local"],
.form-group select,
.form-group textarea {
  padding: 0.75rem;
  border: 2px solid var(--divider-grey);
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-orange);
}

.form-group small {
  color: var(--text-light);
  font-size: 0.8125rem;
}

.word-count,
.char-count {
  align-self: flex-end;
  font-size: 0.8125rem;
  color: var(--text-light);
}

/* File upload */
.form-group input[type="file"] {
  padding: 0.5rem;
  cursor: pointer;
}

/* Hours Grid */
.hours-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.time-select-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.time-select {
  flex: 1;
  padding: 0.75rem;
  border: 2px solid var(--divider-grey);
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  transition: border-color 0.3s;
}

.time-select:focus {
  outline: none;
  border-color: var(--primary-orange);
}

.time-select:disabled {
  background-color: var(--background-grey);
  cursor: not-allowed;
  opacity: 0.6;
}

.time-separator {
  color: var(--text-light);
  font-weight: 500;
  white-space: nowrap;
}

/* Checkbox and Radio Styles */
.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.checkbox-label,
.radio-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-weight: 500;
}

.checkbox-label input[type="checkbox"],
.radio-label input[type="radio"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--primary-orange);
}

.radio-group {
  display: flex;
  gap: 2rem;
  padding: 0.5rem 0;
}

/* Submit Button */
.submit-btn {
  background: linear-gradient(135deg, var(--primary-orange), var(--primary-red));
  color: white;
  padding: 1rem 2rem;
  border: none;
  border-radius: 25px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  margin-top: 1rem;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
}

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

/* Logo cursor hint */
#merchant-logo {
  cursor: pointer;
  transition: transform 0.2s;
}

#merchant-logo:hover {
  transform: scale(1.05);
}

/* Responsive */
/* Sun Explainer Section */
.sun-explainer {
  background: linear-gradient(135deg, #FFF3E0, #FFE0B2);
}

.sun-explainer-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.sun-explainer-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.sun-explainer-text h2 {
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

.sun-explainer-text p {
  font-size: 1.125rem;
  color: var(--text-dark);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.sun-stats {
  display: flex;
  gap: 2rem;
}

.sun-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.sun-stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-orange);
  font-family: 'Poppins', sans-serif;
}

.sun-stat-label {
  font-size: 0.875rem;
  color: var(--text-light);
  text-align: center;
}

/* How It Works Section */
.how-it-works {
  background: white;
}

.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.how-step {
  text-align: center;
  position: relative;
  padding: 2rem;
  background: var(--background-grey);
  border-radius: 16px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.how-step:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.step-number {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-orange), var(--primary-red));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
}

.step-icon {
  font-size: 4rem;
  margin: 2rem 0 1.5rem;
}

.how-step h3 {
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.how-step p {
  color: var(--text-light);
  line-height: 1.6;
}

/* Value Proposition Cards */
.value-props {
  background: var(--background-grey);
  padding: 5rem 2rem;
}

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

.value-card {
  padding: 3rem 2rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.value-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.15);
}

.value-card-primary {
  background: linear-gradient(135deg, #FF6B35, #FF8A5B);
  color: white;
}

.value-card-secondary {
  background: linear-gradient(135deg, #2196F3, #42A5F5);
  color: white;
}

.value-card-tertiary {
  background: linear-gradient(135deg, #4CAF50, #66BB6A);
  color: white;
}

.value-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
}

.value-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: white;
}

.value-card p {
  font-size: 1.125rem;
  opacity: 0.95;
  line-height: 1.6;
}

/* Community Message */
.community-message {
  max-width: 900px;
  margin: 3rem auto 0;
  padding: 2.5rem;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  backdrop-filter: blur(10px);
}

.community-message p {
  font-size: 1.25rem;
  line-height: 1.8;
  color: white;
  font-style: italic;
  text-align: center;
}

/* Addictive Features Section */
.addictive-features {
  background: white;
}

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

.features-grid .feature-card {
  background: var(--card-white);
  padding: 2.5rem 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  transition: all 0.3s;
  border: 2px solid transparent;
}

.features-grid .feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(255, 107, 53, 0.2);
  border-color: var(--primary-orange);
}

.features-grid .feature-icon {
  font-size: 3rem;
  width: auto;
  height: auto;
  background: none;
  margin-bottom: 1.5rem;
}

/* Merchant Teaser Section */
.merchant-teaser {
  background: linear-gradient(135deg, #2C2C2C, #1A1A1A);
  color: white;
}

.merchant-teaser-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.merchant-teaser h2 {
  color: white;
  margin-bottom: 1.5rem;
}

.merchant-teaser > p {
  font-size: 1.25rem;
  margin-bottom: 3rem;
  opacity: 0.9;
  line-height: 1.8;
}

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

.merchant-benefit {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.125rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
}

.benefit-icon {
  width: 32px;
  height: 32px;
  background: var(--primary-orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.merchant-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.invite-badge {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, var(--primary-orange), var(--primary-red));
  color: white;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.9rem;
}

/* Final CTA Section */
.final-cta {
  background: linear-gradient(135deg, #FFF3E0, #FFE0B2);
  text-align: center;
  padding: 5rem 2rem;
}

.final-cta h2 {
  font-size: 2.5rem;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

.final-cta-text {
  font-size: 1.25rem;
  color: var(--text-dark);
  max-width: 800px;
  margin: 0 auto 3rem;
  line-height: 1.8;
}

.app-note {
  margin-top: 1.5rem;
  font-size: 1.125rem;
  color: var(--primary-orange);
  font-weight: 600;
}

/* Stats Section Enhancements */
.stat-card {
  padding: 2rem 1.5rem;
}

.stat-icon {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    gap: 1rem;
  }

  nav ul {
    flex-direction: column;
    gap: 1rem;
  }

  .hero {
    padding: 3rem 1.5rem;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .tagline {
    font-size: 1.25rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  h1 {
    font-size: 2rem;
  }

  .section {
    padding: 3rem 1.5rem;
  }

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

  /* Sun Explainer Mobile */
  .sun-explainer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .sun-stats {
    flex-direction: column;
    gap: 1rem;
  }

  /* How It Works Mobile */
  .how-steps {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  /* Value Props Mobile */
  .value-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  /* Features Grid Mobile */
  .features-grid {
    grid-template-columns: 1fr;
  }

  /* Merchant Benefits Mobile */
  .merchant-benefits {
    grid-template-columns: 1fr;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .privacy-content {
    padding: 2rem 1.5rem;
    margin: 1rem;
  }

  /* Modal Responsive */
  .modal-content {
    width: 95%;
    margin: 5% auto;
    padding: 1.5rem;
  }

  .tab-navigation {
    flex-direction: column;
  }

  .tab-btn {
    width: 100%;
  }

  .hours-grid,
  .checkbox-grid {
    grid-template-columns: 1fr;
  }

  .time-select-group {
    flex-direction: column;
    align-items: stretch;
  }

  .time-separator {
    text-align: center;
  }

  .radio-group {
    flex-direction: column;
    gap: 1rem;
  }
}

/* Sun Meter Animation Styles */
.sun-meter-demo-container {
  max-width: 600px;
  margin: 3rem auto;
  text-align: center;
}

.sun-meter-wrapper {
  width: 180px;
  height: 180px;
  margin: 0 auto 2rem;
  position: relative;
}

.sun-meter-demo {
  width: 100%;
  height: 100%;
  position: relative;
  border-radius: 50%;
  background: white;
  box-shadow:
    0 4px 12px rgba(0,0,0,0.2),
    0 0 30px rgba(255,193,7,0.4);
  overflow: hidden;
  animation: sunGlowDemo 3s ease-in-out infinite;
}

@keyframes sunGlowDemo {
  0%, 100% {
    box-shadow:
      0 4px 12px rgba(0,0,0,0.2),
      0 0 30px rgba(255,193,7,0.4);
  }
  50% {
    box-shadow:
      0 4px 12px rgba(0,0,0,0.2),
      0 0 40px rgba(255,193,7,0.6),
      0 0 60px rgba(255,235,59,0.3);
  }
}

.sun-meter-fill {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: linear-gradient(to bottom, #FFC107, #FFD54F);
  animation: fillMeterDemo 6s ease-in-out infinite;
}

@keyframes fillMeterDemo {
  0% { height: 0%; }
  50% { height: 100%; }
  100% { height: 0%; }
}

.sun-meter-shimmer {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255,255,255,0.4),
    transparent
  );
  animation: shimmerDemo 2s linear infinite;
}

@keyframes shimmerDemo {
  0% { left: -100%; }
  100% { left: 100%; }
}

.sun-meter-rays {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200px;
  height: 200px;
  margin: -100px 0 0 -100px;
  animation: rotateSunRaysDemo 20s linear infinite;
  z-index: -1;
}

@keyframes rotateSunRaysDemo {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.sun-meter-ray {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4px;
  height: 35px;
  background: linear-gradient(to bottom, rgba(255,235,59,0.6), transparent);
  transform-origin: center -60px;
  opacity: 0.8;
}

.sun-meter-ray:nth-child(1) { transform: rotate(0deg); }
.sun-meter-ray:nth-child(2) { transform: rotate(30deg); }
.sun-meter-ray:nth-child(3) { transform: rotate(60deg); }
.sun-meter-ray:nth-child(4) { transform: rotate(90deg); }
.sun-meter-ray:nth-child(5) { transform: rotate(120deg); }
.sun-meter-ray:nth-child(6) { transform: rotate(150deg); }
.sun-meter-ray:nth-child(7) { transform: rotate(180deg); }
.sun-meter-ray:nth-child(8) { transform: rotate(210deg); }
.sun-meter-ray:nth-child(9) { transform: rotate(240deg); }
.sun-meter-ray:nth-child(10) { transform: rotate(270deg); }
.sun-meter-ray:nth-child(11) { transform: rotate(300deg); }
.sun-meter-ray:nth-child(12) { transform: rotate(330deg); }

.sun-meter-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 110px;
  height: 110px;
  z-index: 2;
  pointer-events: none;
}

.sun-meter-caption {
  font-size: 1.125rem;
  color: var(--text-medium);
  margin-top: 1.5rem;
  font-weight: 500;
}

@media (max-width: 768px) {
  .sun-meter-wrapper {
    width: 150px;
    height: 150px;
  }

  .sun-meter-logo {
    width: 90px;
    height: 90px;
  }

  .sun-meter-rays {
    width: 170px;
    height: 170px;
    margin: -85px 0 0 -85px;
  }
}

/* Tablet Portrait (768px - 1024px) */
@media only screen and (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
  /* Header adjustments */
  .header-content {
    padding: 0 1.5rem;
  }

  .brand-name {
    font-size: 1.375rem;
  }

  nav ul {
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  nav a {
    font-size: 0.9375rem;
  }

  /* Hero section */
  .hero {
    padding: 4rem 2rem;
  }

  h1 {
    font-size: 2.25rem;
  }

  .tagline {
    font-size: 1.625rem;
  }

  .hero p {
    font-size: 1.0625rem;
  }

  /* Features grid - 2 columns on tablet portrait */
  .features {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
  }

  /* Stats grid - 2 columns */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .stat-number {
    font-size: 2.75rem;
  }

  .stat-label {
    font-size: 1.0625rem;
  }

  /* Footer - 2 columns */
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  /* Modal adjustments */
  .modal-content {
    width: 85%;
    padding: 2rem;
    max-height: 85vh;
  }

  /* Form grids - 2 columns */
  .hours-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .checkbox-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Privacy page */
  .privacy-content {
    padding: 2.5rem;
    margin: 1.5rem;
  }

  /* Section spacing */
  .section {
    padding: 3.5rem 2rem;
  }
}

/* Tablet Landscape (768px - 1024px) */
@media only screen and (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
  /* Header - keep horizontal on landscape */
  .header-content {
    flex-direction: row;
    padding: 0 1.5rem;
    gap: 2rem;
  }

  .logo {
    width: 45px;
    height: 45px;
  }

  .brand-name {
    font-size: 1.25rem;
  }

  nav ul {
    flex-direction: row;
    gap: 1.25rem;
  }

  nav a {
    font-size: 0.875rem;
  }

  /* Hero section - reduce padding for landscape */
  .hero {
    padding: 3.5rem 2rem;
  }

  h1 {
    font-size: 2.125rem;
  }

  .tagline {
    font-size: 1.5rem;
  }

  .hero p {
    font-size: 1rem;
  }

  /* Features grid - 3 columns on landscape */
  .features {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  /* Stats grid - 4 columns to fit in landscape */
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .stat-label {
    font-size: 0.9375rem;
  }

  /* Footer - 4 columns on landscape */
  .footer-content {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }

  /* Modal adjustments */
  .modal-content {
    width: 80%;
    max-width: 900px;
    padding: 2rem;
    max-height: 80vh;
  }

  /* Form grids */
  .hours-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .checkbox-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Privacy page */
  .privacy-content {
    padding: 2.5rem 3rem;
    margin: 1.5rem auto;
  }

  /* Section spacing */
  .section {
    padding: 3rem 2rem;
  }

  /* Sun meter adjustments */
  .sun-meter-wrapper {
    width: 160px;
    height: 160px;
  }

  .sun-meter-logo {
    width: 100px;
    height: 100px;
  }

  .sun-meter-rays {
    width: 180px;
    height: 180px;
    margin: -90px 0 0 -90px;
  }
}

/* General tablet optimizations (both orientations) */
@media only screen and (min-width: 768px) and (max-width: 1024px) {
  /* Typography improvements */
  h2 {
    font-size: 1.875rem;
  }

  h3 {
    font-size: 1.375rem;
  }

  /* Button sizing */
  .btn {
    padding: 0.8125rem 1.375rem;
    font-size: 0.9375rem;
  }

  /* Feature cards */
  .feature-card {
    padding: 1.75rem;
  }

  .feature-icon {
    width: 55px;
    height: 55px;
    font-size: 1.625rem;
  }

  /* Store badges */
  .store-badge {
    height: 48px;
  }

  /* Form inputs */
  .form-group input[type="text"],
  .form-group input[type="email"],
  .form-group input[type="tel"],
  .form-group input[type="url"],
  .form-group input[type="number"],
  .form-group input[type="datetime-local"],
  .form-group select,
  .form-group textarea {
    padding: 0.8125rem;
    font-size: 0.9375rem;
  }

  /* Tab buttons */
  .tab-btn {
    padding: 0.6875rem 1.375rem;
    font-size: 0.9375rem;
  }

  /* Submit button */
  .submit-btn {
    padding: 0.9375rem 1.875rem;
    font-size: 0.9375rem;
  }

  /* Better touch targets for tablets */
  .modal-close {
    font-size: 32px;
    padding: 0.5rem;
  }

  /* Improve readability */
  .feature-card p,
  .privacy-content p,
  .privacy-content li {
    font-size: 0.9375rem;
    line-height: 1.7;
  }
}
