/* ============================================
   GreenSage — Sustainable Living Coach
   Color Theme: Deep Forest Dark
   ============================================ */

:root {
  --bg: #0a1a0a;
  --bg-panel: #122a12;
  --bg-card: #1a3a1a;
  --bg-input: #0d200d;
  --primary: #00e676;
  --primary-dim: #00c853;
  --secondary: #00bfa5;
  --accent: #ffea00;
  --accent-dim: #ffd600;
  --text: #e8f5e9;
  --text-dim: #81c784;
  --text-muted: #4caf5080;
  --border: #2e7d3240;
  --danger: #ff5252;
  --success: #69f0ae;
  --warning: #ffd740;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 20px rgba(0, 230, 118, 0.08);
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

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

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  padding-top: var(--safe-top);
  padding-bottom: calc(70px + var(--safe-bottom));
}

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--primary-dim); border-radius: 4px; }

/* ---- Landing Page ---- */
.landing-page {
  min-height: 100vh;
  min-height: 100dvh;
  background: linear-gradient(135deg, #0a1a0a 0%, #0d2818 50%, #0a1a0a 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 20px 60px;
  text-align: center;
}

.landing-logo {
  font-size: 3rem;
  margin-bottom: 8px;
}

.landing-title {
  font-size: 2.2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.landing-subtitle {
  font-size: 1.1rem;
  color: var(--text-dim);
  max-width: 500px;
  margin-bottom: 32px;
  line-height: 1.5;
}

.landing-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 500px;
  width: 100%;
  margin-bottom: 36px;
}

.landing-feature {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 16px;
  text-align: center;
}

.landing-feature-icon {
  font-size: 2rem;
  margin-bottom: 8px;
}

.landing-feature-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}

.landing-feature-desc {
  font-size: 0.75rem;
  color: var(--text-dim);
  line-height: 1.4;
}

.landing-cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 340px;
  margin-bottom: 24px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #000;
  border: none;
  padding: 16px 32px;
  border-radius: var(--radius);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:active {
  transform: scale(0.97);
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 14px 32px;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-secondary:hover,
.btn-secondary:active {
  background: rgba(0, 230, 118, 0.1);
}

.landing-stats {
  display: flex;
  gap: 32px;
  margin-bottom: 32px;
}

.landing-stat {
  text-align: center;
}

.landing-stat-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
}

.landing-stat-label {
  font-size: 0.7rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.landing-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.landing-badge {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 0.7rem;
  color: var(--text-dim);
}

/* ---- App Shell ---- */
.app-container {
  display: none;
  padding: 12px;
  max-width: 600px;
  margin: 0 auto;
}

.app-container.active {
  display: block;
}

/* ---- Header ---- */
.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0 16px;
}

.app-header-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
}

.header-controls {
  display: flex;
  gap: 8px;
}

.header-btn {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-dim);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
}

/* ---- Tab Content ---- */
.tab-content {
  display: none;
}

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

/* ---- Cards ---- */
.card {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 16px;
}

.card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

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

.card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.card-subtitle {
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-top: 2px;
}

/* ---- Form Elements ---- */
.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-dim);
  margin-bottom: 6px;
}

.form-input,
.form-select {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--text);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
}

.form-input:focus,
.form-select:focus {
  border-color: var(--primary);
}

.form-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2381c784'%3E%3Cpath d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.form-range {
  width: 100%;
  -webkit-appearance: none;
  height: 6px;
  background: var(--bg-input);
  border-radius: 3px;
  outline: none;
  margin: 8px 0;
}

.form-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  background: var(--primary);
  border-radius: 50%;
  cursor: pointer;
}

.range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: var(--text-muted);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: transform 0.15s, opacity 0.15s;
  width: 100%;
}

.btn:active { transform: scale(0.97); }

.btn-green {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #000;
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--primary);
  color: var(--primary);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent), #ff9100);
  color: #000;
}

.btn-sm {
  padding: 8px 14px;
  font-size: 0.8rem;
  width: auto;
}

.btn-icon {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 50%;
  font-size: 1.1rem;
}

/* ---- EcoScore Results ---- */
.eco-result {
  display: none;
  text-align: center;
  padding: 20px 0;
}

.eco-result.active { display: block; }

.eco-score-circle {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.eco-score-value {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1;
}

.eco-score-unit {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-top: 4px;
}

.eco-score-label {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.eco-score-desc {
  font-size: 0.8rem;
  color: var(--text-dim);
  max-width: 300px;
  margin: 0 auto 20px;
  line-height: 1.4;
}

.eco-grade-excellent {
  background: linear-gradient(135deg, rgba(0, 230, 118, 0.2), rgba(0, 191, 165, 0.2));
  border: 2px solid var(--primary);
}

.eco-grade-good {
  background: linear-gradient(135deg, rgba(0, 191, 165, 0.2), rgba(255, 234, 0, 0.1));
  border: 2px solid var(--secondary);
}

.eco-grade-average {
  background: linear-gradient(135deg, rgba(255, 234, 0, 0.15), rgba(255, 145, 0, 0.1));
  border: 2px solid var(--accent);
}

.eco-grade-poor {
  background: linear-gradient(135deg, rgba(255, 145, 0, 0.15), rgba(255, 82, 82, 0.1));
  border: 2px solid var(--danger);
}

.eco-breakdown {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}

.eco-breakdown-item {
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  padding: 12px;
  text-align: center;
}

.eco-breakdown-value {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
}

.eco-breakdown-label {
  font-size: 0.7rem;
  color: var(--text-dim);
  margin-top: 2px;
}

.eco-tips {
  margin-top: 20px;
  text-align: left;
}

.eco-tip {
  display: flex;
  gap: 10px;
  padding: 12px;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  align-items: flex-start;
}

.eco-tip-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}

.eco-tip-text {
  font-size: 0.8rem;
  color: var(--text-dim);
  line-height: 1.4;
}

.eco-tip-savings {
  font-size: 0.7rem;
  color: var(--primary);
  font-weight: 600;
  margin-top: 4px;
}

/* ---- Solar Calculator ---- */
.solar-result {
  display: none;
}

.solar-result.active { display: block; }

.solar-hero {
  text-align: center;
  padding: 20px 0;
}

.solar-hero-value {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--accent);
}

.solar-hero-label {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.solar-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 16px 0;
}

.solar-stat {
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  padding: 12px 8px;
  text-align: center;
}

.solar-stat-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
}

.solar-stat-label {
  font-size: 0.65rem;
  color: var(--text-dim);
  margin-top: 2px;
}

.solar-chart {
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-top: 16px;
}

.solar-chart-title {
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-dim);
}

.solar-chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 120px;
}

.solar-chart-bar {
  flex: 1;
  background: linear-gradient(to top, var(--accent-dim), var(--accent));
  border-radius: 3px 3px 0 0;
  min-height: 4px;
  position: relative;
}

.solar-chart-bar-label {
  position: absolute;
  bottom: -18px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.55rem;
  color: var(--text-muted);
}

/* ---- Challenges ---- */
.challenge-streak {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, rgba(0, 230, 118, 0.1), rgba(255, 234, 0, 0.05));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 16px;
}

.streak-fire {
  font-size: 2rem;
}

.streak-count {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent);
}

.streak-label {
  font-size: 0.75rem;
  color: var(--text-dim);
}

.challenge-card {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 12px;
  transition: border-color 0.2s;
}

.challenge-card.completed {
  border-color: var(--primary);
  opacity: 0.7;
}

.challenge-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
}

.challenge-category {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(0, 230, 118, 0.15);
  color: var(--primary);
}

.challenge-category.energy { background: rgba(255, 234, 0, 0.15); color: var(--accent); }
.challenge-category.water { background: rgba(0, 191, 165, 0.15); color: var(--secondary); }
.challenge-category.waste { background: rgba(255, 145, 0, 0.15); color: #ff9100; }
.challenge-category.food { background: rgba(105, 240, 174, 0.15); color: var(--success); }
.challenge-category.transport { background: rgba(130, 177, 255, 0.15); color: #82b1ff; }

.challenge-points {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
}

.challenge-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.challenge-desc {
  font-size: 0.8rem;
  color: var(--text-dim);
  line-height: 1.4;
  margin-bottom: 10px;
}

.challenge-impact {
  font-size: 0.7rem;
  color: var(--primary);
  font-weight: 600;
}

.challenge-btn {
  margin-top: 10px;
  padding: 8px 16px;
  background: var(--bg-card);
  border: 1px solid var(--primary);
  color: var(--primary);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
}

.challenge-btn.done {
  background: var(--primary);
  color: #000;
  border-color: var(--primary);
}

.challenge-progress {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 16px;
}

.progress-bar-wrap {
  background: var(--bg-input);
  border-radius: 6px;
  height: 10px;
  overflow: hidden;
  margin: 8px 0;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 6px;
  transition: width 0.5s ease;
}

.progress-text {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-dim);
}

/* ---- Green Shop ---- */
.shop-categories {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 16px;
  -webkit-overflow-scrolling: touch;
}

.shop-cat-btn {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-dim);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s;
}

.shop-cat-btn.active {
  background: var(--primary);
  color: #000;
  border-color: var(--primary);
}

.shop-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.shop-item {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  cursor: pointer;
  transition: border-color 0.2s;
}

.shop-item:active {
  border-color: var(--primary);
}

.shop-item-icon {
  font-size: 2rem;
  margin-bottom: 8px;
}

.shop-item-name {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 4px;
  line-height: 1.3;
}

.shop-item-desc {
  font-size: 0.7rem;
  color: var(--text-dim);
  line-height: 1.3;
  margin-bottom: 8px;
}

.shop-item-impact {
  font-size: 0.65rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 8px;
}

.shop-item-btn {
  display: block;
  text-align: center;
  padding: 8px;
  background: var(--bg-card);
  border: 1px solid var(--primary);
  border-radius: var(--radius-sm);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
}

/* ---- Learn / MasterTeach ---- */
.learn-card {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 12px;
  cursor: pointer;
}

.learn-card-top {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.learn-card-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.learn-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.learn-card-desc {
  font-size: 0.8rem;
  color: var(--text-dim);
  line-height: 1.4;
}

.learn-card-meta {
  display: flex;
  gap: 12px;
  margin-top: 10px;
  font-size: 0.7rem;
  color: var(--text-muted);
}

.learn-content {
  display: none;
  padding: 16px 0;
}

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

.learn-content h3 {
  font-size: 1rem;
  color: var(--primary);
  margin: 20px 0 8px;
}

.learn-content p {
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.6;
  margin-bottom: 12px;
}

.learn-content ul {
  padding-left: 20px;
  margin-bottom: 12px;
}

.learn-content li {
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.6;
  margin-bottom: 4px;
}

.learn-back-btn {
  background: none;
  border: none;
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  padding: 8px 0;
  margin-bottom: 12px;
}

/* ---- Info Panel ---- */
.info-section {
  margin-bottom: 24px;
}

.info-section-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.info-subtitle {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin: 12px 0 6px;
}

.info-text {
  font-size: 0.8rem;
  color: var(--text-dim);
  line-height: 1.6;
  margin-bottom: 8px;
}

/* ---- Bottom Navigation ---- */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-panel);
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-around;
  padding: 8px 0 calc(8px + var(--safe-bottom));
  z-index: 100;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 4px 12px;
  cursor: pointer;
  transition: color 0.2s;
  font-size: 1.3rem;
}

.nav-btn.active {
  color: var(--primary);
}

.nav-btn-label {
  font-size: 0.6rem;
  font-weight: 600;
}

/* ---- Modals ---- */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

.modal {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  max-width: 400px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
}

.modal-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.modal-text {
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.5;
  margin-bottom: 16px;
}

.modal-close {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-dim);
  padding: 10px;
  border-radius: var(--radius-sm);
  width: 100%;
  font-size: 0.9rem;
  cursor: pointer;
  margin-top: 8px;
}

/* ---- Comparison Table ---- */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 0.8rem;
}

.comparison-table th {
  background: var(--bg-card);
  padding: 10px;
  text-align: left;
  color: var(--primary);
  font-weight: 600;
}

.comparison-table td {
  padding: 8px 10px;
  border-bottom: 1px solid var(--border);
  color: var(--text-dim);
}

.comparison-table .check { color: var(--primary); }
.comparison-table .cross { color: var(--text-muted); }

/* ---- Share Action Sheet ---- */
.share-sheet {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-panel);
  border-top: 1px solid var(--border);
  border-radius: 16px 16px 0 0;
  padding: 20px 20px calc(20px + var(--safe-bottom));
  z-index: 300;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.share-sheet.active {
  transform: translateY(0);
}

.share-sheet-title {
  font-size: 0.9rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
  color: var(--text-dim);
}

.share-sheet-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 0.9rem;
  cursor: pointer;
  margin-bottom: 8px;
}

.share-sheet-btn-icon {
  font-size: 1.2rem;
}

.share-sheet-cancel {
  display: block;
  width: 100%;
  padding: 14px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.9rem;
  cursor: pointer;
  margin-top: 8px;
  text-align: center;
}

/* ---- iOS Install Modal ---- */
.ios-install-modal .ios-step {
  display: flex;
  gap: 12px;
  padding: 12px;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  align-items: center;
}

.ios-step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
}

.ios-step-text {
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.4;
}

/* ---- Animations ---- */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-in {
  animation: fadeIn 0.3s ease forwards;
}

@keyframes pulse-green {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 230, 118, 0.4); }
  50% { box-shadow: 0 0 0 8px rgba(0, 230, 118, 0); }
}

.pulse-green {
  animation: pulse-green 2s infinite;
}

/* ---- Responsive ---- */
@media (max-width: 400px) {
  .landing-title { font-size: 1.8rem; }
  .landing-features { grid-template-columns: 1fr; }
  .shop-grid { grid-template-columns: 1fr; }
  .eco-breakdown { grid-template-columns: 1fr; }
  .solar-stats { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

@media (min-width: 600px) {
  .app-container { padding: 16px 24px; }
  .shop-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 900px) {
  .app-container { max-width: 700px; }
}
