/* Email CSS for Flexoki theme - will be inlined by premailer-rails */
@import url('https://fonts.googleapis.com/css2?family=Birthstone&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');

/* Flexoki Colors */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: #100F0F;
  background-color: #FFFCF0;
  margin: 0;
  padding: 0;
}

.email-container {
  max-width: 600px;
  margin: 0 auto;
  background-color: white;
  box-shadow: 0 4px 24px rgba(16, 15, 15, 0.08);
}

/* Company Header */
.company-header {
  background: #100F0F;
  padding: 24px 32px;
  text-align: center;
  border-bottom: 3px solid #66800B;
}

.company-header.upgrade {
  border-bottom: 3px solid #AD8301;
}

.company-logo {
  font-family: 'Birthstone', 'Dancing Script', 'Brush Script MT', cursive;
  font-size: 48px;
  font-weight: 300;
  color: #879A39;
  margin: 0;
  text-shadow: none;
  font-style: normal;
}

.company-tagline {
  font-size: 13px;
  color: #FFFCF0;
  margin: 8px 0 0 0;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* User Rank Section */
.rank-section {
  padding: 16px 24px;
  text-align: center;
  border-bottom: 1px solid #DAD8CE;
}

.rank-label {
  font-size: 12px;
  color: #6F6E69;
  margin: 0 0 6px 0;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.user-rank {
  font-family: 'Birthstone', 'Dancing Script', 'Brush Script MT', cursive;
  font-size: 28px;
  font-weight: 300;
  margin: 0;
  text-shadow: none;
  font-style: normal;
}

.rank-description {
  font-size: 12px;
  color: #6F6E69;
  margin: 2px 0 0 0;
  font-style: italic;
}

/* Main Content */
.main-content {
  padding: 32px;
}

.greeting {
  font-size: 18px;
  font-weight: 500;
  margin: 0 0 20px 0;
  color: #100F0F;
}

.main-message {
  font-size: 16px;
  margin: 0 0 28px 0;
  color: #6F6E69;
  line-height: 1.7;
}

/* CTA Buttons */
.cta-section {
  text-align: center;
  margin: 32px 0;
}

.cta-button {
  display: inline-block;
  background: white;
  color: #100F0F;
  text-decoration: none;
  padding: 16px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  border: 2px solid #100F0F;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.upgrade-button {
  display: inline-block;
  background: white;
  color: #100F0F;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  border: 2px solid #100F0F;
}

/* Premium Features Section */
.premium-features {
  background: #F2F0E5;
  padding: 24px;
  border-radius: 12px;
  margin: 32px 0;
  border: 1px solid #DAD8CE;
}

.upgrade-section {
  background: #F2F0E5;
  padding: 24px;
  border-radius: 12px;
  margin: 32px 0;
  border: 1px solid #DAD8CE;
}

.features-title, .upgrade-title {
  font-weight: 600;
  color: #100F0F;
  margin: 0 0 16px 0;
  font-size: 20px;
  text-align: center;
}

.upgrade-title {
  font-size: 18px;
  margin: 0 0 12px 0;
}

.upgrade-description {
  margin: 0 0 20px 0;
  color: #6F6E69;
  font-size: 15px;
  line-height: 1.6;
}

.features-list, .upgrade-benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
}

.features-list li {
  padding: 8px 0 8px 32px;
  color: #6F6E69;
  font-size: 15px;
  position: relative;
}

.upgrade-benefits li {
  padding: 6px 0 6px 24px;
  color: #6F6E69;
  font-size: 15px;
  position: relative;
}

.features-list li:before {
  content: "🚀";
  position: absolute;
  left: 0;
  top: 8px;
  font-size: 16px;
}

.upgrade-benefits li:before {
  content: "✓";
  color: #66800B;
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 6px;
}

.upgrade-cta {
  text-align: center;
}

/* Footer */
.email-footer {
  background: #E6E4D9;
  padding: 24px 32px;
  text-align: center;
  border-top: 1px solid #DAD8CE;
}

.unsubscribe-text {
  color: #878580;
  font-size: 13px;
  margin: 0 0 16px 0;
  line-height: 1.5;
}

.unsubscribe-text a {
  color: #6F6E69;
  text-decoration: none;
}

.company-footer {
  color: #878580;
  font-size: 12px;
  margin: 0;
  line-height: 1.4;
}

/* Mobile responsiveness */
@media (max-width: 640px) {
  .email-container {
    margin: 0;
    box-shadow: none;
  }
  
  .main-content {
    padding: 24px 20px;
  }
  
  .company-header {
    padding: 20px;
  }
  
  .company-logo {
    font-size: 36px;
  }
  
  .user-rank {
    font-size: 28px;
  }
}