/* ============================================
   TinyTell — Landing Page Styles
   Brand: Modern Nursery
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* ── CSS Custom Properties ── */
:root {
  --cream: #FFFDF8;
  --pink-bg: #FFF0F5;
  --soft-pink: #FFB6C1;
  --pink-accent: #F8A4B8;
  --pink-dark: #E8899E;
  --slate: #475569;
  --slate-light: #64748b;
  --slate-dark: #334155;
  --white: #ffffff;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.08);
  --shadow-glow: 0 0 40px rgba(255, 182, 193, 0.3);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --radius-xl: 40px;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --max-width: 1200px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset & Base ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--slate);
  background: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Typography ── */
h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  color: var(--slate-dark);
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

h3 {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 600;
}

/* ── Animations ── */
@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse-soft {

  0%,
  100% {
    opacity: 0.6;
  }

  50% {
    opacity: 1;
  }
}

@keyframes gradient-shift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--transition), transform 0.8s var(--transition);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}

.nav.scrolled {
  background: rgba(255, 253, 248, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
  padding: 10px 0;
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--slate-dark);
}

.nav-brand img {
  height: 38px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--slate);
  position: relative;
  transition: color var(--transition);
}

.nav-links a:hover {
  color: var(--pink-dark);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--soft-pink);
  border-radius: 2px;
  transition: width var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  background: linear-gradient(135deg, var(--soft-pink), var(--pink-accent));
  color: var(--white) !important;
  padding: 10px 24px;
  border-radius: 100px;
  font-weight: 600 !important;
  transition: transform var(--transition), box-shadow var(--transition) !important;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--slate-dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* ── Hero Section ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  background: linear-gradient(160deg, #FFFDF8 0%, #FFF0F5 40%, #FFE4EC 70%, #FFD6E0 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 182, 193, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulse-soft 6s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 240, 245, 0.4) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulse-soft 8s ease-in-out infinite 2s;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 560px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--pink-dark);
  margin-bottom: 24px;
  border: 1px solid rgba(255, 182, 193, 0.3);
}

.hero-badge span {
  animation: pulse-soft 2s ease-in-out infinite;
}

.hero h1 {
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--slate-dark) 0%, var(--pink-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--slate-light);
  margin-bottom: 36px;
  max-width: 480px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--slate-dark);
  color: var(--white);
  padding: 14px 28px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform var(--transition), box-shadow var(--transition);
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.store-badge:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(51, 65, 85, 0.25);
}

.store-badge svg {
  width: 24px;
  height: 24px;
  fill: var(--white);
}

.store-badge .store-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.store-badge .store-text small {
  font-size: 0.65rem;
  font-weight: 400;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.store-badge .store-text strong {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.2;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-phone {
  position: relative;
  width: 280px;
  animation: float 6s ease-in-out infinite;
}

.phone-frame {
  position: relative;
  width: 100%;
  background: var(--white);
  border-radius: 36px;
  padding: 12px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.04);
}

.phone-screen {
  border-radius: 26px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--cream) 0%, var(--pink-bg) 100%);
  aspect-ratio: 9/19.5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
}

.phone-screen img {
  width: 100px;
  margin-bottom: 16px;
}

.phone-screen .phone-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--slate-dark);
  margin-bottom: 6px;
}

.phone-screen .phone-subtitle {
  font-size: 0.75rem;
  color: var(--slate-light);
  margin-bottom: 20px;
}

.phone-screen .phone-week {
  background: linear-gradient(135deg, var(--soft-pink), var(--pink-accent));
  color: var(--white);
  padding: 10px 24px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 16px;
}

.phone-screen .phone-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.phone-screen .phone-feature-item {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--slate);
  display: flex;
  align-items: center;
  gap: 8px;
  text-align: left;
}

.phone-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(255, 182, 193, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  z-index: -1;
}

/* ── Stats Strip ── */
.stats {
  padding: 48px 0;
  background: var(--white);
  border-top: 1px solid rgba(0, 0, 0, 0.04);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.stats .container {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--soft-pink), var(--pink-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--slate-light);
  margin-top: 4px;
}

/* ── Features ── */
.features {
  padding: 100px 0;
  background: var(--cream);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--pink-dark);
  margin-bottom: 12px;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header p {
  color: var(--slate-light);
  font-size: 1.05rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--soft-pink), var(--pink-accent));
  opacity: 0;
  transition: opacity var(--transition);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: var(--pink-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.feature-card h3 {
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--slate-light);
  font-size: 0.92rem;
  line-height: 1.6;
}

.feature-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  /* Push to bottom if needed */
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 100px;
  background: var(--pink-bg);
  color: var(--pink-dark);
  line-height: 1;
  height: 24px;
  white-space: nowrap;
  align-self: flex-start;
}

.feature-tag.premium {
  background: linear-gradient(135deg, var(--soft-pink), var(--pink-accent));
  color: var(--white);
}

/* ── Premium Section ── */
.premium-section {
  padding: 100px 0;
  background: linear-gradient(160deg, var(--slate-dark) 0%, #1e293b 50%, #0f172a 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.premium-section::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 182, 193, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.premium-section .section-header h2 {
  color: var(--white);
}

.premium-section .section-header p {
  color: rgba(255, 255, 255, 0.6);
}

.premium-section .section-label {
  color: var(--soft-pink);
}

.premium-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.premium-card {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: transform var(--transition), background var(--transition);
}

.premium-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.1);
}

.premium-card .premium-icon {
  font-size: 1.6rem;
  margin-bottom: 14px;
}

.premium-card h3 {
  color: var(--white);
  margin-bottom: 8px;
  font-size: 1.15rem;
}

.premium-card p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ── Privacy-First Section ── */
.privacy-first {
  padding: 100px 0;
  background: var(--pink-bg);
}

.privacy-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.privacy-text h2 {
  margin-bottom: 20px;
}

.privacy-text p {
  color: var(--slate-light);
  font-size: 1.05rem;
  margin-bottom: 28px;
  line-height: 1.8;
}

.privacy-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.privacy-list-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.privacy-list-item .check-icon {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--soft-pink), var(--pink-accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.8rem;
  margin-top: 2px;
}

.privacy-list-item div h4 {
  font-size: 1rem;
  margin-bottom: 2px;
}

.privacy-list-item div p {
  font-size: 0.88rem;
  margin-bottom: 0;
  color: var(--slate-light);
}

.privacy-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.shield-graphic {
  width: 260px;
  height: 300px;
  background: linear-gradient(160deg, var(--white), var(--cream));
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  gap: 16px;
  animation: float 7s ease-in-out infinite;
}

.shield-graphic .shield-icon {
  font-size: 4rem;
}

.shield-graphic h3 {
  color: var(--slate-dark);
  font-size: 1.2rem;
}

.shield-graphic p {
  font-size: 0.85rem;
  color: var(--slate-light);
  text-align: center;
  padding: 0 20px;
}

/* ── CTA Section ── */
.cta {
  padding: 100px 0;
  background: var(--cream);
  text-align: center;
}

.cta-content {
  max-width: 600px;
  margin: 0 auto;
}

.cta h2 {
  margin-bottom: 16px;
}

.cta p {
  color: var(--slate-light);
  font-size: 1.05rem;
  margin-bottom: 36px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ── Footer ── */
.footer {
  padding: 60px 0 32px;
  background: var(--slate-dark);
  color: rgba(255, 255, 255, 0.7);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.footer-brand img {
  height: 36px;
  border-radius: 8px;
}

.footer-brand span {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--white);
}

.footer-about p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.5);
}

.footer-col h4 {
  font-family: var(--font-heading);
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.5);
  padding: 4px 0;
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--soft-pink);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.4);
  transition: color var(--transition);
}

.footer-bottom-links a:hover {
  color: var(--soft-pink);
}

/* ── Policy Pages ── */
.policy-page {
  padding: 120px 0 80px;
  background: var(--cream);
  min-height: 100vh;
}

.policy-header {
  text-align: center;
  margin-bottom: 48px;
}

.policy-header h1 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.policy-header .policy-date {
  color: var(--slate-light);
  font-size: 0.9rem;
}

.policy-content {
  max-width: 800px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.policy-content h2 {
  font-size: 1.5rem;
  margin-top: 36px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--pink-bg);
}

.policy-content h2:first-child {
  margin-top: 0;
}

.policy-content h3 {
  font-size: 1.15rem;
  margin-top: 24px;
  margin-bottom: 10px;
}

.policy-content p {
  margin-bottom: 14px;
  color: var(--slate);
  font-size: 0.95rem;
}

.policy-content ul {
  margin-bottom: 14px;
  padding-left: 20px;
}

.policy-content ul li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 8px;
  color: var(--slate);
  font-size: 0.95rem;
  list-style: none;
}

.policy-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--soft-pink);
}

.policy-content a {
  color: var(--pink-dark);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.policy-content a:hover {
  color: var(--slate-dark);
}

.policy-content strong {
  color: var(--slate-dark);
}

/* ── Responsive ── */
@media (max-width: 968px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
    order: 1;
  }

  .hero-visual {
    order: 0;
  }

  .hero-subtitle {
    margin: 0 auto 36px;
  }

  .hero-buttons {
    justify-content: center;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .premium-grid {
    grid-template-columns: 1fr;
  }

  .privacy-content {
    grid-template-columns: 1fr;
  }

  .privacy-visual {
    order: -1;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--cream);
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    padding: 40px;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
    transition: right var(--transition);
  }

  .nav-links.open {
    right: 0;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-phone {
    width: 230px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .stats .container {
    gap: 32px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .policy-content {
    padding: 28px 20px;
    border-radius: var(--radius-md);
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .store-badge {
    width: 100%;
    max-width: 260px;
    justify-content: center;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}