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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.7;
  color: #78350F;
  background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
  min-height: 100vh;
  padding: 20px 0;
  position: relative;
}

/* Subtle texture overlay */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23D97706' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  background: #FFFBEB;
  border-radius: 0;
  box-shadow: 0 30px 80px rgba(217, 119, 6, 0.25), 0 10px 30px rgba(217, 119, 6, 0.15);
  overflow: hidden;
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  body {
    padding: 0;
  }

  .container {
    box-shadow: none;
  }
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  color: #fff;
  padding: 80px 40px 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

@media (max-width: 768px) {
  .hero {
    padding: 60px 30px 80px;
  }
}

.beer-icons {
  font-size: 60px;
  margin-bottom: 20px;
}

.hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 72px;
  font-weight: 900;
  margin-bottom: 24px;
  letter-spacing: -2px;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  line-height: 1.1;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 48px;
    letter-spacing: -1px;
  }
}

.tagline {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 20px;
  line-height: 1.4;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .tagline {
    font-size: 22px;
  }
}

.subtitle {
  font-size: 19px;
  opacity: 0.95;
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.6;
  font-weight: 400;
}

@media (max-width: 768px) {
  .subtitle {
    font-size: 17px;
    margin-bottom: 35px;
  }
}

/* Buttons */
.btn-primary {
  background: #EA580C;
  color: #fff;
  border: none;
  padding: 20px 48px;
  font-size: 19px;
  font-weight: 700;
  border-radius: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 24px rgba(234, 88, 12, 0.4), 0 4px 8px rgba(234, 88, 12, 0.3);
  position: relative;
  overflow: hidden;
  animation: button-pulse 2s ease-in-out infinite;
}

@keyframes button-pulse {
  0%, 100% {
    box-shadow: 0 8px 24px rgba(234, 88, 12, 0.4), 0 4px 8px rgba(234, 88, 12, 0.3);
  }
  50% {
    box-shadow: 0 8px 32px rgba(234, 88, 12, 0.5), 0 4px 12px rgba(234, 88, 12, 0.4);
  }
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.btn-primary:hover::after {
  width: 300px;
  height: 300px;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(234, 88, 12, 0.5), 0 6px 16px rgba(234, 88, 12, 0.4);
  background: #DC2626;
}

.btn-primary:active {
  transform: translateY(-1px);
}

.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  animation: none;
}

.btn-primary img {
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .btn-primary {
    padding: 16px 36px;
    font-size: 17px;
    width: 100%;
    max-width: 320px;
  }
}

.btn-secondary {
  background: transparent;
  color: #D97706;
  border: 2px solid #D97706;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 0;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-secondary:hover {
  background: #D97706;
  color: white;
}

.btn-danger {
  background: #DC2626;
  color: white;
  border: 2px solid #DC2626;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-block;
}

.btn-danger:hover {
  background: #B91C1C;
  border-color: #B91C1C;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.btn-danger:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(220, 38, 38, 0.2);
}

/* Page Header */
.page-header {
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  color: white;
  padding: 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 20 L30 35 M25 30 L35 30 M27 25 C27 23 33 23 33 25 L33 32 C33 35 27 35 27 32 Z' stroke='%23a67c52' stroke-width='1' fill='none' opacity='0.15'/%3E%3C/svg%3E");
  background-size: 60px 60px;
  opacity: 0.3;
  pointer-events: none;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1;
  gap: 20px;
}

.header-text {
  flex: 1;
}

.page-header h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 42px;
  margin-bottom: 10px;
  font-weight: 800;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.page-header p {
  font-size: 18px;
  opacity: 0.95;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-logout {
  background: rgba(255, 255, 255, 0.95);
  color: #D97706;
  border: 2px solid rgba(255, 255, 255, 0.5);
  padding: 12px 28px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 0;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.btn-logout:hover {
  background: #fff;
  color: #EA580C;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  border-color: #fff;
}

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

@media (max-width: 768px) {
  .page-header {
    padding: 30px 20px;
  }

  .header-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .page-header h1 {
    font-size: 32px;
  }

  .page-header p {
    font-size: 16px;
  }

  .btn-logout {
    width: 100%;
    padding: 14px 24px;
  }
}

/* How It Works Section */
.how-it-works {
  padding: 60px 40px;
  background: #faf6f1;
}

.how-it-works h2 {
  font-family: 'Montserrat', sans-serif;
  text-align: center;
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #F59E0B;
  letter-spacing: -0.5px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.step {
  text-align: center;
  padding: 30px;
  background: #fffcf9;
  border-radius: 0;
  box-shadow: 0 4px 16px rgba(139, 110, 80, 0.12);
}

.step-number {
  width: 60px;
  height: 60px;
  background: #F59E0B;
  color: white;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: bold;
  margin: 0 auto 20px;
}

.step h3 {
  font-size: 22px;
  margin-bottom: 10px;
  color: #78350F;
}

.step p {
  color: #8b7355;
  font-size: 16px;
}

/* Beer Calculator Section */
.beer-calculator {
  padding: 60px 40px;
  background: #fffcf9;
}

.beer-calculator h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 20px;
  color: #F59E0B;
}

.beer-calculator > p {
  text-align: center;
  font-size: 18px;
  margin-bottom: 40px;
  color: #8b7355;
}

.beer-examples {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}

.example {
  background: #faf6f1;
  padding: 20px;
  border-radius: 0;
  text-align: center;
  border: 2px solid transparent;
  transition: all 0.2s;
}

.example:hover {
  border-color: #F59E0B;
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(166, 124, 82, 0.15);
}

.example-icon {
  font-size: 40px;
  margin-bottom: 10px;
}

.example-activity {
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 5px;
}

.example-calories {
  color: #8b7355;
  font-size: 14px;
  margin-bottom: 10px;
}

.example-beers {
  font-size: 16px;
  font-weight: 600;
  color: #F59E0B;
}

.beer-note {
  text-align: center;
  color: #b8a590;
  font-size: 14px;
  font-style: italic;
}

/* Features Section */
.features {
  padding: 60px 40px;
  background: #faf6f1;
}

.features h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 40px;
  color: #F59E0B;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.feature {
  text-align: center;
  padding: 30px;
  background: #fffcf9;
  border-radius: 0;
  box-shadow: 0 4px 16px rgba(139, 110, 80, 0.12);
}

.feature-icon {
  font-size: 50px;
  margin-bottom: 15px;
}

.feature h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #78350F;
}

.feature p {
  color: #8b7355;
  font-size: 15px;
}

/* Forms */
.setup-card,
.settings-card {
  max-width: 600px;
  margin: 40px auto;
  padding: 40px;
  background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%);
  border-radius: 0;
  box-shadow: 0 8px 24px rgba(217, 119, 6, 0.2);
  border: 2px solid rgba(245, 158, 11, 0.3);
  position: relative;
  z-index: 1;
}

.setup-card h2 {
  font-family: 'Montserrat', sans-serif;
  color: #D97706;
  margin-bottom: 30px;
  text-align: center;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(217, 119, 6, 0.1);
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: #78350F;
}

.form-group input[type="email"],
.form-group input[type="text"] {
  width: 100%;
  padding: 12px;
  border: 2px solid #e8d5c4;
  border-radius: 0;
  font-size: 16px;
  transition: border-color 0.2s;
}

.form-group input:focus {
  outline: none;
  border-color: #F59E0B;
}

.form-help {
  font-size: 14px;
  color: #8b7355;
  margin-top: 5px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-right: 10px;
  cursor: pointer;
}

.checkbox-label span {
  font-size: 16px;
  color: #78350F;
}

.skip-section {
  text-align: center;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #f0e6da;
}

/* Dashboard */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  padding: 40px;
  background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 50%, #FED7AA 100%);
  position: relative;
}

.stats-grid::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23D97706' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
  pointer-events: none;
}

.stat-card {
  background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%);
  padding: 30px;
  border-radius: 0;
  text-align: center;
  box-shadow: 0 8px 24px rgba(217, 119, 6, 0.2);
  border: 2px solid rgba(245, 158, 11, 0.3);
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s;
}

.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(217, 119, 6, 0.3);
  border-color: rgba(245, 158, 11, 0.6);
}

.stat-card:hover::before {
  opacity: 1;
}

.stat-icon {
  font-size: 50px;
  margin-bottom: 15px;
  filter: drop-shadow(0 2px 4px rgba(217, 119, 6, 0.3));
  animation: float-gentle 3s ease-in-out infinite;
  position: relative;
  z-index: 1;
}

@keyframes float-gentle {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.stat-value {
  font-family: 'Montserrat', sans-serif;
  font-size: 42px;
  font-weight: 800;
  color: #D97706;
  margin-bottom: 5px;
  text-shadow: 0 2px 8px rgba(217, 119, 6, 0.2);
  position: relative;
  z-index: 1;
}

.stat-label {
  font-size: 14px;
  color: #78350F;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  z-index: 1;
}

.recent-activities-section {
  padding: 40px;
  background: linear-gradient(135deg, #FEF3C7 0%, #FED7AA 50%, #FDE68A 100%);
  position: relative;
}

.recent-activities-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23D97706' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
  pointer-events: none;
}

.recent-activities-section h2 {
  font-family: 'Montserrat', sans-serif;
  color: #D97706;
  margin-bottom: 30px;
  font-size: 32px;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(217, 119, 6, 0.1);
  position: relative;
  z-index: 1;
}

.activities-list {
  position: relative;
  z-index: 1;
}

.settings-section {
  padding: 40px;
  background: linear-gradient(135deg, #FED7AA 0%, #FDE68A 50%, #FEF3C7 100%);
  position: relative;
}

.settings-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23D97706' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
  pointer-events: none;
}

.settings-section h2 {
  font-family: 'Montserrat', sans-serif;
  color: #D97706;
  margin-bottom: 30px;
  font-size: 32px;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(217, 119, 6, 0.1);
  position: relative;
  z-index: 1;
}

.info-section {
  padding: 40px;
  background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 50%, #FED7AA 100%);
  position: relative;
}

.info-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23D97706' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
  pointer-events: none;
}

.info-section h2 {
  font-family: 'Montserrat', sans-serif;
  color: #D97706;
  margin-bottom: 30px;
  font-size: 32px;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(217, 119, 6, 0.1);
  position: relative;
  z-index: 1;
}

.info-card {
  background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%);
  padding: 30px;
  border-radius: 0;
  box-shadow: 0 8px 24px rgba(217, 119, 6, 0.15);
  margin-bottom: 20px;
  border: 2px solid rgba(245, 158, 11, 0.2);
  position: relative;
  z-index: 1;
  transition: all 0.3s;
}

.info-card:hover {
  box-shadow: 0 12px 32px rgba(217, 119, 6, 0.25);
  border-color: rgba(245, 158, 11, 0.4);
}

.info-card h3 {
  font-family: 'Montserrat', sans-serif;
  color: #D97706;
  margin-bottom: 15px;
  font-weight: 700;
}

.info-card ul,
.info-card ol {
  margin-left: 20px;
  color: #8b7355;
}

.info-card li {
  margin-bottom: 10px;
}

/* Messages */
.error,
.success {
  padding: 18px 24px;
  border-radius: 0;
  margin-bottom: 25px;
  font-weight: 500;
  font-size: 15px;
  line-height: 1.5;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  animation: slideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.error {
  background: #fef3f0;
  color: #b55a4d;
  border-left: 4px solid #b55a4d;
}

.success {
  background: #f3f9f1;
  color: #5a8a51;
  border-left: 4px solid #5a8a51;
}

.loading {
  text-align: center;
  padding: 60px 40px;
  font-size: 18px;
  color: #8b7355;
}

/* Footer */
footer {
  background: linear-gradient(135deg, #78350F 0%, #78350F 100%);
  color: #f5e6d3;
  padding: 60px 40px;
  text-align: center;
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(245, 230, 211, 0.3), transparent);
}

footer p {
  margin-bottom: 12px;
  font-size: 16px;
  line-height: 1.6;
}

footer p:first-child {
  font-weight: 600;
  font-size: 17px;
}

.disclaimer {
  font-size: 14px;
  opacity: 0.65;
  font-style: italic;
  margin-top: 8px;
}

@media (max-width: 768px) {
  footer {
    padding: 50px 30px;
  }

  footer p {
    font-size: 15px;
  }

  .disclaimer {
    font-size: 13px;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .hero {
    padding: 40px 20px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .tagline {
    font-size: 20px;
  }

  .subtitle {
    font-size: 16px;
  }

  .how-it-works,
  .beer-calculator,
  .features {
    padding: 40px 20px;
  }

  .setup-card,
  .settings-card {
    padding: 20px;
    margin: 20px;
  }

  .stats-grid,
  .settings-section,
  .info-section {
    padding: 20px;
  }
}

/* Stats Section */
.stats-section {
  padding: 80px 40px;
  background: linear-gradient(135deg, #F59E0B 0%, #78350F 100%);
  color: white;
  text-align: center;
}

.stats-section h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 60px;
  letter-spacing: -0.5px;
}

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

.stat-item {
  padding: 20px;
}

.stat-number {
  font-family: 'Montserrat', sans-serif;
  font-size: 56px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 10px;
  color: #fff;
}

.stat-text {
  font-size: 18px;
  opacity: 0.95;
  font-weight: 500;
}

/* Interactive Calculator Section */
.interactive-calculator {
  padding: 80px 40px;
  background: #fffcf9;
}

.interactive-calculator h2 {
  font-family: 'Montserrat', sans-serif;
  text-align: center;
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #F59E0B;
  letter-spacing: -0.5px;
}

.calculator-widget {
  max-width: 600px;
  margin: 40px auto;
  padding: 40px;
  background: #faf6f1;
  border: 2px solid #e8d5c4;
}

.calculator-input-group {
  margin-bottom: 30px;
}

.calculator-input-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 18px;
  color: #78350F;
}

.calculator-slider {
  width: 100%;
  height: 8px;
  -webkit-appearance: none;
  appearance: none;
  background: #e8d5c4;
  outline: none;
}

.calculator-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  background: #F59E0B;
  cursor: pointer;
}

.calculator-slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  background: #F59E0B;
  cursor: pointer;
  border: none;
}

.calculator-value {
  font-family: 'Montserrat', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #F59E0B;
  text-align: center;
  margin-top: 10px;
}

.calculator-result {
  text-align: center;
  padding: 40px;
  background: #fffcf9;
  margin-top: 30px;
  border: 3px solid #F59E0B;
}

.calculator-result-number {
  font-family: 'Montserrat', sans-serif;
  font-size: 72px;
  font-weight: 800;
  color: #F59E0B;
  line-height: 1;
  margin-bottom: 10px;
}

.calculator-result-text {
  font-size: 24px;
  font-weight: 600;
  color: #78350F;
}

/* Testimonials Section */
.testimonials {
  padding: 80px 40px;
  background: #faf6f1;
}

.testimonials h2 {
  font-family: 'Montserrat', sans-serif;
  text-align: center;
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 60px;
  color: #F59E0B;
  letter-spacing: -0.5px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.testimonial {
  padding: 40px;
  background: #fffcf9;
  border-left: 4px solid #F59E0B;
  position: relative;
}

.testimonial-text {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #78350F;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  background: #F59E0B;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 20px;
}

.testimonial-info {
  flex: 1;
}

.testimonial-name {
  font-weight: 600;
  color: #78350F;
  margin-bottom: 3px;
}

.testimonial-role {
  font-size: 14px;
  color: #8b7355;
}

.testimonial-stars {
  color: #d4a853;
  font-size: 18px;
  margin-bottom: 15px;
}

/* FAQ Section */
.faq {
  padding: 80px 40px;
  background: #fffcf9;
}

.faq h2 {
  font-family: 'Montserrat', sans-serif;
  text-align: center;
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 60px;
  color: #F59E0B;
  letter-spacing: -0.5px;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 20px;
  border: 2px solid #e8d5c4;
  background: #faf6f1;
}

.faq-question {
  padding: 25px 30px;
  font-weight: 600;
  font-size: 18px;
  color: #78350F;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s;
}

.faq-question:hover {
  background: #f0e6da;
}

.faq-icon {
  font-size: 24px;
  color: #F59E0B;
  font-weight: 700;
  transition: transform 0.3s;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  padding: 0 30px;
  color: #8b7355;
  line-height: 1.8;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 30px 25px 30px;
}

/* CTA Section */
.cta-section {
  padding: 80px 40px;
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  text-align: center;
  color: white;
}

.cta-section h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.cta-section p {
  font-size: 20px;
  margin-bottom: 30px;
  opacity: 0.95;
}

.btn-cta-large {
  background: #fffcf9;
  color: #F59E0B;
  border: none;
  padding: 20px 50px;
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-cta-large:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
  background: #fff;
}

/* Enhanced Section Headings */
h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  letter-spacing: -0.5px;
}

h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
}

/* Accent Color for Better Contrast */
.accent-gold {
  color: #d4a853;
}

/* Improved Mobile Spacing */
@media (max-width: 768px) {
  body {
    padding: 0;
  }

  .hero {
    padding: 50px 25px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .tagline {
    font-size: 20px;
  }

  .how-it-works,
  .beer-calculator,
  .features,
  .testimonials,
  .faq,
  .interactive-calculator,
  .stats-section,
  .cta-section {
    padding: 50px 25px;
  }

  .how-it-works h2,
  .testimonials h2,
  .faq h2,
  .interactive-calculator h2 {
    font-size: 32px;
  }

  .stats-section h2,
  .cta-section h2 {
    font-size: 36px;
  }

  .stat-number {
    font-size: 42px;
  }

  .navbar {
    padding: 15px 20px;
  }

  .calculator-result-number {
    font-size: 52px;
  }

  .btn-cta-large {
    padding: 18px 40px;
    font-size: 18px;
  }
}

/* ========== VISUAL ENHANCEMENTS ========== */

/* Animated Gradient Background */
@keyframes gradient-shift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

body {
  background: linear-gradient(-45deg, #f5ebe0, #e8dcc8, #e3d5ca, #d9c9b5);
  background-size: 400% 400%;
  animation: gradient-shift 15s ease infinite;
}

/* Hero Background Pattern */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 20 L30 35 M25 30 L35 30 M27 25 C27 23 33 23 33 25 L33 32 C33 35 27 35 27 32 Z' stroke='%23a67c52' stroke-width='1' fill='none' opacity='0.15'/%3E%3C/svg%3E");
  background-size: 60px 60px;
  opacity: 0.3;
  pointer-events: none;
}

/* Floating Beer Icons */
.floating-icons {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.float-icon {
  position: absolute;
  bottom: -60px;
  font-size: 30px;
  opacity: 0.3;
  animation: float-up 8s ease-in infinite;
}

@keyframes float-up {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.3;
  }
  90% {
    opacity: 0.3;
  }
  100% {
    transform: translateY(-600px) rotate(360deg);
    opacity: 0;
  }
}

/* Hero Content Layout */
.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 80px;
  max-width: 1100px;
  margin: 0 auto;
}

@media (max-width: 968px) {
  .hero-content {
    flex-direction: column;
    gap: 50px;
    text-align: center;
  }
}

.hero-left {
  flex: 1;
  text-align: left;
}

@media (max-width: 968px) {
  .hero-left {
    text-align: center;
  }
}

.hero-right {
  flex: 0 0 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 968px) {
  .hero-right {
    flex: 0 0 auto;
  }

  .hero-illustration {
    max-width: 250px;
  }
}

@media (max-width: 480px) {
  .hero-illustration {
    max-width: 200px;
  }
}

.hero-left h1 {
  text-align: left;
  margin-bottom: 15px;
}

@media (max-width: 968px) {
  .hero-left h1 {
    text-align: center;
  }
}

.hero-left .tagline {
  text-align: left;
  margin-bottom: 15px;
}

.subtitle {
  text-align: left;
  margin: 0 0 30px 0;
  max-width: 500px;
}

/* Hero Illustration */
.hero-illustration {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
  animation: bounce 3s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* Stats Counter */
.beer-counter {
  background: rgba(254, 243, 199, 0.95);
  backdrop-filter: blur(15px);
  border: 3px solid rgba(217, 119, 6, 0.5);
  padding: 32px 50px;
  margin-bottom: 50px;
  display: inline-block;
  animation: pulse-glow 3s ease-in-out infinite;
  box-shadow: 0 10px 40px rgba(217, 119, 6, 0.3);
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 10px 40px rgba(217, 119, 6, 0.3), 0 0 20px rgba(245, 158, 11, 0.4);
  }
  50% {
    box-shadow: 0 15px 50px rgba(217, 119, 6, 0.4), 0 0 35px rgba(245, 158, 11, 0.6);
  }
}

.counter-stats {
  display: flex;
  align-items: center;
  gap: 50px;
}

@media (max-width: 768px) {
  .beer-counter {
    padding: 14px 20px;
    margin-bottom: 20px;
  }

  .counter-stats {
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .beer-counter {
    padding: 10px 16px;
    margin-bottom: 16px;
  }

  .counter-stats {
    flex-direction: row;
    gap: 16px;
  }

  .stat-item {
    min-width: 70px;
  }

  .stat-number {
    font-size: 24px;
  }

  .stat-label {
    font-size: 9px;
    letter-spacing: 0.5px;
  }

  .stat-divider {
    height: 38px;
  }
}

.stat-item {
  text-align: center;
  min-width: 120px;
}

.stat-number {
  font-family: 'Montserrat', sans-serif;
  font-size: 56px;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 8px;
  color: #78350F;
  text-shadow: 0 2px 8px rgba(217, 119, 6, 0.3);
  animation: number-pop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes number-pop {
  0% {
    transform: scale(0.9);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .stat-number {
    font-size: 32px;
  }
}

.stat-label {
  font-size: 14px;
  font-weight: 700;
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

@media (max-width: 768px) {
  .stat-label {
    font-size: 11px;
  }
}

.stat-divider {
  width: 3px;
  height: 65px;
  background: linear-gradient(to bottom,
    rgba(255, 252, 249, 0.2),
    rgba(255, 252, 249, 0.6),
    rgba(255, 252, 249, 0.2));
}

/* Loading state */
.stat-number.loading {
  opacity: 0.5;
  animation: loading-pulse 1.5s ease-in-out infinite;
}

@keyframes loading-pulse {
  0%, 100% {
    opacity: 0.5;
  }
  50% {
    opacity: 0.8;
  }
}

/* Celebration animation when counter updates */
.stat-number.celebrating {
  animation: celebrate 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes celebrate {
  0%, 100% {
    transform: scale(1);
  }
  25% {
    transform: scale(1.15) rotate(2deg);
  }
  50% {
    transform: scale(1.1) rotate(-2deg);
  }
  75% {
    transform: scale(1.05) rotate(1deg);
  }
}

/* Beer celebration emoji */
.beer-celebration {
  position: absolute;
  font-size: 32px;
  pointer-events: none;
  animation: beer-float 1.5s ease-out forwards;
  z-index: 100;
}

@keyframes beer-float {
  0% {
    opacity: 1;
    transform: translateY(0) scale(0.5) rotate(0deg);
  }
  50% {
    transform: translateY(-30px) scale(1.2) rotate(180deg);
  }
  100% {
    opacity: 0;
    transform: translateY(-60px) scale(0.8) rotate(360deg);
  }
}

/* Responsive Design */
@media (max-width: 968px) {
  .hero-content {
    flex-direction: column-reverse;
    gap: 24px;
  }

  .hero-right {
    flex: 0 0 200px;
  }

  .hero-left {
    text-align: center;
  }

  .hero h1 {
    text-align: center;
    font-size: 40px;
  }

  .tagline {
    text-align: center;
  }

  .subtitle {
    text-align: center;
    margin: 0 auto 24px;
  }

  .beer-counter {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 20px 20px 40px;
  }

  .hero h1 {
    font-size: 32px;
    margin-bottom: 8px;
  }

  .tagline {
    font-size: 18px;
    margin-bottom: 8px;
  }

  .subtitle {
    font-size: 15px;
    margin-bottom: 20px;
  }

  .counter-number {
    font-size: 32px;
  }

  .hero-right {
    flex: 0 0 150px;
  }

  .float-icon {
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 16px 20px 30px;
  }

  .hero h1 {
    font-size: 28px;
    margin-bottom: 6px;
  }

  .tagline {
    font-size: 16px;
    margin-bottom: 6px;
  }

  .subtitle {
    font-size: 14px;
    margin-bottom: 16px;
  }

  .hero-right {
    flex: 0 0 120px;
  }
}
