/* Docchi Landing Page - Modern Mobile First Design */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap");

:root {
  --deep-pink: #ff1f8f;
  --turf-green: #157a44;
  --floral-white: #fefcf7;
  --dust-grey: #e5e7eb;
  --carbon-black: #0f172a;
  --gold: #ffd700;
  --gradient-bg: linear-gradient(
    135deg,
    #fefcf7 0%,
    rgba(255, 31, 143, 0.02) 30%,
    rgba(21, 122, 68, 0.02) 70%,
    #fefcf7 100%
  );
  --glass-bg: rgba(255, 255, 255, 0.85);
  --shadow-soft: 0 4px 24px rgba(0, 0, 0, 0.06);
  --shadow-strong: 0 8px 40px rgba(0, 0, 0, 0.12);
}

/* Smooth scroll behavior with offset for sticky header */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

/* Add scroll margin to all sections with IDs */
section[id],
div[id] {
  scroll-margin-top: 100px;
}

/* Hero Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% center;
  }
  100% {
    background-position: 200% center;
  }
}

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

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

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

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  background: var(--gradient-bg);
  color: var(--carbon-black);
  line-height: 1.5;
  overflow-x: hidden;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
  letter-spacing: -0.015em;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Mobile-first utility classes */
.mobile-only {
  display: block;
}

.hidden {
  display: none;
}

.show {
  display: block !important;
}

.visible {
  visibility: visible;
  opacity: 1;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--deep-pink);
  color: white;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  padding: 0;
  margin: 0;
  cursor: pointer;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.9);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: grid;
  place-items: center;
  box-shadow: 0 4px 20px rgba(255, 31, 143, 0.4);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.back-to-top:hover {
  background: #e01a80;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 30px rgba(255, 31, 143, 0.5);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  display: block;
}

.desktop-only {
  display: none;
}

@media (min-width: 640px) {
  .container {
    padding: 0 24px;
  }
}

@media (min-width: 768px) {
  .mobile-only {
    display: none;
  }

  .desktop-only {
    display: block;
  }

  .container {
    padding: 0 32px;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 40px;
  }
}

/* Header & Navigation */
header {
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

header.hidden {
  transform: translateY(-100%);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
  position: relative;
}

.logo-link {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-img {
  height: 2.5rem;
  width: auto;
  transition: transform 0.3s ease;
  border-radius: 50%;
}

.logo-link:hover .logo-img {
  transform: scale(1.05);
}

.logo-text {
  font-size: 1.875rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--deep-pink), var(--turf-green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
  transition: opacity 0.3s;
}

.logo-link:hover .logo-text {
  opacity: 0.85;
}

@media (min-width: 768px) {
  .logo-img {
    height: 3rem;
  }
  .logo-text {
    font-size: 2.25rem;
  }
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 24px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 10;
}

.mobile-menu-btn span {
  width: 24px;
  height: 3px;
  background: var(--carbon-black);
  border-radius: 2px;
  transition: all 0.3s;
  transform-origin: 1px;
}

.mobile-menu-btn.active span:first-child {
  transform: rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(20px);
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg);
}

@media (min-width: 768px) {
  .mobile-menu-btn {
    display: none;
  }
}

/* Desktop Navigation */
.desktop-nav,
.nav-links {
  display: none;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .desktop-nav,
  .nav-links {
    display: flex;
  }
}

/* Language Toggle */
.language-toggle {
  position: relative;
}

.language-btn {
  background: none;
  border: none;
  color: var(--carbon-black);
  font-weight: 500;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 8px;
  transition: all 0.3s;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.language-btn svg {
  opacity: 0.7;
}

.language-btn:hover {
  background: rgba(255, 31, 143, 0.1);
  color: var(--deep-pink);
}

.language-btn:hover svg {
  opacity: 1;
}

.language-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  border-radius: 12px;
  box-shadow: var(--shadow-strong);
  padding: 8px;
  min-width: 120px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.language-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.language-option {
  background: none;
  border: none;
  padding: 8px 16px;
  width: 100%;
  text-align: left;
  border-radius: 8px;
  transition: background 0.2s;
  cursor: pointer;
  font-size: 14px;
  color: var(--carbon-black);
}

.language-option:hover {
  background: rgba(255, 31, 143, 0.1);
  color: var(--deep-pink);
}

.language-option.active {
  background: var(--deep-pink);
  color: white;
  font-weight: 600;
  pointer-events: none;
}

/* Mobile Language Section */
.language-section {
  margin: 2rem 0;
  text-align: center;
}

.language-section h4 {
  color: var(--carbon-black);
  margin-bottom: 1rem;
  font-size: 1rem;
}

.language-section form {
  display: inline-block;
  margin: 0 0.5rem;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: linear-gradient(135deg, var(--deep-pink), var(--turf-green));
  color: white;
  border: none;
  border-radius: 50px;
  padding: 12px 20px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  box-shadow: var(--shadow-strong);
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 8px;
}

.back-to-top.show {
  transform: translateY(0);
  opacity: 1;
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(255, 31, 143, 0.4);
}

.arrow-up {
  font-size: 16px;
  font-weight: bold;
}

.desktop-nav a,
.nav-links a {
  color: var(--carbon-black);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.desktop-nav a:hover,
.nav-links a:hover {
  color: var(--deep-pink);
}

/* Mobile Navigation */
.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
  backdrop-filter: blur(10px);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  z-index: 999;
  overflow-y: auto;
}

.mobile-nav.active {
  transform: translateX(0);
}

.mobile-nav-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--carbon-black);
  cursor: pointer;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
  z-index: 1001;
}

.mobile-nav-close:hover {
  background: rgba(255, 31, 143, 0.1);
  color: var(--deep-pink);
  transform: rotate(90deg);
}

.mobile-nav-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100%;
  gap: 1.5rem;
  padding: 6rem 2rem 2rem;
  text-align: center;
}

.mobile-nav a {
  color: var(--carbon-black);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.25rem;
  transition: all 0.3s ease;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  display: inline-block;
}

.mobile-nav a:active,
.mobile-nav a:hover {
  color: var(--deep-pink);
  background: rgba(255, 31, 143, 0.05);
}

.mobile-nav .mobile-cta {
  margin-top: 1rem;
  width: 100%;
  max-width: 280px;
}

.mobile-nav .language-section {
  width: 100%;
  margin-top: 1rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.mobile-nav .language-section h4 {
  color: var(--carbon-black);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
}

.mobile-nav .language-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.mobile-nav .language-buttons .btn-small {
  flex: 1;
  min-width: 130px;
  max-width: 150px;
  padding: 10px 16px;
  font-size: 14px;
}

.mobile-nav .language-buttons .btn-small.active {
  background: var(--deep-pink);
  color: white;
  border-color: var(--deep-pink);
  font-weight: 600;
  pointer-events: none;
}

@media (min-width: 768px) {
  .mobile-nav {
    display: none;
  }
}

/* Button Styles */
.btn {
  padding: 14px 28px;
  border-radius: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  font-size: 15px;
  text-align: center;
  letter-spacing: -0.01em;
  position: relative;
  overflow: hidden;
}

.btn-large {
  padding: 16px 32px;
  font-size: 16px;
  width: 100%;
  margin-bottom: 8px;
  border-radius: 20px;
}

@media (min-width: 768px) {
  .btn {
    padding: 14px 32px;
    font-size: 15px;
  }

  .btn-large {
    width: auto;
    padding: 16px 36px;
    margin-bottom: 0;
  }
}

.btn-primary {
  background: linear-gradient(135deg, var(--deep-pink) 0%, #e91e63 100%);
  color: white;
  box-shadow: 0 4px 14px rgba(255, 31, 143, 0.25);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #d81b60 0%, #c2185b 100%);
  transform: translateY(-1px);
  box-shadow: 0 8px 25px rgba(255, 31, 143, 0.4);
  color: white;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.95);
  color: var(--deep-pink);
  border: 2px solid var(--deep-pink);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: var(--deep-pink);
  color: white !important;
  transform: translateY(-1px);
  border-color: var(--deep-pink);
  box-shadow: 0 8px 25px rgba(255, 31, 143, 0.3);
}

/* Hero Section */
.hero {
  padding: 1.5rem 0 2rem;
  min-height: 70vh;
  display: flex;
  align-items: center;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      ellipse 80% 50% at 50% 120%,
      rgba(255, 31, 143, 0.08) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse 60% 40% at 80% 0%,
      rgba(21, 122, 68, 0.06) 0%,
      transparent 50%
    );
  pointer-events: none;
}

@media (min-width: 768px) {
  .hero {
    padding: 3rem 0 4rem;
    min-height: 75vh;
  }
}

@media (min-width: 1024px) {
  .hero {
    padding: 4rem 0 5rem;
    min-height: 80vh;
  }
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
  position: relative;
  z-index: 1;
}

@media (min-width: 1024px) {
  .hero-content {
    flex-direction: row;
    align-items: center;
    gap: 3rem;
  }
}

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

@media (min-width: 1024px) {
  .hero-text {
    text-align: left;
  }
}

.hero h1 {
  font-size: 2.25rem;
  font-weight: 900;
  margin-bottom: 0.75rem;
  background: linear-gradient(
    135deg,
    var(--deep-pink) 0%,
    var(--turf-green) 50%,
    var(--deep-pink) 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  letter-spacing: -0.025em;
  animation: fadeInUp 0.8s ease-out, gradientShift 4s ease infinite;
}

@media (min-width: 640px) {
  .hero h1 {
    font-size: 2.75rem;
  }
}

@media (min-width: 768px) {
  .hero h1 {
    font-size: 3.25rem;
  }
}

@media (min-width: 1024px) {
  .hero h1 {
    font-size: 3.75rem;
  }
}

.hero p {
  font-size: 1.125rem;
  color: #64748b;
  margin-bottom: 1.5rem;
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: -0.01em;
  animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

@media (min-width: 768px) {
  .hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
  }
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease-out 0.3s backwards;
}

.cta-buttons .btn-primary {
  animation: pulse 2s ease-in-out infinite;
}

@media (min-width: 640px) {
  .cta-buttons {
    flex-direction: row;
    justify-content: center;
    gap: 1rem;
  }
}

@media (min-width: 1024px) {
  .cta-buttons {
    justify-content: flex-start;
  }
}

.signup-count {
  font-size: 0.875rem;
  color: var(--deep-pink);
  margin-top: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  animation: fadeInUp 0.8s ease-out 0.5s backwards;
  background: linear-gradient(
    135deg,
    rgba(255, 31, 143, 0.1),
    rgba(21, 122, 68, 0.1)
  );
  padding: 0.5rem 1rem;
  border-radius: 50px;
  display: inline-block;
}

.mobile-cta-section {
  margin-top: 1.5rem;
  padding: 1.5rem;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Demo Section - Mobile Screen Frame */
.demo-section {
  flex: 1;
  max-width: 340px;
  margin: 0 auto;
  position: relative;
  animation: fadeInUp 0.8s ease-out 0.4s backwards,
    float 3s ease-in-out infinite;
}

@media (min-width: 1024px) {
  .demo-section {
    margin: 0 auto; /* keep centered on desktop */
    max-width: 360px;
  }
}

.demo-header {
  text-align: center;
  margin-bottom: 2rem;
}

.demo-header h3 {
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--carbon-black);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.demo-header p {
  font-size: 0.925rem;
  color: #64748b;
  margin-bottom: 0;
  font-weight: 400;
}

/* Mobile Phone Frame */
.mobile-frame {
  position: relative;
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
  background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
  border-radius: 32px;
  padding: 12px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25), 0 12px 24px rgba(0, 0, 0, 0.2),
    0 6px 12px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  transform: perspective(1000px) rotateX(2deg);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Disable hover lift/animation on the phone */
.mobile-frame:hover {
  transform: perspective(1000px) rotateX(2deg);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25), 0 12px 24px rgba(0, 0, 0, 0.2),
    0 6px 12px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.mobile-frame::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: #374151;
  border-radius: 2px;
  z-index: 10;
}

.mobile-screen {
  width: 100%;
  height: 600px;
  background: #000;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

/* Poll Card Demo Styles */
.poll-card-demo {
  background: white;
  height: 100%;
  overflow: hidden;
  position: relative;
  transform: scale(1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

/* Disable hover scale on the poll card */
.poll-card-demo:hover {
  transform: none;
}

/* Poll Header Fixed Height */
.poll-header {
  padding: 16px 20px 20px;
  background: white;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  flex-shrink: 0;
}

/* Poll Top Row - Progress & Time */
.poll-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.poll-progress {
  background: rgba(0, 0, 0, 0.06);
  color: #666;
  padding: 4px 10px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
}

.poll-time-badge {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(0, 0, 0, 0.06);
  color: #666;
  padding: 4px 10px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 500;
}

.poll-time-badge svg {
  opacity: 0.7;
}

.poll-time-badge.urgent {
  background: rgba(239, 68, 68, 0.12);
  color: #dc2626;
}

.poll-time-badge.urgent svg {
  stroke: #dc2626;
}

/* Poll Options Take Remaining Space */
.poll-options {
  display: flex;
  flex: 1;
  min-height: 200px;
}

/* Poll Footer Fixed Height */
.poll-footer {
  background: white;
  padding: 16px 20px;
  text-align: center;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  flex-shrink: 0;
}

.poll-header {
  padding: 20px;
  background: white;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.poll-user-info {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}

.poll-avatar {
  width: 40px;
  height: 40px;
  border-radius: 20px;
  background: var(--deep-pink);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 18px;
  margin-right: 12px;
  border: 2px solid var(--deep-pink);
}

.poll-user-text {
  flex: 1;
}

.poll-badges {
  display: flex;
  gap: 6px;
  margin-bottom: 4px;
  flex-wrap: wrap;
}

.category-badge {
  background: rgba(255, 31, 143, 0.12);
  color: var(--deep-pink);
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
}

/* Engagement Badges */
.trending-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(239, 68, 68, 0.12);
  color: #ef4444;
  padding: 4px 8px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 700;
}

.trending-badge svg {
  stroke: #ef4444;
}

.hot-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(249, 115, 22, 0.12);
  color: #f97316;
  padding: 4px 8px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 700;
}

.hot-badge svg {
  fill: #f97316;
}

.featured-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
  padding: 4px 8px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 700;
}

.featured-badge svg {
  fill: #f59e0b;
}

.poll-meta {
  display: flex;
  align-items: center;
  gap: 6px;
}

.user-name {
  font-size: 15px;
  color: #555;
  font-weight: 600;
}

.post-time {
  font-size: 13px;
  color: #999;
  font-weight: 500;
}

.poll-question {
  font-size: 20px;
  font-weight: bold;
  color: var(--carbon-black);
  text-align: center;
  line-height: 1.4;
  margin-bottom: 8px;
}

.poll-options {
  display: flex;
  min-height: 200px;
}

.poll-option {
  flex: 1;
  position: relative;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.option-a {
  background: var(--deep-pink);
}

.option-b {
  background: var(--turf-green);
}

.poll-option.voted {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.poll-option.lost {
  opacity: 0.6;
  filter: grayscale(50%);
  transform: scale(0.95);
}

.poll-option.results-a {
  background: var(--deep-pink);
}

.poll-option.results-b {
  background: var(--turf-green);
}

.option-content {
  position: relative;
  z-index: 10;
  transition: opacity 0.3s ease;
}

.option-text {
  font-size: 24px;
  font-weight: bold;
  color: white;
  text-align: center;
}

/* Poll Results */
.option-results {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  z-index: 20;
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.option-results.visible {
  opacity: 1;
}

.option-results .trophy-icon {
  margin-bottom: 4px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.option-results .percentage {
  font-size: 2.5rem;
  font-weight: 900;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.option-results .result-option-text {
  font-size: 1.1rem;
  font-weight: 600;
  opacity: 0.95;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.option-results .vote-count {
  font-size: 0.85rem;
  opacity: 0.85;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.option-results .your-pick-badge {
  display: none;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-top: 6px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Hide trophy by default, show only for winner options */
.option-results .trophy-icon {
  display: none;
}

.poll-option[data-winner="true"] .option-results .trophy-icon {
  display: block;
  margin-bottom: 4px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* (Removed earlier conflicting tutorial styles to ensure proper centering) */

/* Poll Footer */
.poll-footer {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 1.5rem;
  margin-top: 0.25rem; /* keep footer closer to bottom */
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.poll-footer.show {
  opacity: 1;
  transform: translateY(0);
}

.total-votes {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--carbon-black);
}

.fire-icon {
  margin-right: 0.5rem;
}

.result-message {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--deep-pink);
  margin-bottom: 1rem;
}

.try-again-btn {
  background: var(--deep-pink);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.try-again-btn:hover {
  background: #e01a80;
  transform: translateY(-2px);
}

/* Liquid Fill Effect */
.liquid-fill {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 0%;
  background: rgba(255, 255, 255, 0.3);
  transition: height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 5;
}

.liquid-fill::before {
  content: "";
  position: absolute;
  top: -8px;
  left: -30px;
  right: -30px;
  height: 20px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 100px;
  animation: wave 2s ease-in-out infinite;
}

@keyframes wave {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(15px);
  }
}

/* Results Styles */
.option-results {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  z-index: 15;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.option-results.visible {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.05);
}

.percentage {
  font-size: 36px;
  font-weight: 900;
  margin-bottom: 8px;
  text-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
  letter-spacing: -0.02em;
}

.result-text {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.vote-count {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 12px;
}

.poll-footer {
  background: white;
  padding: 16px 20px;
  text-align: center;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  flex-shrink: 0;
}

.poll-footer.show {
  display: block !important;
}

.total-votes {
  background: rgba(255, 31, 143, 0.08);
  padding: 8px 16px;
  border-radius: 16px;
  margin-bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 700;
  color: var(--deep-pink);
}

.result-message {
  font-size: 15px;
  font-weight: 600;
  color: var(--carbon-black);
  margin-bottom: 12px;
}

.try-again-btn {
  background: var(--turf-green);
  color: white;
  border: none;
  padding: 8px 20px;
  border-radius: 16px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.try-again-btn:hover {
  background: #0f5d34;
  transform: translateY(-1px);
}

/* Tutorial Overlay */
.poll-tutorial {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  z-index: 20;
  transition: opacity 0.3s ease;
}

.poll-tutorial.hidden {
  opacity: 0;
  pointer-events: none;
}

.tutorial-text {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
  text-align: center;
}

.tutorial-arrows {
  display: flex;
  gap: 60px;
  font-size: 32px;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.6;
  }
}

/* Animation states */
.poll-option.voted {
  flex-basis: 100%;
}

.poll-option.voted .liquid-fill {
  height: 100%;
}

.poll-option.lost {
  flex-basis: 0%;
  opacity: 0.3;
}

.poll-option.results-a {
  flex-basis: 68%;
}

.poll-option.results-b {
  flex-basis: 32%;
}

.poll-option.results-a .liquid-fill {
  height: 68%;
}

.poll-option.results-b .liquid-fill {
  height: 32%;
}

/* Mobile App-Like Testimonials */
.app-testimonials {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .app-testimonials {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (min-width: 1024px) {
  .app-testimonials {
    gap: 2.5rem;
  }
}

/* App Store Review Style */
.app-review {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.app-review:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-strong);
}

.review-header {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
  gap: 12px;
}

.user-avatar .avatar-img {
  width: 44px;
  height: 44px;
  border-radius: 22px;
  background: var(--deep-pink);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 18px;
}

.user-info {
  flex: 1;
}

.username {
  font-weight: 600;
  color: var(--carbon-black);
  font-size: 15px;
}

.user-subtitle {
  color: #666;
  font-size: 13px;
  margin-top: 2px;
}

.rating .stars {
  font-size: 16px;
}

.review-content p {
  color: #333;
  line-height: 1.5;
  margin-bottom: 16px;
}

.review-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #666;
}

/* Chat Message Style */
.chat-review {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow-soft);
  border-left: 4px solid var(--turf-green);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.chat-review:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-strong);
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.chat-avatar {
  width: 36px;
  height: 36px;
  border-radius: 18px;
  background: var(--turf-green);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
}

.chat-user {
  flex: 1;
  font-weight: 600;
  color: var(--carbon-black);
  font-size: 15px;
}

.chat-time {
  color: #666;
  font-size: 13px;
}

.chat-messages {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.chat-bubble {
  background: rgba(21, 122, 68, 0.1);
  border-radius: 18px;
  padding: 12px 16px;
  max-width: 85%;
  align-self: flex-end;
}

.chat-bubble p {
  margin: 0;
  color: #333;
  font-size: 15px;
  line-height: 1.4;
}

.chat-reactions {
  display: flex;
  gap: 16px;
}

.reaction {
  background: rgba(0, 0, 0, 0.05);
  border-radius: 20px;
  padding: 6px 12px;
  font-size: 13px;
  color: #666;
}

/* Social Media Style */
.social-review {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow-soft);
  border-left: 4px solid var(--deep-pink);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-review:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-strong);
}

.social-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.social-avatar {
  width: 40px;
  height: 40px;
  border-radius: 20px;
  background: var(--deep-pink);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  flex-shrink: 0;
}

.social-info {
  flex: 1;
}

.social-name {
  font-weight: 600;
  color: var(--carbon-black);
  font-size: 15px;
}

.social-handle {
  color: #666;
  font-size: 13px;
  margin-top: 2px;
}

.social-time {
  color: #666;
  font-size: 13px;
  margin-top: 4px;
}

.social-verified {
  color: #1da1f2;
  font-weight: bold;
}

.social-content p {
  color: #333;
  line-height: 1.5;
  margin-bottom: 12px;
}

.poll-preview {
  background: var(--floral-white);
  border-radius: 12px;
  padding: 16px;
  margin: 16px 0;
}

.mini-poll {
  text-align: center;
}

.mini-question {
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--carbon-black);
}

.mini-options {
  display: flex;
  gap: 8px;
}

.mini-option {
  flex: 1;
  padding: 8px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  color: white;
}

.mini-option.pink {
  background: var(--deep-pink);
}

.mini-option.green {
  background: var(--turf-green);
}

.social-stats {
  display: flex;
  gap: 24px;
  padding-top: 12px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  font-size: 14px;
  color: #666;
}

.btn-secondary:hover {
  background: var(--deep-pink);
  color: white;
}

/* Sections */
section {
  padding: 3rem 0;
}

@media (min-width: 768px) {
  section {
    padding: 4rem 0;
  }
}

@media (min-width: 1024px) {
  section {
    padding: 1rem 0;
  }
}

/* Features */
.features {
  padding: 3rem 0;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
}

.features h2 {
  text-align: center;
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 2rem;
  color: var(--carbon-black);
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .features {
    padding: 4rem 0;
  }

  .features h2 {
    font-size: 2.75rem;
    margin-bottom: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .features {
    padding: 2rem 0;
  }

  .features h2 {
    font-size: 3rem;
    margin-bottom: 3rem;
  }
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
}

.feature-card {
  text-align: center;
  padding: 2rem;
  border-radius: 20px;
  transition: transform 0.3s;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(
    135deg,
    rgba(255, 31, 143, 0.1),
    rgba(21, 122, 68, 0.1)
  );
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  color: var(--deep-pink);
}

.feature-icon svg {
  width: 32px;
  height: 32px;
}

.feature-card:hover .feature-icon {
  background: linear-gradient(
    135deg,
    rgba(255, 31, 143, 0.15),
    rgba(21, 122, 68, 0.15)
  );
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--carbon-black);
  font-weight: 700;
}

.feature-card p {
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* About Section - Use Cases */
.about-container {
  text-align: center;
}

.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .use-cases-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }
}

.use-case-card {
  background: white;
  padding: 1.5rem;
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.use-case-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-strong);
}

.use-case-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(
    135deg,
    rgba(255, 31, 143, 0.1),
    rgba(21, 122, 68, 0.1)
  );
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--turf-green);
}

.use-case-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--carbon-black);
  margin-bottom: 0.5rem;
}

.use-case-card p {
  font-size: 0.875rem;
  color: #64748b;
  line-height: 1.5;
}

/* Beta CTA Section */
.beta-cta {
  background: linear-gradient(135deg, var(--deep-pink), var(--turf-green));
  padding: 2.5rem;
  border-radius: 24px;
  color: white;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

@media (min-width: 768px) {
  .beta-cta {
    padding: 3rem;
  }
}

.beta-cta-icon {
  width: 64px;
  height: 64px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

.beta-cta h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.beta-cta p {
  font-size: 1.05rem;
  opacity: 0.9;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.btn-white {
  background: white;
  color: var(--deep-pink);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 32px;
}

.btn-white:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Contact Section */
.contact-section {
  background: rgba(255, 255, 255, 0.5);
}

.contact-container {
  text-align: center;
}

.contact-subtitle {
  font-size: 1.125rem;
  color: #64748b;
  margin-bottom: 2rem;
}

.contact-card {
  background: white;
  padding: 2rem;
  border-radius: 20px;
  border: 2px solid var(--dust-grey);
  max-width: 550px;
  margin: 0 auto;
  text-align: left;
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(
    135deg,
    rgba(255, 31, 143, 0.1),
    rgba(21, 122, 68, 0.1)
  );
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--deep-pink);
}

.contact-email {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.contact-email a {
  color: var(--deep-pink);
  text-decoration: none;
  font-weight: 600;
}

.contact-email a:hover {
  text-decoration: underline;
}

.contact-response {
  color: #64748b;
  font-size: 0.9rem;
  text-align: center;
  margin-top: 1rem;
}

/* Language Section in Mobile Nav */
.language-buttons {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
}

.btn-small {
  padding: 10px 20px;
  font-size: 14px;
}

/* Testimonials Section */
.testimonials {
  padding: 2rem 0;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(40px);
}

@media (min-width: 768px) {
  .testimonials {
    padding: 3rem 0;
  }
}

@media (min-width: 1024px) {
  .testimonials {
    padding: 4rem 0;
  }
}

.testimonials h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: var(--carbon-black);
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .testimonials h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
  }
}

/* Stats */
.stats {
  padding: 3rem 0;
  background: linear-gradient(
    135deg,
    var(--deep-pink) 0%,
    var(--turf-green) 100%
  );
  color: white;
}

@media (min-width: 768px) {
  .stats {
    padding: 4rem 0;
  }
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

@media (min-width: 768px) {
  .stats-grid {
    gap: 3rem;
  }
}

.stat-number {
  font-size: 2.75rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .stat-number {
    font-size: 3.25rem;
  }
}

.stat-label {
  font-size: 1.125rem;
  opacity: 0.95;
  font-weight: 500;
}

@media (min-width: 768px) {
  .stat-label {
    font-size: 1.25rem;
  }
}

/* Footer */
footer {
  background: var(--carbon-black);
  color: var(--floral-white);
  padding: 3rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (min-width: 1024px) {
  .footer-content {
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 3rem;
  }
}

.footer-brand {
  max-width: 280px;
}

.footer-logo {
  font-size: 1.875rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--deep-pink), var(--turf-green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 0.75rem;
}

.footer-logo-img {
  height: 40px;
  width: auto;
}

.footer-brand p {
  color: var(--dust-grey);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  color: var(--dust-grey);
  transition: color 0.3s, transform 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}

.footer-social a:hover {
  color: var(--deep-pink);
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.1);
}

.footer-section h4 {
  color: white;
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--dust-grey);
  text-decoration: none;
  transition: color 0.3s;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: white;
}

.footer-links a.coming-soon {
  opacity: 0.6;
  cursor: default;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--dust-grey);
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.2rem;
  }

  .nav-links {
    gap: 1rem;
  }

  .features h2 {
    font-size: 2rem;
  }

  .stat-number {
    font-size: 2.5rem;
  }
}

/* Legal Pages */
.legal-page {
  min-height: 100vh;
  background: var(--floral-white);
  padding: 2rem 0;
}

.legal-content {
  max-width: 900px;
  margin: 0 auto;
  background: white;
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

@media (min-width: 768px) {
  .legal-content {
    padding: 4rem;
  }
}

@media (min-width: 1024px) {
  .legal-content {
    padding: 4.5rem;
  }
}

.legal-page h1 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--carbon-black);
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--deep-pink), var(--turf-green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@media (min-width: 768px) {
  .legal-page h1 {
    font-size: 2.5rem;
  }
}

.last-updated {
  color: #666;
  font-style: italic;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--dust-grey);
  font-size: 0.9rem;
}

.legal-page section {
  margin-bottom: 0;
}

.legal-page section:last-of-type {
  margin-bottom: 0;
}

.legal-page h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--carbon-black);
  margin-bottom: 0.75rem;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--dust-grey);
}

.legal-page h2:first-of-type {
  margin-top: 0;
  border-top: none;
  padding-top: 0;
}

.legal-page h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--deep-pink);
  margin-bottom: 0.5rem;
  margin-top: 1rem;
}

.legal-page p {
  color: #374151;
  line-height: 1.7;
  margin-bottom: 1rem;
  font-size: 15px;
}

.legal-page ul {
  margin: 0.75rem 0 1rem;
  padding-left: 1.5rem;
}

.legal-page li {
  color: #374151;
  line-height: 1.6;
  margin-bottom: 0.5rem;
  font-size: 15px;
}

.legal-page ol {
  margin: 0.75rem 0 1rem;
  padding-left: 1.5rem;
}

.legal-page ol li {
  color: #374151;
  line-height: 1.6;
  margin-bottom: 0.5rem;
  font-size: 15px;
}

.legal-page a {
  color: var(--deep-pink);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.legal-page a:hover {
  color: var(--turf-green);
  text-decoration: underline;
}

.legal-page strong {
  color: var(--carbon-black);
  font-weight: 600;
}

.legal-footer {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--dust-grey);
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

@media (min-width: 640px) {
  .legal-footer {
    justify-content: flex-start;
  }
}

/* Cookie Table */
.cookie-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.cookie-table th {
  background: var(--deep-pink);
  color: white;
  font-weight: 600;
  padding: 1rem;
  text-align: left;
  font-size: 14px;
}

.cookie-table td {
  padding: 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  color: #333;
  font-size: 14px;
}

.cookie-table tr:last-child td {
  border-bottom: none;
}

.cookie-table tr:nth-child(even) {
  background: var(--floral-white);
}

@media (max-width: 640px) {
  .cookie-table {
    font-size: 12px;
  }

  .cookie-table th,
  .cookie-table td {
    padding: 0.75rem 0.5rem;
  }
}

/* ============================================
   Multi-Poll Demo Styles
   ============================================ */

.poll-cards-container {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.poll-card-demo {
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.poll-card-demo.active {
  display: flex;
  opacity: 1;
}

/* Poll Navigation Dots */
.poll-nav-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 12px 0 8px;
  background: #000;
}

.poll-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.poll-dot.active {
  background: var(--deep-pink);
  transform: scale(1.2);
}

.poll-dot:hover:not(.active) {
  background: rgba(255, 255, 255, 0.5);
}

/* Poll Card Footer - Matching App Design */
.poll-card-footer {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 20px;
  background: white;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

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

.footer-stats {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #374151;
  font-weight: 600;
}

.footer-stats .flame-icon {
  color: #f97316;
}

.footer-badges {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
}

.footer-badge.close-race {
  background: linear-gradient(
    135deg,
    rgba(168, 85, 247, 0.12) 0%,
    rgba(236, 72, 153, 0.12) 100%
  );
  color: #a855f7;
}

.footer-badge.close-race svg {
  color: #a855f7;
}

.footer-badge.trending {
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
}

.footer-badge.trending svg {
  color: #059669;
}

.footer-result {
  font-size: 13px;
  color: #64748b;
  font-weight: 500;
}

.total-votes-small {
  font-size: 14px;
  color: #374151;
  font-weight: 600;
}

.close-race-badge {
  background: linear-gradient(
    135deg,
    rgba(255, 31, 143, 0.1) 0%,
    rgba(21, 122, 68, 0.1) 100%
  );
  color: #7c3aed;
  padding: 4px 10px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
}

.ending-soon-badge {
  background: rgba(239, 68, 68, 0.12);
  color: #dc2626;
  padding: 4px 10px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
  animation: pulse 2s ease-in-out infinite;
}

.time-remaining {
  font-size: 13px;
  color: #64748b;
  font-weight: 500;
}

.poll-votes {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #666;
  font-weight: 500;
}

.poll-votes svg {
  width: 16px;
  height: 16px;
  color: var(--deep-pink);
}

.poll-time-remaining {
  font-size: 13px;
  color: #999;
  font-weight: 500;
}

/* Swipe Hint */
.swipe-hint {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  z-index: 100;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.swipe-hint svg {
  width: 16px;
  height: 16px;
}

/* Poll Voting States */
.poll-option.voted {
  transform: scale(1.02);
  box-shadow: inset 0 0 40px rgba(255, 255, 255, 0.2);
}

.poll-option.not-voted {
  opacity: 0.6;
  filter: grayscale(30%);
  transform: scale(0.98);
}

.poll-option.show-results .option-content {
  opacity: 0;
}

.poll-option.show-results .option-results {
  opacity: 1;
}

/* ============================================
   Waitlist Form Styles
   ============================================ */

.waitlist-form {
  display: flex;
  gap: 12px;
  max-width: 450px;
  margin: 0 auto;
}

.waitlist-form input[type="email"] {
  flex: 1;
  padding: 14px 18px;
  border: 2px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  font-size: 16px;
  font-family: inherit;
  background: white;
  transition: all 0.3s ease;
}

.waitlist-form input[type="email"]:focus {
  outline: none;
  border-color: var(--deep-pink);
  box-shadow: 0 0 0 3px rgba(255, 31, 143, 0.1);
}

.waitlist-form button {
  padding: 14px 28px;
  background: var(--deep-pink);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 140px;
}

.waitlist-form button:hover:not(:disabled) {
  background: #e01a80;
  transform: translateY(-2px);
}

.waitlist-form button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.btn-loading {
  display: none;
  align-items: center;
  gap: 6px;
}

.btn-loading .spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.waitlist-success {
  display: none;
  text-align: center;
  padding: 28px 24px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  max-width: 450px;
  margin: 0 auto;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.waitlist-success h4 {
  color: var(--turf-green);
  font-size: 1.5rem;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
}

.waitlist-success p {
  color: #333;
  font-size: 1rem;
  line-height: 1.5;
}

.form-note {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 1rem;
  text-align: center;
}

@media (max-width: 480px) {
  .waitlist-form {
    flex-direction: column;
  }

  .waitlist-form button {
    width: 100%;
  }
}

/* ============================================
   Contact Form Styles
   ============================================ */

.contact-form {
  max-width: 500px;
  margin: 0 auto;
}

.form-row {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}

.form-field {
  flex: 1;
}

.form-field.full-width {
  width: 100%;
}

.form-field label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--carbon-black);
  margin-bottom: 6px;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
  background: white;
  transition: all 0.3s ease;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--deep-pink);
  box-shadow: 0 0 0 3px rgba(255, 31, 143, 0.1);
}

.form-field textarea {
  min-height: 120px;
}

.contact-form button {
  width: 100%;
  padding: 14px 28px;
  background: var(--deep-pink);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
}

.contact-form button:hover:not(:disabled) {
  background: #e01a80;
  transform: translateY(-2px);
}

.contact-form button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.contact-success {
  display: none;
  text-align: center;
  padding: 32px;
  background: rgba(21, 122, 68, 0.1);
  border-radius: 16px;
  max-width: 500px;
  margin: 0 auto;
}

.contact-success h4 {
  color: var(--turf-green);
  font-size: 1.25rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.contact-success p {
  color: #666;
  font-size: 0.95rem;
}

@media (max-width: 480px) {
  .form-row {
    flex-direction: column;
    gap: 16px;
  }
}

/* ============================================
   Feature Card Text Size Increase (Desktop)
   ============================================ */

@media (min-width: 768px) {
  .feature-card h3 {
    font-size: 1.4rem;
  }

  .feature-card p {
    font-size: 1.05rem;
  }

  .feature-icon {
    width: 72px;
    height: 72px;
  }

  .feature-icon svg {
    width: 36px;
    height: 36px;
  }
}

@media (min-width: 1024px) {
  .feature-card h3 {
    font-size: 1.5rem;
  }

  .feature-card p {
    font-size: 1.1rem;
    line-height: 1.7;
  }

  .feature-icon {
    width: 80px;
    height: 80px;
  }

  .feature-icon svg {
    width: 40px;
    height: 40px;
  }
}

/* ============================================
   Phone Demo Hover Bug Fix
   ============================================ */

.mobile-screen {
  border-radius: 24px !important;
  overflow: hidden !important;
}

.mobile-mockup:hover .mobile-screen {
  border-radius: 24px !important;
}

/* Feature Highlights (replacing fake stats) */
.feature-highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 600px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .feature-highlights {
    grid-template-columns: repeat(4, 1fr);
    max-width: 900px;
  }
}

.highlight-item {
  text-align: center;
  padding: 1.5rem 1rem;
  background: white;
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s, box-shadow 0.3s;
}

.highlight-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-strong);
}

.highlight-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(
    135deg,
    rgba(255, 31, 143, 0.1),
    rgba(21, 122, 68, 0.1)
  );
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem;
  color: var(--deep-pink);
}

.highlight-icon svg {
  width: 24px;
  height: 24px;
}

.highlight-item h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--carbon-black);
  margin-bottom: 0.25rem;
}

.highlight-item p {
  font-size: 0.8rem;
  color: #64748b;
}

/* Error Pages (404, 500) */
.error-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
  padding: 2rem 1rem;
  text-align: center;
}

.error-code {
  font-size: 8rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--deep-pink), var(--turf-green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
  line-height: 1;
  margin-bottom: 1rem;
}

.error-page h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--carbon-black);
  margin-bottom: 1rem;
  max-width: 600px;
}

.error-page p {
  font-size: 1.1rem;
  color: #64748b;
  margin-bottom: 2rem;
  max-width: 600px;
  line-height: 1.6;
}

.error-suggestions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
  width: 100%;
  max-width: 800px;
}

.error-suggestion-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.5rem;
  background: white;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  color: var(--deep-pink);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.error-suggestion-link:hover {
  border-color: var(--deep-pink);
  background: rgba(255, 31, 143, 0.05);
  transform: translateY(-2px);
}

.error-suggestion-link:active {
  transform: translateY(0);
}

.error-support {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #e2e8f0;
}

.error-support h2 {
  font-size: 1.25rem;
  color: var(--carbon-black);
  margin-bottom: 0.5rem;
}

.error-support p {
  font-size: 0.95rem;
  color: #64748b;
  margin-bottom: 1rem;
}

.error-support a {
  color: var(--turf-green);
  text-decoration: none;
  font-weight: 600;
}

.error-support a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .error-code {
    font-size: 5rem;
  }

  .error-page h1 {
    font-size: 1.75rem;
  }

  .error-page p {
    font-size: 1rem;
  }

  .error-suggestions {
    grid-template-columns: 1fr;
  }

  .error-suggestion-link {
    padding: 0.875rem 1.25rem;
    font-size: 0.95rem;
  }
}

/* Contact Page */
.contact-page {
  min-height: 80vh;
  padding: 3rem 1rem;
}

.contact-page h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--carbon-black);
  margin-bottom: 0.5rem;
}

.contact-intro {
  font-size: 1.1rem;
  color: #64748b;
  margin-bottom: 2rem;
  max-width: 600px;
}

.contact-form-wrapper {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 3rem;
  max-width: 600px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--carbon-black);
  margin-bottom: 0.5rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
  padding: 0.875rem;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.2s ease;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--deep-pink);
  box-shadow: 0 0 0 3px rgba(255, 31, 143, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.file-input-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.file-input {
  display: none;
}

.btn-file-select {
  width: fit-content;
}

.file-name {
  font-size: 0.9rem;
  color: #64748b;
  font-style: italic;
}

.file-help {
  font-size: 0.85rem;
  color: #94a3b8;
  margin: 0;
}

.error-message {
  font-size: 0.85rem;
  color: #dc2626;
  margin-top: 0.25rem;
  display: none;
}

.error-message.show {
  display: block;
}

.contact-submit-btn {
  width: 100%;
  padding: 1rem;
  font-size: 1rem;
  font-weight: 600;
}

.form-status {
  padding: 1rem;
  border-radius: 6px;
  text-align: center;
  display: none;
  font-weight: 500;
}

.form-status.show {
  display: block;
}

.form-status.success {
  background: #dcfce7;
  color: #166534;
}

.form-status.error {
  background: #fee2e2;
  color: #991b1b;
}

.contact-info {
  max-width: 600px;
}

.contact-info h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--carbon-black);
  margin-bottom: 1rem;
}

.contact-info p {
  font-size: 1rem;
  color: #64748b;
  line-height: 1.6;
}

.contact-info a {
  color: var(--deep-pink);
  text-decoration: none;
  font-weight: 600;
}

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

/* FAQ Section */
.faq-section {
  padding: 2rem 0;
  background: linear-gradient(
    180deg,
    #fefcf7 0%,
    rgba(255, 31, 143, 0.03) 50%,
    #fefcf7 100%
  );
}

.faq-section h2 {
  text-align: center;
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--carbon-black);
  margin-bottom: 0.5rem;
}

.faq-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: #64748b;
  margin-bottom: 3rem;
}

.faq-grid {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: white;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.2s ease;
}

.faq-item:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.faq-item.active {
  box-shadow: 0 4px 24px rgba(255, 31, 143, 0.15);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--carbon-black);
  font-family: inherit;
  transition: background 0.2s ease;
}

.faq-question:hover {
  background: rgba(255, 31, 143, 0.03);
}

.faq-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.faq-question > span:nth-child(2) {
  flex: 1;
}

.faq-chevron {
  flex-shrink: 0;
  color: #94a3b8;
  transition: transform 0.3s ease, color 0.2s ease;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
  color: var(--deep-pink);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 1rem 1.5rem 1.5rem 4rem;
}

.faq-answer p {
  color: #475569;
  line-height: 1.7;
  font-size: 1rem;
  margin: 0;
}

.faq-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding: 0.6rem 1rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
}

.premium-badge {
  background: linear-gradient(
    135deg,
    rgba(255, 215, 0, 0.15) 0%,
    rgba(255, 31, 143, 0.1) 100%
  );
  color: #b45309;
  border: 1px solid rgba(255, 215, 0, 0.3);
}

.premium-badge .badge-icon {
  font-size: 1rem;
}

.faq-cta {
  text-align: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.faq-cta p {
  color: #64748b;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.faq-cta .btn {
  padding: 0.75rem 2rem;
}

@media (max-width: 768px) {
  .faq-section {
    padding: 3rem 1rem;
  }

  .faq-section h2 {
    font-size: 1.75rem;
  }

  .faq-subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .faq-question {
    padding: 1rem 1.25rem;
    font-size: 0.95rem;
    gap: 0.75rem;
  }

  .faq-icon {
    font-size: 1.25rem;
  }

  .faq-item.active .faq-answer {
    padding: 0 1.25rem 1.25rem 3.25rem;
  }

  .faq-answer p {
    font-size: 0.95rem;
  }

  .faq-badge {
    font-size: 0.85rem;
    padding: 0.5rem 0.875rem;
  }

  .faq-cta {
    margin-top: 2rem;
  }
}

@media (max-width: 768px) {
  .contact-page {
    padding: 2rem 1rem;
  }

  .contact-page h1 {
    font-size: 1.75rem;
  }

  .contact-form-wrapper {
    padding: 1.5rem;
  }

  .contact-submit-btn {
    padding: 0.875rem;
    font-size: 0.95rem;
  }

  .contact-info h2 {
    font-size: 1.25rem;
  }
}
