/* Custom CSS for 7 Delicious Slow Cookers E-Book Landing Page */

/* Design Tokens & Variables */
:root {
  --bg-color: #0b0c0e;
  --bg-gradient-top: #0b0c0e;
  --bg-gradient-bottom: #121316;
  
  --card-bg: rgba(22, 23, 27, 0.6);
  --card-bg-hover: rgba(28, 29, 34, 0.8);
  
  --accent-amber: #f59e0b;
  --accent-amber-hover: #d97706;
  --accent-amber-glow: rgba(245, 158, 11, 0.15);
  
  --accent-green: #10b981;
  --accent-green-hover: #059669;
  
  --text-primary: #f4f4f5;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;
  
  --border-light: rgba(255, 255, 255, 0.07);
  --border-focus: rgba(245, 158, 11, 0.4);
  
  --font-headers: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.4);
  
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-quick: all 0.15s ease;
}

/* Base Resets & Global Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-color);
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(245, 158, 11, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(16, 185, 129, 0.03) 0%, transparent 40%),
    linear-gradient(to bottom, var(--bg-gradient-top), var(--bg-gradient-bottom));
  background-attachment: fixed;
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography elements */
h1, h2, h3, h4 {
  font-family: var(--font-headers);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-primary);
}

p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

a {
  color: var(--accent-amber);
  text-decoration: none;
  transition: var(--transition-quick);
}

a:hover {
  color: var(--accent-amber-hover);
  text-decoration: underline;
}

/* Base Layout Container */
.site-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.main-content {
  flex: 1;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

/* Squeeze Page Branding Header */
.brand-header {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 4rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-light);
}

.brand-logo {
  font-family: var(--font-headers);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.brand-logo-highlight {
  background: linear-gradient(135deg, var(--accent-amber), var(--accent-green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Hero Section */
.hero-section {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 6rem;
}

@media (max-width: 900px) {
  .hero-section {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
}

.hero-text-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.promo-badge {
  display: inline-flex;
  align-self: flex-start;
  padding: 0.4rem 1rem;
  background-color: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 9999px;
  color: var(--accent-amber);
  font-family: var(--font-headers);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .promo-badge {
    align-self: center;
  }
}

.hero-title {
  font-size: 3rem;
  letter-spacing: -0.02em;
  background: linear-gradient(to right, #ffffff, #ececec);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media (max-width: 600px) {
  .hero-title {
    font-size: 2.25rem;
  }
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.hero-cta-group {
  margin-top: 1rem;
}

/* Primary Button Styling */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 2rem;
  background: linear-gradient(135deg, var(--accent-amber), var(--accent-amber-hover));
  color: #000;
  font-family: var(--font-headers);
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 4px 14px var(--accent-amber-glow);
  transition: var(--transition-smooth);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.3);
  text-decoration: none;
  color: #000;
}

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

/* Book Cover Mockup */
.cover-wrapper {
  perspective: 1000px;
  display: flex;
  justify-content: center;
}

.cover-container {
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
  transition: var(--transition-smooth);
  backdrop-filter: blur(8px);
}

.cover-container:hover {
  transform: translateY(-8px) rotateY(-5deg) rotateX(5deg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  border-color: rgba(255, 255, 255, 0.15);
}

.cover-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

/* Feature Highlights Grid */
.features-section {
  margin-bottom: 6rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

@media (max-width: 800px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 2.25rem 1.75rem;
  transition: var(--transition-smooth);
  backdrop-filter: blur(8px);
}

.feature-card:hover {
  background: var(--card-bg-hover);
  border-color: var(--border-focus);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feature-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: rgba(245, 158, 11, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--accent-amber);
}

.feature-card-title {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.feature-card-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* Recipes Showcase Segment */
.showcase-section {
  margin-bottom: 6rem;
}

.recipe-showcase-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 3rem;
  align-items: center;
  backdrop-filter: blur(12px);
}

@media (max-width: 850px) {
  .recipe-showcase-container {
    grid-template-columns: 1fr;
    padding: 2rem;
    gap: 2rem;
  }
}

.recipe-info {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.recipe-badge {
  display: inline-flex;
  align-self: flex-start;
  padding: 0.3rem 0.8rem;
  background-color: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 9999px;
  color: var(--accent-green);
  font-family: var(--font-headers);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.recipe-title {
  font-size: 2.25rem;
  line-height: 1.15;
}

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

.recipe-meta-grid {
  display: flex;
  gap: 2rem;
  margin: 0.5rem 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 1rem 0;
}

.meta-item {
  display: flex;
  flex-direction: column;
}

.meta-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.meta-val {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.recipe-list-intro {
  font-weight: 600;
  color: var(--text-primary);
}

.recipe-bullets {
  list-style-position: inside;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-left: 0.5rem;
}

.recipe-bullets li {
  color: var(--text-secondary);
}

.recipe-bullets li strong {
  color: var(--text-primary);
}

.recipe-image-holder {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.showcase-recipe-img {
  width: 100%;
  height: auto;
  display: block;
  transition: var(--transition-smooth);
}

.recipe-image-holder:hover .showcase-recipe-img {
  transform: scale(1.05);
}

.recipe-image-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
  padding: 1.5rem 1rem 1rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: #fff;
  text-align: center;
}

/* Testimonials Layout */
.testimonials-section {
  margin-bottom: 6rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 850px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

.testimonial-card {
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  backdrop-filter: blur(8px);
}

.stars-rating {
  color: var(--accent-amber);
  font-size: 1rem;
  letter-spacing: 0.15em;
}

.testimonial-text {
  font-size: 0.95rem;
  line-height: 1.6;
  font-style: italic;
  flex: 1;
}

.testimonial-author {
  font-family: var(--font-headers);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.testimonial-author::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 2px;
  background-color: var(--accent-amber);
}

/* Form Opt-In Form styling */
.optin-section {
  margin-bottom: 6rem;
  scroll-margin-top: 3rem;
}

.optin-container {
  max-width: 750px;
  margin: 0 auto;
  background: radial-gradient(circle at top right, rgba(245, 158, 11, 0.08), transparent 60%), var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 3.5rem 2.5rem;
  text-align: center;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4), 0 0 40px rgba(245, 158, 11, 0.03);
  backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
}

@media (max-width: 600px) {
  .optin-container {
    padding: 2.5rem 1.5rem;
  }
}

.optin-title {
  font-size: 2.25rem;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.optin-desc {
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
}

/* ConvertKit specific form formatting */
.seva-form {
  width: 100%;
}

.formkit-fields {
  display: flex;
  gap: 0.75rem;
  max-width: 580px;
  margin: 0 auto 1.25rem;
}

@media (max-width: 600px) {
  .formkit-fields {
    flex-direction: column;
    gap: 1rem;
  }
}

.formkit-field {
  flex: 1;
}

.formkit-input {
  width: 100%;
  padding: 1rem 1.25rem;
  background: rgba(12, 13, 14, 0.6);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
  transition: var(--transition-quick);
}

.formkit-input:focus {
  border-color: var(--accent-amber);
  box-shadow: 0 0 0 3px var(--accent-amber-glow);
  background: rgba(12, 13, 14, 0.8);
}

.formkit-submit {
  padding: 1rem 2.25rem;
  background: var(--text-primary);
  color: #000;
  font-family: var(--font-headers);
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.formkit-submit:hover {
  background: var(--accent-amber);
  color: #000;
  box-shadow: 0 4px 15px var(--accent-amber-glow);
}

.optin-disclaimer {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* About Author Segment */
.about-section {
  margin-bottom: 4rem;
}

.about-card {
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 3rem;
  display: flex;
  gap: 3rem;
  align-items: center;
  backdrop-filter: blur(10px);
}

@media (max-width: 750px) {
  .about-card {
    flex-direction: column;
    text-align: center;
    padding: 2.5rem 1.5rem;
    gap: 1.5rem;
  }
}

.about-avatar-wrapper {
  position: relative;
  flex-shrink: 0;
}

.about-avatar {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--border-light);
  box-shadow: var(--shadow-md);
  transition: var(--transition-smooth);
}

.about-card:hover .about-avatar {
  border-color: var(--accent-amber);
  transform: scale(1.03);
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.about-header-name {
  font-size: 1.75rem;
}

.about-role {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-amber);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.about-bio {
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

/* Footer Section formatting */
.site-footer {
  border-top: 1px solid var(--border-light);
  padding: 2.5rem 1.5rem;
  text-align: center;
  background: rgba(11, 12, 14, 0.4);
}

.footer-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

@media (max-width: 600px) {
  .footer-container {
    flex-direction: column;
    gap: 1rem;
  }
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--text-primary);
}
