@font-face {
  font-family: 'Fjalla One';
  src: url('assets/FjallaOne-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

/* Custom property to animate conic gradients */
@property --angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

:root {
  --font-main: 'Fjalla One', sans-serif;
  --color-primary: #FF007f;
  --color-primary-dark: #cc0066;
  --color-accent: #a855f7; /* Soft Purple */
  --color-peach: #ffecd2;
  --color-cream: #fcb69f;
  --glass-bg: rgba(255, 255, 255, 0.25);
  --glass-border: rgba(255, 255, 255, 0.4);
  --glass-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  --glass-blur: blur(16px);
}

@keyframes spin {
  from {
    --angle: 0deg;
  }
  to {
    --angle: 360deg;
  }
}

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

/* Overall body styles */
body {
  font-family: var(--font-main);
  background-color: #ffe6f2; /* Fallback */
  color: #333;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* Liquid Background & Blobs */
.liquid-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  overflow: hidden;
  background: #fff0f5; /* Very light base */
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.7;
  animation: float-blob 20s infinite alternate;
}

.blob-1 {
  width: 600px;
  height: 600px;
  background: var(--color-primary);
  top: -100px;
  left: -100px;
  opacity: 0.4;
}

.blob-2 {
  width: 500px;
  height: 500px;
  background: var(--color-accent);
  bottom: -50px;
  right: -100px;
  opacity: 0.4;
  animation-duration: 25s;
  animation-direction: alternate-reverse;
}

.blob-3 {
  width: 400px;
  height: 400px;
  background: var(--color-cream);
  top: 40%;
  left: 40%;
  opacity: 0.6;
  animation-duration: 30s;
}

.noise-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.8" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)" opacity="1"/%3E%3C/svg%3E');
  opacity: 0.05; /* Very subtle */
  mix-blend-mode: overlay; /* Blends nicely */
  pointer-events: none;
  z-index: 0;
}

@keyframes float-blob {
  0% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(50px, -30px) scale(1.1); }
  66% { transform: translate(-20px, 40px) scale(0.9); }
  100% { transform: translate(30px, -20px) scale(1); }
}

/* Glassmorphism Utility */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: 24px;
}

/* Navigation Bar */
nav.main-nav {
  width: 90%;
  max-width: 1200px;
  margin: 20px auto;
  border-radius: 100px;
  padding: 10px 30px;
  
  /* Glassmorphism */
  background: rgba(255, 255, 255, 0.6); /* Slightly more opaque */
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  
  /* Layout */
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 20px;
  z-index: 1000;
}

@media (max-width: 768px) {
  nav.main-nav {
    width: 100%;
    margin: 0;
    border-radius: 0;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: none;
    position: relative;
    top: 0;
    flex-direction: row; /* Keep horizontal on mobile */
    height: 60px;
  }

  .navbar-left h1 {
    font-size: 1.3em !important;
    text-align: left;
  }

  .navbar-right {
    margin-top: 0 !important;
    flex-direction: row !important;
    justify-content: flex-end;
  }

  .nav-links {
    margin-top: 0 !important;
    gap: 12px !important;
  }

  .nav-faq-link {
    display: none; /* Hide FAQ on mobile header to save space */
  }

  .btn-auth-glass {
    padding: 8px 16px !important;
    font-size: 0.85em !important;
  }

  #dashboard-btn {
    padding: 8px 16px !important;
    font-size: 0.85em !important;
  }
}

.navbar-left h1,
.navbar-left .logo a {
  font-family: 'Fjalla One', sans-serif;
  font-size: 1.8em; /* Slightly smaller for pill */
  color: var(--color-primary);
  margin: 0;
  text-shadow: 0 2px 10px rgba(255, 0, 127, 0.2);
  text-decoration: none;
  font-weight: bold;
}

.navbar-right {
  display: flex;
  align-items: center;
}

.btn {
  background-color: #ff66b2;
  color: #fff;
  border: none;
  padding: 10px 20px;
  margin-left: 10px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1em;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #ff3380;
}

#dashboard-icon {
  font-size: 2em;
  color: #ff66b2;
  margin-right: 10px;
  transition: transform 0.2s ease, color 0.3s ease;
  display: flex;
  align-items: center;
}

#dashboard-icon:hover {
  transform: scale(1.1);
  color: #ff3380;
}

a {
  text-decoration: none;
  color: inherit;
}

input,
button {
  font-family: 'Fjalla One', sans-serif;
}

/* Hero Section */
.hero-section {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 60px 5%;
  background-color: transparent; /* Removed solid pink */
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 50%;
  padding-right: 40px;
  /* Optional: Add a subtle glass panel behind text if contrast is low, 
     but request says 'Liquid Mesh Gradient under the whole Hero section', 
     so we keep it clean. */
}

.hero-content h1 {
  font-size: 3.5em; /* Larger */
  font-weight: 700;
  line-height: 1.1;
  color: #333; /* Darker for contrast */
  background: linear-gradient(45deg, #333, #666);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5em;
}

.hero-tagline {
  font-size: 1.4em;
  color: #444; /* Darker grey */
  margin-bottom: 2em;
  font-weight: 300;
}

/* Glossy Button Style Override */
.cta-button-large {
  background: linear-gradient(135deg, #FF007f 0%, #ff66b2 100%);
  color: #fff;
  border: none;
  padding: 20px 40px;
  border-radius: 50px;
  font-size: 1.5em;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  position: relative;
  overflow: hidden;
  display: inline-block;
  
  box-shadow: 0 4px 15px rgba(255, 0, 127, 0.3);
  transition: all 0.3s ease;
  font-family: var(--font-main);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cta-button-large:active {
  transform: translateY(2px);
  box-shadow: 0 2px 10px rgba(255, 0, 127, 0.4);
}

.cta-button-large:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 0, 127, 0.5);
  filter: brightness(1.1);
}

.cta-button-large::before {
  display: none;
}

.hero-image {
  max-width: 50%;
  text-align: center;
  position: relative;
}

.hero-image-stack {
  position: relative;
  width: 100%;
  max-width: 650px;
  margin: 0 auto;
}

.hero-img-back {
  display: block;
  width: 85%;
  margin-left: auto; /* Align to right */
  border-radius: 24px;
  border: 4px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  animation: float-img 6s ease-in-out infinite;
  z-index: 1;
  position: relative;
}

.hero-img-front {
  position: absolute;
  bottom: -60px; /* Moved down */
  left: -40px; /* Moved left */
  width: 55%; /* Slightly smaller to cover less */
  border-radius: 24px;
  border: 4px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
  animation: float-img-reverse 7s ease-in-out infinite;
  z-index: 2;
}

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

@keyframes float-img-reverse {
  0% { transform: translateY(0px); }
  50% { transform: translateY(15px); } /* Move down instead of up */
  100% { transform: translateY(0px); }
}

/* Main Content */
main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

/* "How It Works" section */
#how-it-works-image {
  display: flex;
  flex-direction: column; /* Stack image and cards vertically */
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 5%;
  position: relative;
  z-index: 1;
}

.box-wrapper {
  width: 100%;
  max-width: 100%;
  margin-right: 0;
  text-align: center;
  margin-bottom: 40px;
}

.section-title {
  text-transform: uppercase;
  font-size: 2.5em;
  text-align: center; /* Center title */
  margin-bottom: 40px;
  color: var(--color-primary-dark);
  text-shadow: 0 2px 10px rgba(255, 255, 255, 0.5);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 columns side by side */
  gap: 30px;
  width: 100%;
}

.step-card {
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center; /* Center content in card */
  text-align: center;
  transition: transform 0.3s ease, background 0.3s;
  height: 100%;
}

.step-card:hover {
  transform: translateY(-10px); /* Move up */
  background: rgba(255, 255, 255, 0.4);
}

.step-number {
  background: linear-gradient(135deg, var(--color-primary), #ff99cc);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  font-size: 1.4em;
  margin-bottom: 20px;
  box-shadow: 0 5px 15px rgba(255, 0, 127, 0.3);
}

.step-card h3 {
  font-size: 1.4em;
  margin-bottom: 10px;
  color: #333;
}

.step-card p {
  font-size: 1em;
  color: #555;
  line-height: 1.6;
}

/* Responsive for How It Works */
@media (max-width: 768px) {
  #how-it-works-image {
    padding: 40px 16px !important;
  }
  
  .section-title {
    font-size: 1.8em !important;
    margin-bottom: 30px !important;
  }

  .steps-grid {
    grid-template-columns: 1fr; /* Stack on mobile */
    gap: 15px !important;
  }
  
  .step-card {
    flex-direction: row !important;
    align-items: center !important;
    text-align: left !important;
    padding: 20px !important;
    gap: 20px;
  }
  
  .step-number {
    margin-bottom: 0 !important;
    flex-shrink: 0;
    width: 40px !important;
    height: 40px !important;
    font-size: 1.2em !important;
  }
  
  .step-card h3 {
    font-size: 1.1em !important;
    margin-bottom: 5px !important;
  }
  
  .step-card p {
    font-size: 0.85em !important;
    line-height: 1.4 !important;
  }
}

/* Benefits Section */
#benefits-section {
  padding: 80px 5%;
  background-color: transparent; /* Removed solid background */
  width: 100%;
  position: relative;
  z-index: 1;
}

.section-subtitle {
  text-align: center;
  font-size: 2.5em;
  color: var(--color-primary-dark);
  margin-bottom: 1.5em;
  text-shadow: 0 2px 15px rgba(255,255,255,0.5);
}

.benefits-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.benefit-item {
  padding: 40px 30px;
  text-align: center;
  transition: all 0.4s ease;
  height: 100%;
}

@media (max-width: 768px) {
  .benefits-carousel-container {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 20px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Hide scrollbar Firefox */
  }
  
  .benefits-carousel-container::-webkit-scrollbar {
    display: none; /* Hide scrollbar Chrome/Safari */
  }

  .benefits-container {
    display: flex !important;
    grid-template-columns: none !important;
    gap: 16px !important;
    padding: 0 16px !important;
    width: max-content;
  }

  .benefit-item {
    width: 280px;
    flex-shrink: 0;
    padding: 24px 20px !important;
  }
  
  .benefit-item h3 {
    font-size: 1.2em !important;
  }
  
  .benefit-item p {
    font-size: 0.9em !important;
  }
  
  .icon-glow {
    padding: 15px !important;
    margin-bottom: 15px !important;
  }
}

.benefit-item:hover {
  transform: scale(1.05) translateY(-10px);
  border-color: rgba(255, 102, 178, 0.5);
  box-shadow: 0 15px 40px rgba(255, 0, 127, 0.15);
}

.icon-glow {
  display: inline-block;
  margin-bottom: 20px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
  animation: float-img 5s ease-in-out infinite; /* Floating animation added */
}

.benefit-item:nth-child(2) .icon-glow {
  animation-delay: 1s;
}

.benefit-item:nth-child(3) .icon-glow {
  animation-delay: 2s;
}

.benefit-item i {
  font-size: 2.5em;
  background: linear-gradient(45deg, #ff3380, #ffcc00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  /* Fallback color */
  color: #ff3380; 
}

.benefit-item h3 {
  font-size: 1.4em;
  margin-bottom: 15px;
  color: #333;
}

.benefit-item p {
  font-size: 1em;
  color: #555;
  line-height: 1.6;
}

/* Testimonials Section */
.testimonials-section {
  padding: 40px 5%;
  background-color: #fff;
  width: 100%;
  text-align: center;
}

.testimonials-section h2 {
  font-size: 2em;
  color: #ff66b2;
  margin-bottom: 1em;
}

.testimonial {
  max-width: 800px;
  margin: 0.5em auto;
  background: #ffe6f2;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.1);
}

.testimonial-quote {
  font-size: 1.1em;
  font-style: italic;
  margin-bottom: 0.5em;
}

.testimonial-author {
  font-weight: bold;
  color: #333;
}

.secondary-links {
  margin-top: 1em;
}

.secondary-links a {
  color: #ff3380;
  margin: 0 10px;
  font-weight: bold;
}

.secondary-links a:hover {
  text-decoration: underline;
}

/* User Proof (Avatars) */
.user-proof {
  display: flex;
  align-items: center;
  justify-content: flex-start; /* Align left with other hero content */
  margin-top: 15px;
  gap: 10px;
}

.avatars {
  display: flex;
}

.avatar-circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid white;
  margin-right: -10px;
  display: inline-block;
  background-size: cover;
}

.user-proof p {
  margin-left: 15px;
  font-size: 0.9em;
  color: #555;
}

/* Auth Button in Navbar */
.btn-auth-glass {
  background: linear-gradient(135deg, #FF007f 0%, #ff66b2 100%);
  color: #fff;
  border: none;
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 1em;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(255, 0, 127, 0.3);
  transition: all 0.3s ease;
  font-family: var(--font-main);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-auth-glass:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 0, 127, 0.5);
  filter: brightness(1.1);
}

/* TikTok Section */
.tiktok-section {
  max-width: 1100px; /* Wider container */
  margin: 40px auto; /* Reduced margin */
  padding: 40px 50px; /* Reduced vertical padding */
}

.tiktok-section .tiktok-title {
  text-align: center;
  margin-bottom: 30px;
}

.tiktok-content-wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.tiktok-embed-container {
  flex: 1;
  display: flex;
  justify-content: center;
  border-radius: 24px;
  overflow: hidden;
  /* Optional: Glass frame for video */
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  aspect-ratio: 9/16;
  max-width: 350px;
  margin: 0 auto;
}

.tiktok-embed-container blockquote {
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
}

@media (max-width: 768px) {
  .tiktok-section {
    padding: 30px 16px !important;
    margin: 20px 16px !important;
  }
  
  .tiktok-title {
    font-size: 1.8em !important;
    margin-bottom: 20px !important;
  }
  
  .tiktok-content-wrapper {
    flex-direction: column !important;
    gap: 20px !important;
  }
  
  .tiktok-text-content {
    text-align: center !important;
  }
  
  .tiktok-desc {
    font-size: 1em !important;
    margin-bottom: 15px !important;
  }
  
  .secondary-links {
    text-align: center !important;
  }
}

.tiktok-text-content {
  flex: 1;
  text-align: left;
}

.tiktok-title {
  text-align: left;
  margin-bottom: 20px;
  font-size: 2.8em;
  line-height: 1.2;
}

.tiktok-desc {
  font-size: 1.2em;
  color: #555;
  margin-bottom: 30px;
  line-height: 1.6;
}

.tiktok-cta {
  font-size: 1.1em;
  padding: 15px 30px; /* Smaller than main hero button */
}

.tiktok-embed-container {
  flex: 1;
  display: flex;
  justify-content: center;
  border-radius: 24px;
  overflow: hidden;
  /* Optional: Glass frame for video */
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Responsive TikTok */
@media (max-width: 900px) {
  .tiktok-section {
     padding: 20px 20px; /* Even smaller on mobile */
  }

  .tiktok-content-wrapper {
    flex-direction: column; /* Stack on mobile/tablet */
    text-align: center;
  }

  .tiktok-text-content {
    text-align: center;
    margin-bottom: 30px;
  }

  .tiktok-title {
    text-align: center;
  }
}

/* Footer */
footer.site-footer {
  background: rgba(20, 20, 20, 0.85); /* Dark matte glass */
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  font-size: 0.9em;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 40px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: auto;
}

.footer-links {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  justify-content: center;
}

.footer-links p {
  margin: 0;
  font-weight: 600;
  color: #fff;
}

.social-icon {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.8em;
  transition: all 0.3s ease;
}

.social-icon:hover {
  color: var(--color-primary);
  transform: scale(1.1);
  text-shadow: 0 0 10px var(--color-primary);
}

.policy-links {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

.policy-btn {
  background-color: transparent;
  color: rgba(255, 255, 255, 0.6);
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 25px;
  text-decoration: none;
  font-size: 0.85em;
  transition: all 0.3s ease;
}

.policy-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: #fff;
  transform: translateY(-2px);
}

.copyright {
  font-size: 0.8em;
  opacity: 0.5;
  margin-top: 20px;
}

/* Modals */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.4); /* Light overlay */
  backdrop-filter: blur(5px);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: rgba(255, 255, 255, 0.65); /* Light Glass background */
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 8px 32px rgba(255, 0, 127, 0.15); /* Soft pinkish shadow */
  padding: 40px;
  border-radius: 24px;
  text-align: center;
  max-width: 500px;
  width: 90%;
  position: relative;
}

/* Remove old pseudo-elements for spin effect */
.modal-content::after,
.modal-content::before {
  display: none;
}

.close {
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 1.5em;
  color: #333; /* Darker close icon */
  cursor: pointer;
  transition: color 0.3s ease;
  background: rgba(255,255,255,0.5);
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close:hover {
  color: #ff3380;
  background: rgba(255,255,255,0.8);
}

/* Login/Register fields */
.login__field {
  position: relative;
  margin-bottom: 20px;
}

.login__input {
  width: 100%;
  padding: 15px 15px 15px 50px; /* Left padding for icon */
  margin: 0; /* Remove default margin */
  border-radius: 12px;
  border: 1px solid rgba(200, 200, 200, 0.3);
  font-size: 1em;
  color: #333;
  background: rgba(255, 255, 255, 0.6); /* Semi-transparent white */
  transition: all 0.3s ease;
  height: 50px;
  font-family: var(--font-main);
}

.login__input::placeholder {
  color: #555;
}

.login__input:focus {
  border-color: #ff66b2;
  outline: none;
  background: #ffffff; /* Full white on focus */
  box-shadow: 0 0 10px rgba(255, 102, 178, 0.2);
}

.login__icon {
  position: absolute;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  color: #ff66b2;
  font-size: 1.1em;
  z-index: 10;
}

.button.login__submit {
  background: linear-gradient(135deg, #FF007f 0%, #ff66b2 100%);
  color: white;
  padding: 15px;
  border: none;
  border-radius: 50px;
  font-size: 1.1em;
  font-weight: 700; /* Bold */
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  margin-top: 10px;
  box-shadow: 0 4px 15px rgba(255, 0, 127, 0.3);
  font-family: var(--font-main);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.button.login__submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 0, 127, 0.4);
  filter: brightness(1.1);
}

.button__icon {
  font-size: 0.9em;
}

/* Auth Switcher Text */
.auth-switch-text {
  margin-top: 20px;
  font-size: 0.9em;
  color: #333;
}

.auth-switch-text a {
  color: #ff007f;
  font-weight: bold;
  text-decoration: none;
}

.auth-switch-text a:hover {
  text-decoration: underline;
}

/* Hide old screen background elements */
.screen__background {
  display: none;
}


/* Floating hearts */
.heart {
  position: absolute;
  bottom: -50px;
  width: 15px;
  height: 15px;
  background-color: #ff66b2;
  animation: float 10s infinite ease-in-out;
  opacity: 0.8;
  z-index: -1;
}

.heart::before,
.heart::after {
  content: '';
  position: absolute;
  background-color: #ff66b2;
  width: 15px;
  height: 15px;
  border-radius: 50%;
}

.heart::before {
  top: -7.5px;
  left: 0;
}

.heart::after {
  left: 7.5px;
  top: 0;
}

@keyframes float {
  0% {
    transform: translateX(0) translateY(0) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateX(-200px) translateY(-1000px) rotate(360deg);
    opacity: 0;
  }
}

/* NOVÉ: Styly pro textové odkazy v navigaci */
.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-links a {
  color: #ff66b2;
  font-weight: bold;
  font-size: 1.1em;
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #ff3380;
  text-decoration: underline;
}

/* NOVÉ: Styly pro pulzující animaci */
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.03);
  }
  100% {
    transform: scale(1);
  }
}


/* NOVÉ: Styly pro Social Proof ("As seen on TikTok") */
.social-proof {
  margin-top: 20px;
  font-size: 1.1em;
  color: #555;
  display: flex;
  align-items: center;
  justify-content: center; /* Na mobilu se vycentruje */
}

.social-proof i {
  color: #ff3380;
  font-size: 1.3em;
  margin-right: 8px;
}

/* BROWSE IDEAS PAGE SPECIFIC STYLES */

.browse-hero-content {
  text-align: center;
  margin: 0 auto;
  max-width: 800px;
  padding: 0 20px;
}

/* Use a light glass background for hero text if needed, 
   but centered text on liquid background usually looks good. 
   We can add a subtle backing if contrast is poor. 
*/
.browse-hero-glass {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  padding: 40px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}


.ideas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.idea-card {
  /* Glassmorphism base matching user request */
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 20px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  
  padding: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden; 
  display: flex;
  flex-direction: column;
}

.idea-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15); /* Enhanced shadow */
}

.idea-card img {
  border-radius: 16px;
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 15px;
}

.idea-card h3 {
  color: #FF007f;
  font-weight: 700;
  margin-bottom: 10px;
  font-size: 1.3em;
}

.idea-card p {
  color: #333;
  font-size: 0.95em;
  line-height: 1.5;
}

/* Responsive adjustments */
  .hero-mobile-image {
  display: none;
}

@media (max-width: 768px) {
  /* Global mobile adjustments */
  input, button, .cta-button-large, .btn-auth-glass {
    min-height: 44px;
  }

  .desktop-only {
    display: none !important;
  }
  
  .hero-mobile-image {
    display: block;
    width: 100%;
    max-width: 280px;
    margin: 10px auto 20px;
  }
  
  .mobile-only-hero-img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  }

  .nav-links {
    margin-top: 10px;
    width: 100%;
    justify-content: center; /* Vycentruje odkazy na mobilu */
  }

  .cta-button-large {
    font-size: 1.2em;
    padding: 15px 30px;
    width: calc(100% - 32px);
    margin: 0 16px;
  }
  
  .cta-subtitle {
    font-size: 0.6em !important;
    display: block;
    margin-top: 4px;
    text-transform: none;
    opacity: 0.9;
  }
  
  .social-proof {
    justify-content: center; /* V hero-content je text-align center, takže se to zarovná */
  }

  /* nav styles moved up to maintain consistency */

  .navbar-left h1 {
    font-size: 1.5em;
  }

  .navbar-right {
    flex-direction: column;
    margin-top: 10px;
  }

  .btn {
    width: 100%;
    margin: 5px 0;
  }

  #dashboard-icon {
    font-size: 1.5em;
    margin-bottom: 10px;
  }

  .hero-section {
    flex-direction: column;
    padding: 20px 16px;
  }

  .hero-content,
  .hero-image {
    max-width: 100%;
    padding: 0;
  }

  .hero-content {
    text-align: center;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-content h1 {
    font-size: 2.2em; /* 32px-36px range */
    line-height: 1.2;
    max-width: 90%;
  }

  .hero-tagline {
    font-size: 1.1em;
    opacity: 0.8;
    margin-bottom: 1.5em;
  }
  
  .hero-image {
    order: -1; /* Move image above text if needed, but user suggested between headline and CTA */
    margin-bottom: 20px;
  }
  
  .hero-img-back {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
  
  .hero-img-front {
    display: none; /* Hide front image on mobile to simplify */
  }
  
  /* Ideas Grid Mobile */
  .ideas-grid {
    grid-template-columns: 1fr;
  }
  
  .browse-hero-content {
    max-width: 100%;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .ideas-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
