/* HeyPops Website Styles */
:root {
  --primary: #38bdf8;
  --secondary: #fb923c;
  --background: #fafafa;
  --surface: #ffffff;
  --text: #1f2937;
  --text-secondary: #6b7280;
  --text-muted: #9ca3af;
  --border: #e5e7eb;
  --gradient: linear-gradient(135deg, #38bdf8 0%, #fb923c 100%);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--background);
  color: var(--text);
  line-height: 1.6;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(250, 250, 250, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 100;
  border-bottom: 1px solid var(--border);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 24px;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
}

nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: color 0.2s;
}

nav a:hover {
  color: var(--primary);
}

/* Main */
main {
  padding-top: 80px;
}

/* Hero Section */
.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  min-height: calc(100vh - 80px);
}

.hero-content h1 {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 20px;
  color: var(--text-secondary);
  margin-bottom: 40px;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.app-store-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--gradient);
  color: white;
  padding: 16px 28px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(56, 189, 248, 0.25);
}

.app-store-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(56, 189, 248, 0.35);
}

.pricing-note {
  font-size: 14px;
  color: var(--text-muted);
}

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

.hero-image img {
  max-width: 100%;
  height: auto;
  max-height: 500px;
}

/* Feature Sections */
.feature-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

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

.feature-section.reverse > * {
  direction: ltr;
}

.feature-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.feature-image img {
  max-width: 100%;
  height: auto;
  max-height: 400px;
}

.feature-content {
  padding: 20px 0;
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(56, 189, 248, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--primary);
}

.feature-content h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text);
}

.feature-content p {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Final CTA */
.final-cta {
  text-align: center;
  padding: 100px 32px;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.final-cta h2 {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text);
}

.final-cta p {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

/* Footer */
footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 40px 32px;
}

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

.footer-links {
  display: flex;
  gap: 32px;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

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

.copyright {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1;
}

/* Support Page Styles */
.support-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 32px;
}

.support-page h1 {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 40px;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section {
  background: var(--surface);
  border-radius: 20px;
  padding: 40px;
  margin-bottom: 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  border: 1px solid var(--border);
}

.section h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text);
}

.section h3 {
  font-size: 18px;
  font-weight: 600;
  margin-top: 28px;
  margin-bottom: 12px;
  color: var(--text);
}

.section p {
  margin-bottom: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.section ul {
  margin-left: 24px;
  margin-bottom: 14px;
  color: var(--text-secondary);
}

.section li {
  margin-bottom: 8px;
  line-height: 1.6;
}

.section a {
  color: var(--primary);
  text-decoration: none;
}

.section a:hover {
  text-decoration: underline;
}

.last-updated {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.contact-card {
  background: rgba(56, 189, 248, 0.06);
  border-radius: 12px;
  padding: 24px;
  margin-top: 20px;
}

.contact-card p {
  margin: 0;
  color: var(--text);
}

/* Responsive */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 60px 24px;
    min-height: auto;
  }

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

  .hero-content h1 {
    font-size: 40px;
  }

  .hero-cta {
    align-items: center;
  }

  .hero-image {
    order: -1;
  }

  .hero-image img {
    max-height: 300px;
  }

  .feature-section {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 60px 24px;
  }

  .feature-section.reverse {
    direction: ltr;
  }

  .feature-image {
    order: -1;
  }

  .feature-image img {
    max-height: 280px;
  }

  .feature-content {
    text-align: center;
  }

  .feature-icon {
    margin: 0 auto 24px;
  }

  .feature-content h2 {
    font-size: 28px;
  }

  .final-cta {
    padding: 60px 24px;
  }

  .final-cta h2 {
    font-size: 28px;
  }

  .footer-container {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .header-container {
    padding: 14px 20px;
  }

  .hero-content h1 {
    font-size: 32px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .app-store-button {
    padding: 14px 24px;
    font-size: 15px;
  }

  .section {
    padding: 28px 24px;
  }

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

/* Compact Landing Page */
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-icon {
  width: 36px;
  height: 36px;
}

body.compact {
  height: 100vh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #fafafa 0%, #f5f9fc 50%, #fafafa 100%);
  overflow: hidden;
}

.compact-main {
  flex: 1;
  display: flex;
  align-items: center;
  padding-top: 60px;
  position: relative;
}

/* Sun decoration - subtle warm glow in top right */
.sun-decoration {
  position: absolute;
  top: -80px;
  right: 5%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(251, 146, 60, 0.12) 0%, rgba(251, 146, 60, 0.04) 40%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

/* Subtle sun rays effect */
.sun-decoration::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, transparent 30%, rgba(251, 146, 60, 0.03) 50%, transparent 70%);
  border-radius: 50%;
}

/* Wave SVG at bottom */
.wave-decoration {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 180px;
  pointer-events: none;
  z-index: 0;
}

.compact-hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
}

/* Subtle decorative dot pattern on content side */
.compact-content {
  position: relative;
}

.compact-content::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -40px;
  width: 80px;
  height: 80px;
  background-image: radial-gradient(circle, rgba(56, 189, 248, 0.3) 2px, transparent 2px);
  background-size: 12px 12px;
  opacity: 0.6;
  z-index: -1;
}

.compact-content h1 {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 12px;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
}

.compact-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 20px;
  text-align: left;
}

.feature-list {
  list-style: none;
  margin: 0 0 28px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-list li {
  color: var(--text);
  font-size: 15px;
  padding: 12px 16px 12px 44px;
  position: relative;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 10px;
  border: 1px solid rgba(56, 189, 248, 0.1);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.feature-list li:hover {
  transform: translateX(4px);
  border-color: rgba(56, 189, 248, 0.25);
  box-shadow: 0 4px 12px rgba(56, 189, 248, 0.08);
}

.feature-list li::before {
  content: '';
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gradient);
  box-shadow: 0 2px 8px rgba(56, 189, 248, 0.3);
}

.feature-list li::after {
  content: '✓';
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  font-size: 11px;
  font-weight: 700;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.compact-subtitle em {
  font-style: italic;
  color: var(--text);
}

.compact-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

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

/* Decorative warm blob behind image */
.compact-image::before {
  content: '';
  position: absolute;
  width: 110%;
  height: 110%;
  background: linear-gradient(160deg, rgba(251, 146, 60, 0.16) 0%, rgba(251, 146, 60, 0.10) 50%, rgba(251, 146, 60, 0.05) 100%);
  border-radius: 70% 30% 50% 50% / 50% 50% 50% 50%;
  z-index: -1;
  animation: wave-drift 12s ease-in-out infinite;
}

/* Subtle secondary warm shape */
.compact-image::after {
  content: '';
  position: absolute;
  width: 95%;
  height: 95%;
  background: linear-gradient(200deg, rgba(251, 146, 60, 0.12) 0%, rgba(251, 146, 60, 0.06) 100%);
  border-radius: 40% 60% 60% 40% / 60% 40% 60% 40%;
  z-index: -2;
  top: 5%;
  right: -3%;
  animation: wave-drift 15s ease-in-out infinite reverse;
}

@keyframes wave-drift {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
    border-radius: 70% 30% 50% 50% / 50% 50% 50% 50%;
  }
  50% {
    transform: translate(2%, 1%) rotate(2deg);
    border-radius: 50% 50% 70% 30% / 40% 60% 40% 60%;
  }
}

.compact-image img {
  max-width: 100%;
  height: auto;
  max-height: 380px;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.1));
}

.compact-footer {
  padding: 0 32px 15px;
  border-top: 1px solid var(--border);
  min-height: 60px;
  display: flex;
  align-items: center;
}

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

.compact-footer .footer-links {
  gap: 24px;
  margin: 0;
}

.compact-footer .footer-links a {
  line-height: 1;
}

@media (max-width: 900px) {
  .compact-main {
    padding-top: 70px;
  }

  .compact-hero {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
    padding: 32px 24px;
  }

  .compact-content h1 {
    font-size: 36px;
  }

  .compact-content::before {
    display: none;
  }

  .compact-image {
    order: -1;
  }

  .compact-image img {
    max-height: 260px;
  }

  /* Smaller blobs on tablet */
  .compact-image::before {
    width: 105%;
    height: 105%;
  }

  .compact-image::after {
    width: 90%;
    height: 90%;
  }

  .compact-cta {
    align-items: center;
  }

  .compact-footer .footer-container {
    flex-direction: column;
    gap: 12px;
  }

  .sun-decoration {
    width: 150px;
    height: 150px;
    top: -40px;
    right: 5%;
  }

  .wave-decoration {
    height: 100px;
  }

  .feature-list {
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
  }

  .feature-list li {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .header-container {
    padding: 12px 16px;
  }

  .logo {
    font-size: 20px;
    gap: 6px;
  }

  .logo-icon {
    width: 28px;
    height: 28px;
  }

  nav a {
    font-size: 14px;
  }

  .compact-main {
    padding-top: 56px;
  }

  .compact-hero {
    padding: 20px 16px 80px;
    gap: 24px;
  }

  .compact-content h1 {
    font-size: 26px;
    margin-bottom: 8px;
  }

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

  .compact-image img {
    max-height: 220px;
  }

  /* Smaller, more subtle blobs on mobile */
  .compact-image::before {
    width: 100%;
    height: 100%;
    opacity: 0.8;
  }

  .compact-image::after {
    width: 85%;
    height: 85%;
    opacity: 0.6;
  }

  .sun-decoration {
    width: 100px;
    height: 100px;
    top: -30px;
    right: 5%;
    opacity: 0.6;
  }

  .sun-decoration::after {
    width: 150px;
    height: 150px;
  }

  .wave-decoration {
    height: 60px;
  }

  .feature-list {
    gap: 10px;
    margin-bottom: 24px;
    max-width: 100%;
  }

  .feature-list li {
    font-size: 14px;
    padding: 11px 12px 11px 36px;
    border-radius: 8px;
  }

  .feature-list li::before,
  .feature-list li::after {
    left: 10px;
    width: 16px;
    height: 16px;
  }

  .feature-list li::after {
    font-size: 9px;
  }

  .compact-cta {
    gap: 10px;
  }

  /* Larger touch target for mobile */
  .app-store-button {
    padding: 14px 20px;
    font-size: 14px;
    border-radius: 10px;
    width: 100%;
    justify-content: center;
    max-width: 280px;
  }

  .app-store-button svg {
    width: 18px;
    height: 18px;
  }

  .pricing-note {
    font-size: 12px;
  }

  .compact-footer {
    padding: 16px 16px;
  }

  .compact-footer .footer-links a {
    font-size: 13px;
  }

  .copyright {
    font-size: 12px;
  }
}

/* Extra small phones */
@media (max-width: 360px) {
  .compact-content h1 {
    font-size: 24px;
  }

  .compact-subtitle {
    font-size: 14px;
  }

  .compact-image img {
    max-height: 180px;
  }

  .feature-list li {
    font-size: 13px;
    padding: 10px 10px 10px 32px;
  }

  .feature-list li::before,
  .feature-list li::after {
    left: 8px;
    width: 14px;
    height: 14px;
  }

  .app-store-button {
    padding: 12px 16px;
    font-size: 13px;
  }
}
