:root {
  --primary-sage: #8fbc8f;
  --primary-sage-dark: #6b8e6b;
  --primary-sage-light: #a8d3a8;
  --secondary-coral: #ffb5a0;
  --secondary-coral-dark: #ff9980;
  --accent-cream: #fff8f0;
  --accent-peach: #ffeee6;
  --neutral-warm-white: #fdfcfa;
  --neutral-light-gray: #f8f6f3;
  --neutral-medium-gray: #8b8680;
  --neutral-dark-gray: #4a453e;
  --text-primary: #2d2926;
  --text-secondary: #6b6560;
  --gradient-warm: linear-gradient(
    135deg,
    var(--neutral-warm-white) 0%,
    var(--accent-cream) 100%
  );
  --gradient-sage: linear-gradient(
    135deg,
    var(--primary-sage) 0%,
    var(--primary-sage-dark) 100%
  );
  --gradient-coral: linear-gradient(
    135deg,
    var(--secondary-coral) 0%,
    var(--secondary-coral-dark) 100%
  );
  --shadow-soft: 0 4px 24px rgba(45, 41, 38, 0.08);
  --shadow-medium: 0 8px 32px rgba(45, 41, 38, 0.12);
  --shadow-strong: 0 16px 48px rgba(45, 41, 38, 0.16);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--neutral-warm-white);
  font-size: 16px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.hidden {
  display: none !important;
}

/* Header */
header {
  background: rgba(253, 252, 250, 0.95);
  backdrop-filter: blur(20px);
  padding: 16px 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(139, 134, 128, 0.1);
  transition: all 0.3s ease;
}

header.scrolled {
  background: rgba(253, 252, 250, 0.98);
  box-shadow: var(--shadow-soft);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  height: 58px;
  width: auto;
}

.logo-text {
  font-family: "Playfair Display", serif;
  font-size: 24px;
  font-weight: 600;
  color: var(--primary-sage-dark);
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 15px;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--primary-sage-dark);
}

.header-cta {
  background: var(--gradient-sage);
  color: white;
  padding: 12px 24px;
  border-radius: 24px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-soft);
}

.header-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

/* Hero Section */
.hero {
  padding: 120px 0 80px;
  background: var(--gradient-warm);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(143, 188, 143, 0.1) 0%,
    transparent 70%
  );
  border-radius: 50%;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-text {
  max-width: 520px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-peach);
  color: var(--secondary-coral-dark);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 24px;
}

.hero h1 {
  font-family: "Playfair Display", serif;
  font-size: 56px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero h1 .highlight {
  color: var(--primary-sage-dark);
  position: relative;
}

.hero-subtitle {
  font-size: 20px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 32px;
  font-weight: 400;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 40px;
}

.primary-cta {
  background: var(--gradient-sage);
  color: white;
  padding: 16px 32px;
  border-radius: 28px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-soft);
}

.primary-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.secondary-cta {
  color: var(--primary-sage-dark);
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.secondary-cta:hover {
  gap: 12px;
}

.trust-indicators {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  color: var(--text-secondary);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-visual {
  position: relative;
  text-align: center;
}

.phone-mockup {
  max-width: 280px;
  margin: 0 auto;
  position: relative;
  z-index: 3;
}

.phone-frame {
  background: white;
  border-radius: 32px;
  padding: 24px;
  box-shadow: var(--shadow-strong);
  border: 8px solid #333;
}

.app-screen {
  background: var(--neutral-light-gray);
  border-radius: 24px;
  padding: 20px;
  height: 480px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.scan-area {
  background: white;
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  border: 2px dashed var(--primary-sage-light);
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.scan-area img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.rating-display {
  background: white;
  border-radius: 12px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.rating-score {
  background: var(--gradient-sage);
  color: white;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
}

.floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.floating-icon {
  position: absolute;
  background: white;
  border-radius: 12px;
  padding: 12px;
  box-shadow: var(--shadow-soft);
  font-size: 20px;
  animation: float 3s ease-in-out infinite;
}

.floating-icon:nth-child(1) {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.floating-icon:nth-child(2) {
  top: 60%;
  right: 15%;
  animation-delay: 1s;
}

.floating-icon:nth-child(3) {
  bottom: 30%;
  left: 5%;
  animation-delay: 2s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* How It Works Section */
.how-it-works {
  padding: 100px 0;
  background: white;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-badge {
  display: inline-block;
  background: var(--accent-peach);
  color: var(--secondary-coral-dark);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 16px;
}

.section-title {
  font-family: "Playfair Display", serif;
  font-size: 42px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 60px;
}

.step-card {
  text-align: center;
  position: relative;
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--gradient-sage);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 24px;
  margin: 0 auto 24px;
  position: relative;
}

.step-card:not(:last-child) .step-number::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 100%;
  width: 100px;
  height: 2px;
  background: linear-gradient(to right, var(--primary-sage-light), transparent);
  transform: translateY(-50%);
}

.step-icon {
  font-size: 28px;
  margin-bottom: 16px;
  height: 40px;
}

.step-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.step-description {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Benefits Section */
.benefits {
  padding: 100px 0;
  background: var(--neutral-light-gray);
}

.benefits-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.benefits-text {
  max-width: 480px;
}

.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: white;
  padding: 24px;
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease;
}

.benefit-item:hover {
  transform: translateY(-2px);
}

.benefit-icon {
  width: 48px;
  height: 48px;
  background: var(--gradient-sage);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  flex-shrink: 0;
}

.benefit-content h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.benefit-content p {
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Social Proof Section */
.social-proof {
  padding: 80px 0;
  background: white;
  text-align: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin: 60px 0;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: "Playfair Display", serif;
  font-size: 48px;
  font-weight: 700;
  color: var(--primary-sage-dark);
  margin-bottom: 8px;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 16px;
  font-weight: 500;
}

.testimonial-card {
  background: var(--neutral-light-gray);
  padding: 40px;
  border-radius: 24px;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.testimonial-quote {
  font-size: 20px;
  line-height: 1.6;
  color: var(--text-primary);
  font-style: italic;
  margin-bottom: 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-sage);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
}

.author-info h5 {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.author-info p {
  color: var(--text-secondary);
  font-size: 14px;
}

/* CTA Section */
.cta-section {
  padding: 100px 0;
  background: var(--gradient-sage);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 70%
  );
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-title {
  font-family: "Playfair Display", serif;
  font-size: 48px;
  font-weight: 600;
  margin-bottom: 20px;
  line-height: 1.2;
}

.cta-subtitle {
  font-size: 20px;
  margin-bottom: 40px;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.cta-primary-btn {
  background: var(--gradient-coral);
  color: white;
  padding: 18px 36px;
  border-radius: 28px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-medium);
}

.cta-primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-strong);
}

.cta-secondary-btn {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  padding: 18px 36px;
  border-radius: 28px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.cta-secondary-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.privacy-note {
  font-size: 14px;
  opacity: 0.8;
}

/* Dashboard Section */
.dashboard-section {
  padding: 100px 0;
  background: var(--neutral-light-gray);
}

.dashboard-header {
  text-align: center;
  margin-bottom: 60px;
}

.dashboard-header h2 {
  font-family: "Playfair Display", serif;
  font-size: 42px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.dashboard-header p {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.logout-btn {
  background: var(--gradient-coral);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.logout-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.dashboard-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.dashboard-card {
  background: white;
  padding: 40px;
  border-radius: 20px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease;
}

.dashboard-card:hover {
  transform: translateY(-4px);
}

.dashboard-card h3 {
  font-size: 24px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.dashboard-card p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
}

.dashboard-cta {
  background: var(--gradient-sage);
  color: white;
  border: none;
  padding: 14px 28px;
  border-radius: 20px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dashboard-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

/* Footer */
footer {
  background: var(--text-primary);
  color: white;
  padding: 60px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand {
  max-width: 300px;
}

.footer-logo {
  font-family: "Playfair Display", serif;
  font-size: 24px;
  font-weight: 600;
  color: var(--primary-sage-light);
  margin-bottom: 16px;
}

.footer-description {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin-bottom: 24px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--primary-sage-light);
}

.footer-section h4 {
  font-weight: 600;
  margin-bottom: 16px;
  color: white;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary-sage-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

/* Mobile Responsive */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .benefits-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .dashboard-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  .nav-links {
    display: none;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .step-card:not(:last-child) .step-number::after {
    display: none;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .section-title {
    font-size: 32px;
  }

  .login-title {
    font-size: 36px;
  }

  .auth-container {
    padding: 30px 20px;
  }

  .trust-indicators {
    flex-direction: column;
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 100px 0 60px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .phone-mockup {
    max-width: 240px;
  }

  .login-title {
    font-size: 28px;
  }

  .auth-container {
    padding: 24px 16px;
  }
}
/* ===== LOGIN PAGE STYLES ===== */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-warm);
  position: relative;
  overflow: hidden;
}

.login-page::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(143, 188, 143, 0.1) 0%,
    transparent 70%
  );
  animation: rotate 30s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.login-container {
  background: white;
  border-radius: 24px;
  padding: 48px;
  max-width: 480px;
  width: 100%;
  margin: 0 24px;
  box-shadow: var(--shadow-strong);
  position: relative;
  z-index: 2;
}

.login-header {
  text-align: center;
  margin-bottom: 40px;
}

.login-logo {
  height: 64px;
  margin-bottom: 24px;
}

.login-container h1 {
  font-family: "Playfair Display", serif;
  font-size: 32px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.login-container .subtitle {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.5;
}

.auth-tabs {
  display: flex;
  background: var(--neutral-light-gray);
  border-radius: 12px;
  padding: 4px;
  margin-bottom: 32px;
}

.auth-tab {
  flex: 1;
  padding: 12px 16px;
  text-align: center;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  background: none;
  color: var(--text-secondary);
}

.auth-tab.active {
  background: white;
  color: var(--text-primary);
  box-shadow: var(--shadow-soft);
}

.auth-form {
  margin-bottom: 24px;
}

.auth-form.hidden {
  display: none;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--text-primary);
}

.form-group input {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid var(--neutral-light-gray);
  border-radius: 12px;
  font-size: 16px;
  transition: all 0.3s ease;
  background: white;
  color: var(--text-primary);
}

.form-group input:focus {
  outline: none;
  border-color: var(--primary-sage);
  box-shadow: 0 0 0 3px rgba(143, 188, 143, 0.1);
}

.form-group input::placeholder {
  color: var(--neutral-medium-gray);
}

.forgot-password {
  text-align: right;
  margin-bottom: 24px;
}

.forgot-password a {
  color: var(--primary-sage-dark);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.forgot-password a:hover {
  text-decoration: underline;
}

.auth-button {
  width: 100%;
  background: var(--gradient-sage);
  color: white;
  border: none;
  padding: 16px 32px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 24px;
}

.auth-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.auth-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.divider {
  text-align: center;
  margin: 24px 0;
  position: relative;
  color: var(--text-secondary);
  font-size: 14px;
}

.divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--neutral-light-gray);
  z-index: 1;
}

.divider span {
  background: white;
  padding: 0 16px;
  position: relative;
  z-index: 2;
}

.google-signin-btn {
  width: 100%;
  background: white;
  color: var(--text-primary);
  border: 2px solid var(--neutral-light-gray);
  padding: 16px 32px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
}

.google-signin-btn:hover {
  border-color: var(--primary-sage);
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.back-link {
  text-align: center;
  margin-top: 24px;
}

.back-link a {
  color: var(--primary-sage-dark);
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.3s ease;
}

.back-link a:hover {
  gap: 12px;
}

.auth-messages {
  margin-bottom: 24px;
}

.success-message,
.error-message {
  padding: 16px 20px;
  border-radius: 12px;
  margin-bottom: 16px;
  font-weight: 500;
  display: none;
}

.success-message {
  background: #e8f5e8;
  color: #2e7d32;
  border: 1px solid #c8e6c9;
}

.error-message {
  background: #ffebee;
  color: #c62828;
  border: 1px solid #ffcdd2;
}

/* Login Page Mobile Responsiveness */
@media (max-width: 768px) {
  .login-container {
    padding: 32px 24px;
    margin: 0 16px;
  }

  .login-container h1 {
    font-size: 28px;
  }
}

@media (max-width: 480px) {
  .login-container {
    padding: 24px 20px;
  }

  .login-container h1 {
    font-size: 24px;
  }

  .form-group input {
    padding: 14px 16px;
  }

  .auth-button {
    padding: 14px 24px;
  }

  .google-signin-btn {
    padding: 14px 24px;
  }
}

/* ADD THESE NEW SECTIONS TO YOUR EXISTING styles.css */

/* Problem Section - ADD THIS */
.problem-section {
  padding: 80px 0;
  background: white;
}

.problem-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

.problem-item {
  background: var(--neutral-light-gray);
  padding: 24px;
  border-radius: 16px;
  text-align: left;
}

.problem-icon {
  font-size: 32px;
  margin-bottom: 16px;
  display: block;
}

.problem-item h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
}

.problem-item p {
  color: var(--text-secondary);
  font-size: 14px;
}

/* Transparency Section - ADD THIS */
.transparency-section {
  padding: 80px 0;
  background: white;
}

.transparency-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.transparency-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

.transparency-item {
  background: var(--neutral-light-gray);
  padding: 24px;
  border-radius: 16px;
  text-align: left;
}

.transparency-item h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.transparency-item p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* MODIFY EXISTING SECTIONS - UPDATE THESE */

/* Update existing .rating-c class */
.rating-c {
  background: var(--gradient-coral);
}

/* Update existing hero badge text - if this doesn't exist, add it */
.hero-badge {
  background: white;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 24px;
  box-shadow: var(--shadow-soft);
}

/* Add success variant for section badges */
.section-badge.success {
  background: #dcfce7;
  color: #16a34a;
}

/* ADD THESE STYLES TO YOUR EXISTING styles.css */

/* Updated Phone Mockup Styles - REPLACE existing phone mockup styles */
.phone-frame {
  width: 300px;
  height: 600px;
  background: #1a1a1a;
  border-radius: 30px;
  padding: 8px;
  box-shadow: var(--shadow-strong);
  position: relative;
}

.phone-frame::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 6px;
  background: #333;
  border-radius: 3px;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: #f8f9fa;
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Status Bar */
.status-bar {
  background: white;
  padding: 12px 20px 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
}

.status-right {
  display: flex;
  gap: 8px;
  align-items: center;
}

.status-signal {
  font-size: 12px;
  color: var(--primary-sage);
}

/* App Header */
.app-header {
  background: white;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e5e7eb;
}

.app-title {
  font-family: "Playfair Display", serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-sage-dark);
}

.scan-button {
  width: 36px;
  height: 36px;
  background: var(--gradient-sage);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: white;
  cursor: pointer;
}

/* Product Result Card */
.product-result-card {
  background: white;
  margin: 16px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.product-image-section {
  position: relative;
  height: 120px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 8px;
}

.scan-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--primary-sage);
  color: white;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
}

.product-info-section {
  padding: 20px;
}

.product-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.product-brand {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

/* Rating Section */
.rating-section {
  margin-bottom: 16px;
}

.main-rating {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rating-grade {
  width: 56px;
  height: 56px;
  background: var(--gradient-coral);
  color: white;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
}

.rating-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.rating-subtitle {
  font-size: 13px;
  color: var(--text-secondary);
}

/* Quick Insights */
.quick-insights {
  margin-bottom: 20px;
}

.insight-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 13px;
}

.insight-icon {
  font-size: 16px;
  width: 20px;
  flex-shrink: 0;
}

.insight-text {
  color: var(--text-secondary);
  line-height: 1.4;
}

/* Action Buttons */
.action-buttons {
  display: flex;
  gap: 8px;
}

.primary-action-btn {
  flex: 1;
  background: var(--gradient-sage);
  color: white;
  border: none;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.secondary-action-btn {
  background: var(--neutral-light-gray);
  color: var(--text-primary);
  border: 1px solid var(--neutral-medium-gray);
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

/* Updated Floating Elements */
.floating-elements .floating-icon.money {
  top: 15%;
  left: 5%;
  background: rgba(255, 193, 7, 0.1);
  padding: 8px;
  border-radius: 50%;
}

.floating-elements .floating-icon.nutrition {
  top: 65%;
  right: 10%;
  background: rgba(40, 167, 69, 0.1);
  padding: 8px;
  border-radius: 50%;
}

.floating-elements .floating-icon.smart {
  bottom: 15%;
  left: 15%;
  background: rgba(108, 117, 125, 0.1);
  padding: 8px;
  border-radius: 50%;
}

/* Mobile Responsive Updates */
@media (max-width: 768px) {
  .phone-frame {
    width: 260px;
    height: 520px;
  }

  .product-result-card {
    margin: 12px;
  }

  .product-info-section {
    padding: 16px;
  }

  .app-header {
    padding: 12px 16px;
  }

  .status-bar {
    padding: 10px 16px 6px;
  }
}

/* ADD THESE STYLES TO YOUR EXISTING styles.css - IMPROVED PHONE UI */

/* Updated Phone Mockup Styles - REPLACE existing phone mockup styles */
.phone-frame {
  width: 300px;
  height: 600px;
  background: #1a1a1a;
  border-radius: 30px;
  padding: 8px;
  box-shadow: var(--shadow-strong);
  position: relative;
}

.phone-frame::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 6px;
  background: #333;
  border-radius: 3px;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: #f8f9fa;
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Status Bar */
.status-bar {
  background: white;
  padding: 12px 20px 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
}

.status-right {
  display: flex;
  gap: 8px;
  align-items: center;
}

.status-signal {
  font-size: 12px;
  color: var(--primary-sage);
}

/* App Header */
.app-header {
  background: white;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e5e7eb;
}

.app-title {
  font-family: "Playfair Display", serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-sage-dark);
}

.scan-button {
  width: 36px;
  height: 36px;
  background: var(--gradient-sage);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: white;
  cursor: pointer;
}

/* IMPROVED Product Result Card */
.product-result-card {
  background: white;
  margin: 16px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.product-header {
  display: flex;
  align-items: center;
  padding: 16px;
  gap: 12px;
  border-bottom: 1px solid #f3f4f6;
}

.product-image-container {
  width: 60px;
  height: 60px;
  background: #f8f9fa;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.product-image {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.product-basic-info {
  flex: 1;
}

.product-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.product-details {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 2px;
}

.scan-timestamp {
  font-size: 11px;
  color: var(--primary-sage);
  font-weight: 500;
}

/* Rating Container */
.rating-container {
  padding: 16px;
  border-bottom: 1px solid #f3f4f6;
}

.overall-rating {
  display: flex;
  align-items: center;
  gap: 16px;
}

.rating-grade-large {
  width: 64px;
  height: 64px;
  background: var(--gradient-coral);
  color: white;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  flex-shrink: 0;
}

.rating-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.rating-subtitle {
  font-size: 14px;
  color: var(--text-secondary);
}

/* Quality Breakdown */
.quality-breakdown {
  padding: 16px;
  border-bottom: 1px solid #f3f4f6;
}

.quality-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.quality-item:last-child {
  margin-bottom: 0;
}

.quality-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
}

.quality-icon {
  font-size: 16px;
}

.quality-score {
  display: flex;
  align-items: center;
  gap: 8px;
}

.score-bar {
  width: 60px;
  height: 6px;
  background: #e5e7eb;
  border-radius: 3px;
  overflow: hidden;
}

.score-fill {
  height: 100%;
  background: var(--primary-sage);
  border-radius: 3px;
  transition: width 0.3s ease;
}

.score-fill.score-low {
  background: #f59e0b;
}

.score-text {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  min-width: 30px;
}

/* Key Insights */
.key-insights {
  padding: 16px;
  border-bottom: 1px solid #f3f4f6;
}

.insight-item {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 13px;
}

.insight-item:last-child {
  margin-bottom: 0;
}

.insight-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.insight-dot.good {
  background: #22c55e;
}

.insight-dot.warning {
  background: #f59e0b;
}

.insight-dot.neutral {
  background: #6b7280;
}

.insight-text {
  color: var(--text-secondary);
  line-height: 1.4;
}

/* Action Section */
.action-section {
  padding: 16px;
}

.primary-action {
  width: 100%;
  background: var(--gradient-sage);
  color: white;
  border: none;
  padding: 14px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.primary-action:hover {
  transform: translateY(-1px);
}

/* Updated Floating Elements */
.floating-elements .floating-icon.money {
  top: 15%;
  left: 5%;
  background: rgba(255, 193, 7, 0.1);
  padding: 8px;
  border-radius: 50%;
}

.floating-elements .floating-icon.nutrition {
  top: 65%;
  right: 10%;
  background: rgba(40, 167, 69, 0.1);
  padding: 8px;
  border-radius: 50%;
}

.floating-elements .floating-icon.smart {
  bottom: 15%;
  left: 15%;
  background: rgba(108, 117, 125, 0.1);
  padding: 8px;
  border-radius: 50%;
}

/* Mobile Responsive Updates */
@media (max-width: 768px) {
  .phone-frame {
    width: 260px;
    height: 520px;
  }

  .product-result-card {
    margin: 12px;
  }

  .product-header {
    padding: 12px;
  }

  .rating-container,
  .quality-breakdown,
  .key-insights,
  .action-section {
    padding: 12px;
  }

  .app-header {
    padding: 12px 16px;
  }

  .status-bar {
    padding: 10px 16px 6px;
  }
}


/* ADD THESE STYLES TO YOUR EXISTING styles.css - IMPROVED PHONE UI */

/* Updated Phone Mockup Styles - REPLACE existing phone mockup styles */
.phone-frame {
  width: 300px;
  height: 600px;
  background: #1a1a1a;
  border-radius: 30px;
  padding: 8px;
  box-shadow: var(--shadow-strong);
  position: relative;
}

.phone-frame::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 6px;
  background: #333;
  border-radius: 3px;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: #f8f9fa;
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Status Bar */
.status-bar {
  background: white;
  padding: 12px 20px 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
}

.status-right {
  display: flex;
  gap: 8px;
  align-items: center;
}

.status-signal {
  font-size: 12px;
  color: var(--primary-sage);
}

/* App Header */
.app-header {
  background: white;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e5e7eb;
}

.app-title {
  font-family: "Playfair Display", serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-sage-dark);
}

.scan-button {
  width: 36px;
  height: 36px;
  background: var(--gradient-sage);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: white;
  cursor: pointer;
}

/* IMPROVED Product Result Card - MORE COMPACT */
.product-result-card {
  background: white;
  margin: 12px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.product-header {
  display: flex;
  align-items: center;
  padding: 12px;
  gap: 10px;
  border-bottom: 1px solid #f3f4f6;
}

.product-image-container {
  width: 50px;
  height: 50px;
  background: #f8f9fa;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.product-image {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.product-basic-info {
  flex: 1;
}

.product-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1px;
}

.product-details {
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 1px;
}

.scan-timestamp {
  font-size: 10px;
  color: var(--primary-sage);
  font-weight: 500;
}

/* Rating Container - COMPACT */
.rating-container {
  padding: 12px;
  border-bottom: 1px solid #f3f4f6;
}

.overall-rating {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rating-grade-large {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  flex-shrink: 0;
}

.rating-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1px;
}

.rating-subtitle {
  font-size: 12px;
  color: var(--text-secondary);
}

/* COMPACT Key Insights */
.key-insights-compact {
  padding: 12px;
  border-bottom: 1px solid #f3f4f6;
}

.insight-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 13px;
}

.insight-row:last-child {
  margin-bottom: 0;
}

.insight-icon {
  font-size: 14px;
  width: 16px;
  flex-shrink: 0;
}

.insight-label {
  font-weight: 500;
  color: var(--text-primary);
  min-width: 45px;
  flex-shrink: 0;
}

.insight-score-mini {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
}

.mini-bar {
  flex: 1;
  height: 4px;
  background: #e5e7eb;
  border-radius: 2px;
  overflow: hidden;
}

.mini-fill {
  height: 100%;
  border-radius: 2px;
  transition: width 0.3s ease;
}

.mini-fill.score-good {
  background: var(--primary-sage);
}

.mini-fill.score-low {
  background: #f59e0b;
}

.mini-fill.score-medium {
  background: #f59e0b;
}

.mini-score {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
  min-width: 25px;
  text-align: right;
}

/* Action Section - COMPACT */
.action-section {
  padding: 12px;
}

.primary-action {
  width: 100%;
  background: var(--gradient-sage);
  color: white;
  border: none;
  padding: 12px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.primary-action:hover {
  transform: translateY(-1px);
}

/* Mobile Responsive Updates - EXTRA COMPACT */
@media (max-width: 768px) {
  .phone-frame {
    width: 260px;
    height: 520px;
  }
  
  .product-result-card {
    margin: 10px;
  }
  
  .product-header,
  .rating-container,
  .key-insights-compact,
  .action-section {
    padding: 10px;
  }
  
  .rating-grade-large {
    width: 45px;
    height: 45px;
    font-size: 18px;
  }
  
  .product-name {
    font-size: 14px;
  }
  
  .insight-row {
    margin-bottom: 6px;
  }
  
  .app-header {
    padding: 10px 12px;
  }
  
  .status-bar {
    padding: 8px 12px 6px;
  }
}