/* =========================================================
   CLAYMORPHISM DESIGN SYSTEM - VIBE CALL / RANDOM CALL
   ========================================================= */

:root {
  --bg-start: #F0E6FF;
  --bg-end: #E6F3FF;
  --lavender: #C4B5FD;
  --lavender-dark: #8B5CF6;
  --peach: #FECACA;
  --sky-blue: #BAE6FD;
  --sky-blue-dark: #0284C7;
  --mint: #A7F3D0;
  --mint-dark: #059669;
  --yellow: #FDE68A;
  --yellow-dark: #D97706;
  --deep-purple: #7C3AED;
  --deep-purple-glow: rgba(124, 58, 237, 0.35);
  --coral-red: #F87171;
  --dark-slate: #1E1B4B;
  --text-muted: #6B7280;
  --text-dark: #1E1B4B;
  --card-surface: rgba(255, 255, 255, 0.88);
  --border-white: rgba(255, 255, 255, 0.95);
  --glass-nav: rgba(255, 255, 255, 0.75);
  
  /* Clay 3D Shadows */
  --clay-card-shadow: 
    14px 14px 30px rgba(124, 58, 237, 0.09),
    -10px -10px 26px rgba(255, 255, 255, 0.95),
    inset 2px 2px 4px rgba(255, 255, 255, 0.9),
    inset -2px -2px 4px rgba(124, 58, 237, 0.04);

  --clay-blob-shadow:
    10px 10px 22px rgba(124, 58, 237, 0.14),
    -8px -8px 20px rgba(255, 255, 255, 0.95),
    inset 3px 3px 6px rgba(255, 255, 255, 0.8),
    inset -3px -3px 6px rgba(0, 0, 0, 0.05);

  --clay-btn-shadow:
    8px 8px 18px rgba(124, 58, 237, 0.22),
    -6px -6px 16px rgba(255, 255, 255, 0.9),
    inset 2px 2px 3px rgba(255, 255, 255, 0.7),
    inset -2px -2px 4px rgba(0, 0, 0, 0.08);

  --clay-btn-active:
    inset 4px 4px 8px rgba(124, 58, 237, 0.25),
    inset -3px -3px 6px rgba(255, 255, 255, 0.9);

  --radius-lg: 32px;
  --radius-md: 22px;
  --radius-sm: 14px;
  --radius-pill: 999px;
  
  --transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Reset & Base */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', 'Poppins', sans-serif;
  color: var(--text-dark);
}

body {
  background: linear-gradient(135deg, var(--bg-start) 0%, #F5EEFF 50%, var(--bg-end) 100%);
  background-attachment: fixed;
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
}

/* Background floating decorative blobs */
.bg-ambient-blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  z-index: -1;
  pointer-events: none;
  opacity: 0.55;
  animation: floatAmbient 18s ease-in-out infinite alternate;
}

.blob-1 {
  width: 450px;
  height: 450px;
  background: var(--lavender);
  top: -100px;
  left: -100px;
}

.blob-2 {
  width: 500px;
  height: 500px;
  background: var(--sky-blue);
  top: 40%;
  right: -150px;
  animation-duration: 22s;
}

.blob-3 {
  width: 400px;
  height: 400px;
  background: var(--peach);
  bottom: 5%;
  left: 10%;
  animation-duration: 20s;
}

@keyframes floatAmbient {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, 40px) scale(1.1); }
  100% { transform: translate(-40px, 80px) scale(0.95); }
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4 {
  color: var(--dark-slate);
  font-weight: 800;
  letter-spacing: -0.02em;
}

p {
  color: var(--text-muted);
}

/* Clay Utilities */
.clay-card {
  background: var(--card-surface);
  border: 2px solid var(--border-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--clay-card-shadow);
  backdrop-filter: blur(16px);
  transition: var(--transition);
}

.clay-card:hover {
  transform: translateY(-6px);
  box-shadow: 
    18px 20px 38px rgba(124, 58, 237, 0.14),
    -12px -12px 30px rgba(255, 255, 255, 1),
    inset 2px 2px 4px rgba(255, 255, 255, 0.9);
}

.clay-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid var(--border-white);
  box-shadow: var(--clay-btn-shadow);
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

.clay-btn:hover {
  transform: translateY(-3px) scale(1.03);
}

.clay-btn:active {
  transform: translateY(2px) scale(0.98);
  box-shadow: var(--clay-btn-active);
}

.clay-btn-primary {
  background: linear-gradient(135deg, var(--lavender) 0%, var(--peach) 100%);
  color: var(--dark-slate);
}

.clay-btn-purple {
  background: linear-gradient(135deg, #8B5CF6 0%, var(--deep-purple) 100%);
  color: #FFFFFF;
  box-shadow: 0 10px 24px rgba(124, 58, 237, 0.35), inset 2px 2px 4px rgba(255, 255, 255, 0.4);
}

.clay-btn-purple:hover {
  box-shadow: 0 14px 30px rgba(124, 58, 237, 0.45);
}

.clay-btn-white {
  background: #FFFFFF;
  color: var(--dark-slate);
}

.clay-blob-icon {
  width: 64px;
  height: 64px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  border: 2px solid var(--border-white);
  box-shadow: var(--clay-blob-shadow);
  margin-bottom: 20px;
}

/* Badge */
.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.9);
  border: 1.5px solid var(--border-white);
  border-radius: var(--radius-pill);
  box-shadow: 4px 4px 12px rgba(124, 58, 237, 0.08);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--deep-purple);
  margin-bottom: 20px;
}

.pill-dot {
  width: 8px;
  height: 8px;
  background: #10B981;
  border-radius: 50%;
  box-shadow: 0 0 10px #10B981;
  animation: pulseDot 1.8s infinite;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.7; }
}

/* =========================================================
   NAVBAR
   ========================================================= */
.navbar-wrapper {
  position: fixed;
  top: 20px;
  left: 0;
  width: 100%;
  z-index: 100;
  display: flex;
  justify-content: center;
  padding: 0 20px;
}

.navbar {
  width: 100%;
  max-width: 1100px;
  background: var(--glass-nav);
  backdrop-filter: blur(20px);
  border: 2px solid var(--border-white);
  border-radius: var(--radius-pill);
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 10px 30px rgba(124, 58, 237, 0.08);
  transition: var(--transition);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-icon-box {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--lavender), var(--peach));
  border-radius: 14px;
  border: 2px solid var(--border-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: var(--clay-blob-shadow);
}

.brand-text {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--dark-slate);
}

.brand-text span {
  color: var(--deep-purple);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: color 0.2s;
  position: relative;
}

.nav-links a:hover {
  color: var(--deep-purple);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--dark-slate);
  cursor: pointer;
}

/* =========================================================
   HERO SECTION
   ========================================================= */
.hero-section {
  padding-top: 150px;
  padding-bottom: 90px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
}

.hero-content h1 {
  font-size: 3.4rem;
  line-height: 1.15;
  margin-bottom: 22px;
}

.hero-content h1 .gradient-text {
  background: linear-gradient(135deg, var(--deep-purple) 0%, #EC4899 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.18rem;
  margin-bottom: 34px;
  max-width: 520px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.play-store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--dark-slate);
  color: #fff;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(30, 27, 75, 0.25);
  transition: var(--transition);
}

.play-store-badge:hover {
  transform: translateY(-3px) scale(1.03);
}

.play-store-badge svg {
  width: 28px;
  height: 28px;
}

.play-store-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.play-store-text .small {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.8;
}

.play-store-text .bold {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.1;
}

.hero-stats {
  display: flex;
  gap: 32px;
  padding-top: 24px;
  border-top: 1.5px solid rgba(124, 58, 237, 0.1);
}

.stat-item h3 {
  font-size: 1.6rem;
  color: var(--deep-purple);
  margin-bottom: 2px;
}

.stat-item p {
  font-size: 0.88rem;
  font-weight: 600;
}

/* Phone Mockup 3D Clay */
.hero-mockup-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone-mockup-container {
  width: 300px;
  height: 600px;
  background: #FFFFFF;
  border: 8px solid #FFFFFF;
  border-radius: 46px;
  box-shadow: 
    20px 25px 50px rgba(124, 58, 237, 0.2),
    -12px -12px 35px rgba(255, 255, 255, 0.9),
    inset 0 0 4px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  position: relative;
  transition: var(--transition);
  transform: rotate(-3deg);
}

.phone-mockup-container:hover {
  transform: rotate(0deg) scale(1.02);
}

.phone-mockup-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.phone-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 20px;
  background: var(--dark-slate);
  border-radius: 12px;
  z-index: 10;
}

/* Floating Badges around mockup */
.float-pill-card {
  position: absolute;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.92);
  border: 2px solid var(--border-white);
  border-radius: var(--radius-md);
  box-shadow: var(--clay-card-shadow);
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--dark-slate);
  z-index: 15;
  animation: floatCard 6s ease-in-out infinite alternate;
}

.badge-top-left {
  top: 12%;
  left: -20px;
}

.badge-bottom-right {
  bottom: 15%;
  right: -25px;
  animation-delay: -3s;
}

@keyframes floatCard {
  0% { transform: translateY(0); }
  100% { transform: translateY(-12px); }
}

/* =========================================================
   SECTION HEADERS
   ========================================================= */
.section {
  padding: 90px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 60px;
}

.section-header h2 {
  font-size: 2.6rem;
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.12rem;
}

/* =========================================================
   FEATURES GRID (SECTION 2)
   ========================================================= */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-card {
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.feature-card h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 0.98rem;
  line-height: 1.65;
}

.icon-lavender { background: linear-gradient(135deg, var(--lavender), #DDD6FE); color: var(--deep-purple); }
.icon-sky { background: linear-gradient(135deg, var(--sky-blue), #E0F2FE); color: var(--sky-blue-dark); }
.icon-peach { background: linear-gradient(135deg, var(--peach), #FFE4E6); color: #E11D48; }
.icon-mint { background: linear-gradient(135deg, var(--mint), #D1FAE5); color: var(--mint-dark); }
.icon-yellow { background: linear-gradient(135deg, var(--yellow), #FEF3C7); color: var(--yellow-dark); }
.icon-purple { background: linear-gradient(135deg, #DDD6FE, var(--lavender)); color: var(--deep-purple); }

/* =========================================================
   HOW IT WORKS (SECTION 3)
   ========================================================= */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  position: relative;
}

.step-card {
  padding: 40px 30px;
  text-align: center;
  position: relative;
}

.step-number-badge {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--deep-purple), #9333EA);
  color: #fff;
  border-radius: 50%;
  font-weight: 800;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #fff;
  box-shadow: 0 6px 16px rgba(124, 58, 237, 0.35);
}

.step-card .clay-blob-icon {
  margin: 15px auto 24px;
}

.step-card h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

/* =========================================================
   GALLERY / SCREENSHOTS (SECTION 4)
   ========================================================= */
.screenshots-wrapper {
  display: flex;
  gap: 26px;
  overflow-x: auto;
  padding: 20px 10px 40px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.screenshots-wrapper::-webkit-scrollbar {
  height: 8px;
}

.screenshots-wrapper::-webkit-scrollbar-thumb {
  background: var(--lavender);
  border-radius: 10px;
}

.screen-card-item {
  flex: 0 0 260px;
  height: 520px;
  scroll-snap-align: start;
  border-radius: 36px;
  overflow: hidden;
  border: 6px solid #FFFFFF;
  box-shadow: var(--clay-card-shadow);
  transition: var(--transition);
  position: relative;
}

.screen-card-item:hover {
  transform: translateY(-8px) scale(1.03);
}

.screen-card-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.screen-label {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: rgba(30, 27, 75, 0.85);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 700;
  text-align: center;
}

/* =========================================================
   SAFETY & COMMUNITY (SECTION 5)
   ========================================================= */
.safety-box {
  padding: 50px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.safety-points {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 24px;
}

.safety-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.safety-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--mint);
  color: var(--mint-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  border: 2px solid var(--border-white);
  box-shadow: var(--clay-blob-shadow);
}

.safety-item h4 {
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.safety-item p {
  font-size: 0.92rem;
}

.safety-visual {
  background: linear-gradient(135deg, #FAF5FF 0%, #EFF6FF 100%);
  border-radius: 28px;
  padding: 36px;
  border: 2px solid var(--border-white);
  box-shadow: var(--clay-card-shadow);
  text-align: center;
}

.safety-visual .big-shield {
  font-size: 4rem;
  margin-bottom: 18px;
  display: inline-block;
  animation: floatCard 4s ease-in-out infinite alternate;
}

/* =========================================================
   FAQ (SECTION 6)
   ========================================================= */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.faq-item {
  overflow: hidden;
  cursor: pointer;
}

.faq-question {
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark-slate);
}

.faq-toggle-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--lavender);
  color: var(--deep-purple);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: transform 0.3s;
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(45deg);
  background: var(--coral-red);
  color: #fff;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.3s ease;
  padding: 0 28px;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding-bottom: 24px;
}

.faq-answer p {
  font-size: 0.98rem;
  line-height: 1.7;
}

/* =========================================================
   PRIVACY POLICY IN-PAGE SECTION & MODAL (SECTION 7)
   ========================================================= */
.privacy-container {
  padding: 50px;
  margin-top: 30px;
}

.privacy-content {
  color: #374151;
  font-size: 0.98rem;
  line-height: 1.8;
}

.privacy-content h3 {
  font-size: 1.4rem;
  margin: 28px 0 12px;
  color: var(--dark-slate);
  display: flex;
  align-items: center;
  gap: 10px;
}

.privacy-content p, .privacy-content ul {
  margin-bottom: 16px;
}

.privacy-content ul {
  padding-left: 24px;
}

.privacy-content li {
  margin-bottom: 8px;
}

.privacy-highlight-box {
  background: rgba(124, 58, 237, 0.05);
  border-left: 4px solid var(--deep-purple);
  padding: 18px 22px;
  border-radius: 12px;
  margin: 20px 0;
}

/* =========================================================
   FOOTER (SECTION 8)
   ========================================================= */
.footer {
  margin-top: 80px;
  padding: 70px 0 30px;
  background: rgba(255, 255, 255, 0.8);
  border-top: 2px solid var(--border-white);
  backdrop-filter: blur(20px);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand p {
  margin: 16px 0 24px;
  max-width: 320px;
  font-size: 0.95rem;
}

.footer-col h4 {
  font-size: 1.15rem;
  margin-bottom: 20px;
  color: var(--dark-slate);
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 600;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--deep-purple);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* =========================================================
   RESPONSIVE DESIGN
   ========================================================= */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 60px;
  }
  
  .hero-description {
    margin: 0 auto 34px;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-stats {
    justify-content: center;
  }
  
  .features-grid, .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .safety-box {
    grid-template-columns: 1fr;
    padding: 36px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions .clay-btn {
    display: none;
  }
  
  .mobile-toggle {
    display: block;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .features-grid, .steps-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .privacy-container {
    padding: 24px;
  }
}
