/* =============================================
   SHINY PEBBLES — Global Styles
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&family=Lora:ital,wght@0,400;0,500;1,400;1,500&display=swap');

:root {
  --slate:      #4A4E54;
  --sky:        #80E0FF;
  --candy:      #FFB6C1;
  --white:      #FFFFFF;
  --ether:      #E6F9FF;
  --ether-mid:  #cff1fd;
  --sky-glow:   rgba(128, 224, 255, 0.35);
  --candy-glow: rgba(255, 182, 193, 0.35);
  --text-body:  #5a5f66;
  --text-soft:  #8a9099;
  --radius-lg:  24px;
  --radius-xl:  40px;
  --shadow-soft: 0 8px 40px rgba(74, 78, 84, 0.10);
  --shadow-pebble: 0 4px 24px rgba(128, 224, 255, 0.25);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Nunito', sans-serif;
  background: var(--ether);
  color: var(--slate);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── Shared Nav ── */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(230, 249, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(128, 224, 255, 0.2);
}

nav .nav-logo img {
  height: 36px;
  display: block;
}

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

nav ul a {
  text-decoration: none;
  color: var(--slate);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: color 0.2s;
}

nav ul a:hover,
nav ul a.active {
  color: #5ec8f0;
}

/* ── Footer ── */
footer {
  background: var(--slate);
  color: rgba(255,255,255,0.6);
  text-align: center;
  padding: 40px 24px;
  font-size: 0.875rem;
}

footer a {
  color: var(--sky);
  text-decoration: none;
  font-weight: 700;
}

footer a:hover {
  text-decoration: underline;
}

footer .footer-links {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

footer .footer-logo {
  height: 30px;
  margin-bottom: 20px;
  opacity: 0.85;
}

/* ── Shared floating pebble decorations ── */
.pebble {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.pebble-sky {
  background: radial-gradient(circle at 35% 35%, #b8eeff, var(--sky) 60%, #4ac8f0);
  box-shadow: 0 0 20px rgba(128,224,255,0.5), inset 0 -4px 8px rgba(255,255,255,0.3);
}

.pebble-candy {
  background: radial-gradient(circle at 35% 35%, #ffd6e0, var(--candy) 60%, #f090a8);
  box-shadow: 0 0 20px rgba(255,182,193,0.5), inset 0 -4px 8px rgba(255,255,255,0.3);
}

/* Sparkle */
.sparkle {
  position: absolute;
  width: 14px;
  height: 14px;
  pointer-events: none;
}

.sparkle::before,
.sparkle::after {
  content: '';
  position: absolute;
  background: white;
  border-radius: 2px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.sparkle::before {
  width: 2px;
  height: 100%;
}

.sparkle::after {
  width: 100%;
  height: 2px;
}

/* ── Pill / badge ── */
.pill {
  display: inline-block;
  background: white;
  border: 2px solid var(--ether-mid);
  border-radius: 999px;
  padding: 6px 18px;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--text-soft);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

/* ── Download buttons ── */
.store-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.store-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  transition: transform 0.2s, box-shadow 0.2s;
  border: none;
  cursor: pointer;
}

.store-btn:hover {
  transform: translateY(-2px);
}

.store-btn.apple {
  background: var(--slate);
  color: white;
  box-shadow: 0 6px 24px rgba(74,78,84,0.25);
}

.store-btn.apple:hover {
  box-shadow: 0 10px 32px rgba(74,78,84,0.35);
}

.store-btn.google {
  background: white;
  color: var(--slate);
  border: 2px solid var(--ether-mid);
  box-shadow: 0 4px 16px rgba(128,224,255,0.15);
  opacity: 0.7;
  cursor: default;
  position: relative;
}

.store-btn.google .coming-soon-tag {
  position: absolute;
  top: -10px;
  right: -6px;
  background: var(--candy);
  color: var(--slate);
  font-size: 0.65rem;
  font-weight: 900;
  padding: 2px 8px;
  border-radius: 999px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(255,182,193,0.4);
}

.store-btn svg {
  flex-shrink: 0;
}

/* ── Page hero section (inner pages) ── */
.page-hero {
  background: linear-gradient(160deg, var(--ether) 0%, #d8f4ff 100%);
  padding: 80px 24px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  color: var(--slate);
  line-height: 1.15;
}

.page-hero p {
  font-family: 'Lora', serif;
  font-style: italic;
  color: var(--text-soft);
  margin-top: 12px;
  font-size: 1.1rem;
}

/* ── Section container ── */
.container {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Ripple underline ── */
.ripple-line {
  display: block;
  width: 80px;
  margin: 16px auto 0;
  height: 8px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='8'%3E%3Cellipse cx='40' cy='5' rx='36' ry='2.5' fill='none' stroke='%2380E0FF' stroke-width='1.5' stroke-opacity='0.7'/%3E%3Cellipse cx='40' cy='7' rx='26' ry='1.5' fill='none' stroke='%2380E0FF' stroke-width='1' stroke-opacity='0.4'/%3E%3C/svg%3E") no-repeat center;
}

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

@keyframes floatSlow {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50%       { transform: translateY(-16px) rotate(5deg); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes shimmer {
  0%   { opacity: 0.6; transform: scale(1); }
  50%  { opacity: 1;   transform: scale(1.15); }
  100% { opacity: 0.6; transform: scale(1); }
}

/* ── Responsive nav ── */
@media (max-width: 600px) {
  nav {
    padding: 16px 20px;
  }
  nav ul {
    gap: 18px;
  }
  nav ul a {
    font-size: 0.85rem;
  }
}
