/*
 * Helpr - Playful Website Styling
 */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@300..700&family=Nunito:ital,wght@0,300..900;1,300..900&display=swap');

:root {
  --color-brand-orange: #FF8B3D;
  --color-brand-teal: #4ECDC4;
  --color-brand-yellow: #FFD93D;
  --color-brand-cream: #FFF9F0;
  --color-brand-red: #FF6B6B;
  
  --color-text-dark: #2D3748;
  --color-text-muted: #718096;
  --color-white: #FFFFFF;
  
  --font-sans: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-playful: "Fredoka", sans-serif;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--color-brand-cream);
  color: var(--color-text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}

/* Playful background pattern */
body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.05;
  pointer-events: none;
  background-image: radial-gradient(circle, var(--color-brand-orange) 2px, transparent 2px), 
                    radial-gradient(circle, var(--color-brand-teal) 2px, transparent 2px);
  background-size: 40px 40px;
  background-position: 0 0, 20px 20px;
  z-index: -1;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-playful);
  font-weight: 700;
  color: var(--color-text-dark);
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

/* Layout Container */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Navigation Bar */
.navbar {
  padding: 24px 0;
  position: sticky;
  top: 0;
  background-color: rgba(255, 249, 240, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 100;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
}

.logo-text {
  font-family: var(--font-playful);
  font-size: 28px;
  color: var(--color-brand-orange);
  font-weight: 700;
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-playful);
  font-size: 18px;
  font-weight: 600;
  color: var(--color-text-dark);
}

.nav-links a:hover {
  color: var(--color-brand-orange);
}

.nav-cta {
  display: inline-block;
  padding: 10px 22px;
  background-color: var(--color-brand-teal);
  color: var(--color-white);
  border-radius: 16px;
  font-family: var(--font-playful);
  font-weight: 700;
  font-size: 16px;
  border: 3px solid transparent;
  box-shadow: 0 4px 10px rgba(78, 205, 196, 0.3);
}

.nav-cta:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 15px rgba(78, 205, 196, 0.4);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 20px;
  font-family: var(--font-playful);
  font-weight: 700;
  font-size: 18px;
  transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  border: none;
}

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

.btn-primary {
  background-color: var(--color-brand-orange);
  color: var(--color-white);
  box-shadow: 0 6px 16px rgba(255, 139, 61, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 22px rgba(255, 139, 61, 0.4);
}

.btn-secondary {
  background-color: var(--color-brand-teal);
  color: var(--color-white);
  box-shadow: 0 6px 16px rgba(78, 205, 196, 0.3);
}

.btn-secondary:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 22px rgba(78, 205, 196, 0.4);
}

.btn-outline {
  background-color: var(--color-white);
  color: var(--color-text-dark);
  border: 3px solid var(--color-brand-orange);
}

.btn-outline:hover {
  background-color: var(--color-brand-cream);
  transform: translateY(-3px);
}

/* App Store Links */
.badge-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.badge-link {
  transition: transform 0.2s ease;
}

.badge-link:hover {
  transform: scale(1.06);
}

.badge-link img {
  height: 48px;
  width: auto;
}

/* Hero Section */
.hero {
  padding: 60px 0 100px;
  position: relative;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 60px;
}

.hero-content {
  display: flex;
  flex-col: column;
  flex-direction: column;
  gap: 24px;
}

.hero-badge {
  display: inline-flex;
  align-self: flex-start;
  background-color: rgba(255, 217, 61, 0.2);
  color: #B58A00;
  padding: 8px 16px;
  border-radius: 30px;
  font-weight: 800;
  font-size: 14px;
  font-family: var(--font-playful);
  border: 2px dashed var(--color-brand-yellow);
}

.hero h1 {
  font-size: 54px;
  line-height: 1.15;
  color: var(--color-text-dark);
}

.text-highlight {
  color: var(--color-brand-orange);
  position: relative;
}

.text-highlight-teal {
  color: var(--color-brand-teal);
}

.hero-description {
  font-size: 20px;
  color: var(--color-text-muted);
}

.hero-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image {
  width: 100%;
  max-width: 420px;
  border-radius: 36px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  animation: float 6s ease-in-out infinite;
}

/* floating blob graphics in the background */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  z-index: -1;
  opacity: 0.15;
}

.blob-1 {
  width: 300px;
  height: 300px;
  background-color: var(--color-brand-orange);
  top: -50px;
  right: -50px;
}

.blob-2 {
  width: 250px;
  height: 250px;
  background-color: var(--color-brand-teal);
  bottom: -30px;
  left: -50px;
}

/* Benefits Section */
.benefits {
  background-color: var(--color-white);
  padding: 100px 0;
  border-radius: 60px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 60px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.section-header h2 {
  font-size: 42px;
  line-height: 1.2;
}

.section-header p {
  font-size: 18px;
  color: var(--color-text-muted);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.benefit-card {
  background-color: var(--color-brand-cream);
  padding: 40px 32px;
  border-radius: 32px;
  border: 4px solid transparent;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.benefit-card:hover {
  transform: translateY(-8px);
  border-color: var(--color-brand-yellow);
  box-shadow: 0 15px 30px rgba(0,0,0,0.04);
}

.benefit-card-1:hover {
  border-color: var(--color-brand-orange);
}

.benefit-card-2:hover {
  border-color: var(--color-brand-teal);
}

.benefit-card-3:hover {
  border-color: var(--color-brand-yellow);
}

.benefit-icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
}

.benefit-icon.orange {
  background-color: rgba(255, 139, 61, 0.15);
  color: var(--color-brand-orange);
}

.benefit-icon.teal {
  background-color: rgba(78, 205, 196, 0.15);
  color: var(--color-brand-teal);
}

.benefit-icon.yellow {
  background-color: rgba(255, 217, 61, 0.15);
  color: #B58A00;
}

.benefit-card h3 {
  font-size: 22px;
}

.benefit-card p {
  color: var(--color-text-muted);
  font-size: 16px;
}

/* Feature Showcase Section */
.features {
  padding: 100px 0;
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
  margin-bottom: 100px;
}

.feature-row:last-child {
  margin-bottom: 0;
}

.feature-row.reverse {
  direction: rtl;
}

.feature-row.reverse .feature-text {
  direction: ltr;
}

.feature-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feature-text h3 {
  font-size: 36px;
  line-height: 1.2;
}

.feature-text p {
  font-size: 18px;
  color: var(--color-text-muted);
}

.feature-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-bullets li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 16px;
}

.bullet-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: rgba(78, 205, 196, 0.15);
  color: var(--color-brand-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
}

.feature-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}

.feature-image {
  width: 100%;
  max-width: 380px;
  border-radius: 36px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
}

/* Testimonials Section */
.testimonials {
  background-color: var(--color-white);
  padding: 100px 0;
  border-radius: 60px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.testimonial-card {
  background-color: var(--color-brand-cream);
  padding: 36px;
  border-radius: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}

.testimonial-quote {
  font-size: 18px;
  font-style: italic;
  color: var(--color-text-dark);
  position: relative;
}

.testimonial-quote::before {
  content: "“";
  font-family: var(--font-playful);
  font-size: 80px;
  color: var(--color-brand-orange);
  opacity: 0.2;
  position: absolute;
  top: -40px;
  left: -20px;
  line-height: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: auto;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--color-brand-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--color-white);
  font-family: var(--font-playful);
  font-weight: bold;
}

.author-avatar.orange {
  background-color: var(--color-brand-orange);
}

.author-info h4 {
  font-size: 16px;
}

.author-info p {
  font-size: 14px;
  color: var(--color-text-muted);
}

/* Contact / Support Page & Form Styles */
.contact-hero {
  padding: 60px 0;
  text-align: center;
}

.contact-hero h1 {
  font-size: 48px;
  margin-bottom: 16px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  padding: 20px 0 100px;
}

.contact-form-card {
  background-color: var(--color-white);
  padding: 40px;
  border-radius: 36px;
  box-shadow: 0 15px 30px rgba(0,0,0,0.03);
  border: 4px solid var(--color-brand-cream);
}

.contact-form-card h2 {
  font-size: 28px;
  margin-bottom: 24px;
}

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

.form-group label {
  display: block;
  font-family: var(--font-playful);
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 14px 20px;
  border-radius: 16px;
  border: 3px solid #E2E8F0;
  font-family: var(--font-sans);
  font-size: 16px;
  background-color: var(--color-brand-cream);
  outline: none;
  transition: border-color 0.2s;
}

.form-control:focus {
  border-color: var(--color-brand-orange);
}

textarea.form-control {
  resize: vertical;
  min-height: 140px;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.info-card {
  background-color: var(--color-white);
  padding: 32px;
  border-radius: 28px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.02);
}

.info-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-brand-orange);
}

.info-card p {
  color: var(--color-text-muted);
  font-size: 16px;
}

.info-card a {
  font-weight: 700;
  color: var(--color-brand-teal);
}

.info-card a:hover {
  text-decoration: underline;
}

/* Privacy Policy Layout */
.privacy-container {
  max-width: 800px;
  margin: 60px auto 100px;
  background-color: var(--color-white);
  padding: 60px 48px;
  border-radius: 36px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.03);
}

.privacy-header {
  text-align: center;
  margin-bottom: 40px;
  border-bottom: 4px dashed var(--color-brand-cream);
  padding-bottom: 30px;
}

.privacy-header h1 {
  font-size: 44px;
  margin-bottom: 12px;
}

.privacy-header .date {
  color: var(--color-text-muted);
  font-weight: 700;
}

.privacy-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.privacy-content h2 {
  font-size: 26px;
  color: var(--color-brand-orange);
  margin-top: 16px;
}

.privacy-content p, .privacy-content li {
  font-size: 16px;
  color: var(--color-text-dark);
  line-height: 1.7;
}

.privacy-content ul {
  padding-left: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* CTA Footer banner */
.cta-banner {
  background-color: var(--color-brand-orange);
  color: var(--color-white);
  padding: 80px 0;
  text-align: center;
  border-radius: 60px 60px 0 0;
  margin-top: 100px;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.1;
  background-image: radial-gradient(circle, #FFF 2px, transparent 2px);
  background-size: 30px 30px;
}

.cta-banner .container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.cta-banner h2 {
  color: var(--color-white);
  font-size: 42px;
}

.cta-banner p {
  font-size: 20px;
  max-width: 600px;
}

.cta-banner .badge-group {
  justify-content: center;
  margin-top: 12px;
}

/* Footer */
.footer {
  background-color: #1A202C;
  color: #A0AEC0;
  padding: 60px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
  border-bottom: 1px solid #2D3748;
  padding-bottom: 40px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.footer-logo span {
  font-family: var(--font-playful);
  color: var(--color-white);
  font-size: 24px;
  font-weight: 700;
}

.footer-brand p {
  font-size: 14px;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-column h4 {
  color: var(--color-white);
  font-size: 18px;
}

.footer-column ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-column a {
  font-size: 14px;
}

.footer-column a:hover {
  color: var(--color-brand-orange);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
}

/* Animations */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
  100% { transform: translateY(0px); }
}

/* Responsive Queries */
@media (max-width: 900px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  
  .hero-content {
    align-items: center;
  }
  
  .hero h1 {
    font-size: 40px;
  }
  
  .badge-group {
    justify-content: center;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .feature-row {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .feature-row.reverse {
    direction: ltr;
  }
  
  .feature-bullets {
    align-items: center;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 600px) {
  .nav-links {
    display: none; /* simple burger menu or hide for simplicity on marketing */
  }
  
  .privacy-container {
    padding: 30px 20px;
    margin: 30px 10px;
  }
  
  .privacy-header h1 {
    font-size: 32px;
  }
  
  .section-header h2 {
    font-size: 32px;
  }
}
