/* ===========================
   Jelly Nailed It — Stylesheet
   The cutest nail salon site ✿
   =========================== */

:root {
  --pink: #ff8fab;
  --pink-light: #ffc2d4;
  --pink-pale: #fff0f5;
  --lavender: #c8b6ff;
  --lavender-light: #e8dff5;
  --mint: #b8e0d2;
  --peach: #ffd6a5;
  --cream: #fffbf0;
  --white: #ffffff;
  --text: #4a3728;
  --text-light: #8b7355;
  --shadow: rgba(255, 143, 171, 0.15);
  --shadow-lg: rgba(255, 143, 171, 0.25);
  --radius: 20px;
  --radius-sm: 12px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Quicksand', sans-serif;
  color: var(--text);
  background: var(--cream);
  overflow-x: hidden;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Sparkles Background ===== */
.sparkles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.sparkle {
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--pink-light);
  border-radius: 50%;
  animation: sparkle-float linear infinite;
  opacity: 0;
}

@keyframes sparkle-float {
  0% { opacity: 0; transform: translateY(100vh) scale(0); }
  10% { opacity: 0.8; }
  90% { opacity: 0.8; }
  100% { opacity: 0; transform: translateY(-10vh) scale(1); }
}

/* ===== Navigation ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 251, 240, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 143, 171, 0.1);
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: 0 4px 30px var(--shadow);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 12px;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  flex-shrink: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  position: relative;
}

.nav-links a:not(.btn-nav):hover {
  color: var(--pink);
}

.nav-links a:not(.btn-nav)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--pink);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-links a:not(.btn-nav):hover::after {
  width: 100%;
}

.btn-nav {
  background: linear-gradient(135deg, var(--pink), var(--lavender));
  color: var(--white) !important;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 700;
  box-shadow: 0 4px 15px var(--shadow);
  transition: var(--transition);
}

.btn-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px var(--shadow-lg);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 24px;
  height: 2.5px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--pink), #ff6b9d);
  color: var(--white);
  box-shadow: 0 4px 20px var(--shadow-lg);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px var(--shadow-lg);
}

.btn-secondary {
  background: var(--white);
  color: var(--pink);
  border: 2px solid var(--pink-light);
}

.btn-secondary:hover {
  background: var(--pink-pale);
  transform: translateY(-3px);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ===== Hero Section ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-content {
  flex: 1;
  max-width: 560px;
}

.hero-tag {
  display: inline-block;
  background: var(--pink-pale);
  color: var(--pink);
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 20px;
  animation: fadeInUp 0.8s ease;
}

.hero-title {
  font-family: 'Sacramento', cursive;
  font-size: clamp(3rem, 7vw, 5.5rem);
  color: var(--pink);
  line-height: 1.1;
  margin-bottom: 16px;
  animation: fadeInUp 0.8s ease 0.1s both;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 600;
  color: var(--text);
  margin-bottom: 16px;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-desc {
  color: var(--text-light);
  font-size: 1.05rem;
  margin-bottom: 32px;
  line-height: 1.7;
  animation: fadeInUp 0.8s ease 0.3s both;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-visual {
  flex: 0 0 auto;
  position: relative;
  animation: fadeInUp 0.8s ease 0.3s both;
}

.hero-blob {
  width: 340px;
  height: 340px;
  background: linear-gradient(135deg, var(--pink-light), var(--lavender-light), var(--mint));
  border-radius: 60% 40% 50% 50% / 50% 60% 40% 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: blob-morph 8s ease-in-out infinite;
  box-shadow: 0 20px 60px var(--shadow-lg);
}

.hero-emoji {
  font-size: 7rem;
  animation: bounce-gentle 3s ease-in-out infinite;
}

@keyframes blob-morph {
  0%, 100% { border-radius: 60% 40% 50% 50% / 50% 60% 40% 50%; }
  25% { border-radius: 50% 60% 40% 50% / 40% 50% 60% 50%; }
  50% { border-radius: 40% 50% 60% 50% / 60% 40% 50% 50%; }
  75% { border-radius: 50% 40% 50% 60% / 50% 50% 40% 60%; }
}

@keyframes bounce-gentle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

.floating-icons {
  position: absolute;
  inset: 0;
}

.float-icon {
  position: absolute;
  font-size: 1.8rem;
  top: 50%;
  left: 50%;
  transform: translate(var(--x), var(--y));
  animation: float-around 4s ease-in-out infinite;
  animation-delay: var(--delay);
}

@keyframes float-around {
  0%, 100% { transform: translate(var(--x), var(--y)); }
  50% { transform: translate(calc(var(--x) + 10px), calc(var(--y) - 15px)); }
}

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

/* ===== Section Common ===== */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  background: var(--pink-pale);
  color: var(--pink);
  padding: 6px 18px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.2;
}

.section-header p {
  color: var(--text-light);
  font-size: 1.1rem;
  max-width: 500px;
  margin: 0 auto;
}

/* ===== Coming Soon ===== */
.coming-soon {
  padding: 100px 0 120px;
  background: var(--white);
  position: relative;
  z-index: 1;
}

.coming-soon::before {
  content: '';
  position: absolute;
  top: -60px;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--white);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.coming-soon-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.coming-soon-icon {
  font-size: 4rem;
  display: block;
  margin-bottom: 20px;
  animation: bounce-gentle 3s ease-in-out infinite;
}

.coming-soon-content h2 {
  font-family: 'Sacramento', cursive;
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--pink);
  margin-bottom: 20px;
}

.coming-soon-content > p {
  color: var(--text-light);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 32px;
}

.coming-soon-features {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.coming-feature {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 24px 28px;
  text-align: center;
  border: 2px solid var(--pink-light);
  transition: var(--transition);
  min-width: 140px;
}

.coming-feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px var(--shadow);
}

.coming-feature span {
  font-size: 2.2rem;
  display: block;
  margin-bottom: 8px;
}

.coming-feature p {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.social-link {
  padding: 14px;
  background: var(--pink-pale);
  color: var(--pink);
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--pink);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px var(--shadow);
}

/* ===== Footer ===== */
.footer {
  background: linear-gradient(135deg, #3d2c2c, #2d1f2f);
  color: var(--pink-light);
  padding: 60px 0 0;
  position: relative;
  z-index: 1;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 143, 171, 0.15);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-brand-name {
  font-family: 'Sacramento', cursive;
  font-size: 2.2rem;
  color: var(--pink-light);
}

.footer-brand p {
  color: rgba(255, 194, 212, 0.6);
  font-size: 0.95rem;
}

.footer-brand .social-links {
  margin-top: 4px;
}

.footer-brand .social-link {
  background: rgba(255, 194, 212, 0.15);
  color: var(--pink-light);
}

.footer-brand .social-link:hover {
  background: var(--pink);
  color: var(--white);
}

.footer-links {
  display: flex;
  gap: 28px;
}

.footer-links a {
  color: var(--pink-light);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
}

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

.footer-bottom {
  text-align: center;
  padding: 24px 0;
  font-size: 0.85rem;
  color: rgba(255, 194, 212, 0.5);
}

/* ===== Responsive ===== */

/* Tablet */
@media (max-width: 1024px) {
  .hero {
    gap: 40px;
    padding: 100px 24px 60px;
  }

  .hero-blob {
    width: 280px;
    height: 280px;
  }

  .hero-emoji {
    font-size: 6rem;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  .nav-container {
    padding: 0 20px;
  }

  .nav-links {
    gap: 16px;
  }

  .btn-nav {
    padding: 8px 16px;
    font-size: 0.85rem;
  }

  .hero {
    flex-direction: column;
    text-align: center;
    padding: 100px 20px 60px;
    gap: 36px;
    min-height: auto;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-buttons {
    justify-content: center;
    gap: 12px;
  }

  .hero-blob {
    width: 220px;
    height: 220px;
  }

  .hero-emoji {
    font-size: 4.5rem;
  }

  .floating-icons {
    display: none;
  }

  .hero-desc {
    font-size: 0.95rem;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.9rem;
  }

  .coming-soon {
    padding: 80px 0 100px;
  }

  .coming-soon-features {
    gap: 12px;
  }

  .coming-feature {
    padding: 20px 22px;
    min-width: 120px;
  }

  .footer {
    padding: 40px 0 0;
  }

  .footer-content {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }

  .footer-brand-name {
    font-size: 1.8rem;
  }
}

/* Small phones */
@media (max-width: 480px) {
  .logo-img {
    height: 52px;
  }

  .nav-links li:first-child {
    display: none;
  }

  .nav-links {
    gap: 10px;
  }

  .btn-nav {
    padding: 7px 14px;
    font-size: 0.8rem;
  }

  .hero {
    padding: 90px 16px 40px;
    gap: 28px;
  }

  .hero-tag {
    font-size: 0.8rem;
    padding: 6px 16px;
  }

  .hero-blob {
    width: 180px;
    height: 180px;
  }

  .hero-emoji {
    font-size: 3.5rem;
  }

  .float-icon {
    font-size: 1.2rem;
  }

  .hero-desc {
    font-size: 0.9rem;
  }

  .btn {
    padding: 11px 20px;
    font-size: 0.85rem;
  }

  .social-link {
    padding: 12px;
  }

  .social-link svg {
    width: 18px;
    height: 18px;
  }

  .coming-soon {
    padding: 60px 0 80px;
  }

  .coming-soon-content > p {
    font-size: 0.95rem;
  }

  .coming-feature {
    padding: 16px 18px;
    min-width: 100px;
  }

  .coming-feature span {
    font-size: 1.8rem;
  }

  .coming-feature p {
    font-size: 0.8rem;
  }

  .section-tag {
    font-size: 0.8rem;
    padding: 5px 14px;
  }

  .footer-bottom {
    font-size: 0.75rem;
    padding: 16px 0;
  }
}

/* Very small phones (iPhone SE, Galaxy Fold) */
@media (max-width: 360px) {
  .nav-container {
    height: 60px;
  }

  .logo-img {
    height: 44px;
  }

  .hero {
    padding: 76px 12px 32px;
  }

  .hero-blob {
    width: 150px;
    height: 150px;
  }

  .hero-emoji {
    font-size: 3rem;
  }

  .hero-buttons {
    justify-content: center;
    align-items: center;
  }

  .coming-soon-features {
    flex-direction: column;
    align-items: center;
  }

  .coming-feature {
    width: 100%;
    max-width: 200px;
  }
}

/* Landscape phones */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding: 80px 24px 40px;
    flex-direction: row;
    gap: 30px;
  }

  .hero-blob {
    width: 160px;
    height: 160px;
  }

  .hero-emoji {
    font-size: 3.5rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }
}
