/* ============================================================
   Mynely Landing Page — Shared Styles
   ============================================================ */

:root {
  --blue: #00B4D8;
  --blue-dark: #0096B4;
  --pink: #FF4F7B;
  --dark: #1E293B;
  --grey: #64748B;
  --light: #F5F7FA;
  --white: #FFFFFF;
  --gradient: linear-gradient(135deg, #00B4D8 0%, #FF4F7B 100%);
  --shadow: 0 4px 20px rgba(0, 180, 216, 0.15);
  --radius: 12px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Poppins', sans-serif; color: var(--dark); line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }

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

.section-title {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 56px;
  color: var(--dark);
}

.btn {
  display: inline-block;
  padding: 12px 32px;
  border-radius: 50px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
}
.btn:hover { opacity: 0.88; transform: translateY(-1px); }

.btn-primary { background: var(--blue); color: white; }
.btn-danger  { background: #EF4444; color: white; }

.highlight-blue { color: var(--blue); }
.highlight-pink  { color: var(--pink); }

/* ---- Navbar ---- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: white;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.logo-img {
  height: 34px;
  width: auto;
}
footer .logo-img {
  filter: brightness(0) invert(1);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 500;
  font-size: 0.92rem;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--blue); }
.nav-links .nav-cta { margin-left: 8px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span { display: block; width: 24px; height: 2px; background: var(--dark); border-radius: 2px; transition: all 0.3s; }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 24px 20px;
  border-top: 1px solid #f1f5f9;
  background: white;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 500;
  font-size: 1rem;
  padding: 10px 0;
  border-bottom: 1px solid #f1f5f9;
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu .btn { text-align: center; margin-top: 8px; }

/* ---- Hero ---- */
.hero { padding: 80px 0 64px; }

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-content h1 {
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1.22;
  margin-bottom: 20px;
}

.hero-content p {
  color: var(--grey);
  font-size: 1rem;
  margin-bottom: 36px;
  max-width: 420px;
}

.hero-visual { display: flex; justify-content: center; align-items: center; }

/* ---- About ---- */
.about {
  padding: 80px 0;
  background: linear-gradient(135deg, rgba(0,180,216,0.07) 0%, rgba(255,79,123,0.07) 100%);
}

.about .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-visual { display: flex; justify-content: center; }

.about-content h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
}
.about-content p { color: var(--grey); line-height: 1.8; margin-bottom: 16px; }
.about-content p:last-child { margin-bottom: 0; }

/* ---- Solutions ---- */
.solutions { padding: 80px 0; background: white; }

.solutions-grid {
  display: grid;
  grid-template-columns: 1fr 200px 1fr;
  gap: 32px;
  align-items: center;
}

.solutions-col { display: flex; flex-direction: column; gap: 24px; }
.solutions-center { display: flex; justify-content: center; }

.solution-card {
  background: var(--light);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  transition: box-shadow 0.2s;
}
.solution-card:hover { box-shadow: var(--shadow); }

.solution-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.solution-card h4 { font-size: 0.88rem; font-weight: 600; margin-bottom: 6px; color: var(--blue); }
.solution-card p  { font-size: 0.8rem; color: var(--grey); line-height: 1.6; }

/* ---- Products ---- */
.products { padding: 80px 0; background: var(--light); }

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-card { text-align: center; }

.product-img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius);
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  overflow: hidden;
  padding: 12px;
}
.product-img img { width: 100%; height: 100%; object-fit: contain; }

.product-card h4 { font-weight: 600; color: var(--pink); font-size: 1rem; }

/* ---- Features ---- */
.features { padding: 80px 0; background: white; }

.features-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.features-row + .features-row { margin-top: 32px; }

.feature-connector {
  text-align: center;
  color: var(--blue);
  font-size: 1.2rem;
  letter-spacing: 4px;
  opacity: 0.3;
  padding: 16px 0 8px;
}

.feature-item { text-align: center; padding: 0 16px; }

.feature-bubble {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: white;
  font-size: 1.8rem;
  box-shadow: 0 6px 20px rgba(0,180,216,0.28);
}

.feature-item h4 { font-size: 0.88rem; font-weight: 600; color: var(--blue); margin-bottom: 8px; }
.feature-item p  { font-size: 0.8rem; color: var(--grey); line-height: 1.65; }

/* ---- Mobile App ---- */
.mobile-app {
  padding: 80px 0;
  background: var(--gradient);
  color: white;
}

.mobile-app .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.app-visual { display: flex; justify-content: center; }

/* CSS phone mockup */
.phone-mockup {
  width: 180px;
  height: 320px;
  background: #0f172a;
  border-radius: 32px;
  border: 6px solid #1e293b;
  position: relative;
  box-shadow: 0 24px 64px rgba(0,0,0,0.4);
  overflow: hidden;
}
.phone-mockup::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 52px;
  height: 5px;
  background: #334155;
  border-radius: 3px;
}
.phone-screen {
  position: absolute;
  top: 28px;
  left: 4px;
  right: 4px;
  bottom: 4px;
  background: linear-gradient(160deg, #e0f2fe, #fce7f3);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-content h2 { font-size: 2rem; font-weight: 700; margin-bottom: 16px; }
.app-content p  { opacity: 0.9; line-height: 1.75; margin-bottom: 12px; }
.app-content .app-tagline { font-weight: 600; margin-bottom: 28px !important; }

.app-badges { display: flex; gap: 14px; flex-wrap: wrap; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(0,0,0,0.25);
  color: white;
  padding: 10px 18px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid rgba(255,255,255,0.25);
  transition: background 0.2s;
}
.badge:hover { background: rgba(0,0,0,0.4); }
.badge svg { width: 22px; height: 22px; flex-shrink: 0; }
.badge-text small { display: block; font-size: 0.62rem; opacity: 0.8; font-weight: 400; }

/* ---- Footer ---- */
footer {
  background: var(--gradient);
  color: white;
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.6fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .logo { color: white; margin-bottom: 18px; }

.footer-contact { display: flex; flex-direction: column; gap: 8px; }
.footer-contact a,
.footer-contact span { color: rgba(255,255,255,0.8); font-size: 0.85rem; text-decoration: none; }
.footer-contact a:hover { color: white; }

footer h5 { font-size: 0.95rem; font-weight: 600; margin-bottom: 16px; }

.footer-nav ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-nav a { color: rgba(255,255,255,0.8); text-decoration: none; font-size: 0.88rem; transition: color 0.2s; }
.footer-nav a:hover { color: white; }

.social-icons { display: flex; gap: 10px; flex-wrap: wrap; }
.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: white;
  transition: background 0.2s;
}
.social-icon:hover { background: rgba(255,255,255,0.32); }
.social-icon svg { width: 16px; height: 16px; }

.newsletter-desc { color: rgba(255,255,255,0.8); font-size: 0.84rem; margin-bottom: 14px; line-height: 1.6; }

.newsletter-form { display: flex; }
.newsletter-form input {
  flex: 1;
  padding: 10px 14px;
  border: none;
  border-radius: 6px 0 0 6px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.84rem;
  outline: none;
  min-width: 0;
}
.newsletter-form button {
  background: #0f172a;
  color: white;
  border: none;
  padding: 10px 16px;
  border-radius: 0 6px 6px 0;
  font-family: 'Poppins', sans-serif;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}
.newsletter-form button:hover { background: #020617; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.18);
  padding-top: 24px;
  text-align: center;
  font-size: 0.84rem;
  color: rgba(255,255,255,0.65);
}
.footer-bottom a { color: rgba(255,255,255,0.75); text-decoration: none; }
.footer-bottom a:hover { color: white; }

/* ---- Inner Pages (Privacy / Terms / Delete) ---- */
.inner-hero {
  background: var(--gradient);
  color: white;
  padding: 64px 0;
  text-align: center;
}
.inner-hero h1 { font-size: 2.2rem; font-weight: 700; margin-bottom: 10px; }
.inner-hero .subtitle { opacity: 0.88; font-size: 0.95rem; }

.inner-body {
  padding: 64px 24px 96px;
  max-width: 820px;
  margin: 0 auto;
}

.inner-body h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--blue);
  margin: 40px 0 12px;
  padding-top: 8px;
  border-top: 1px solid #f1f5f9;
}
.inner-body h2:first-child { margin-top: 0; border-top: none; padding-top: 0; }

.inner-body p  { color: var(--grey); line-height: 1.8; margin-bottom: 12px; }
.inner-body ul { color: var(--grey); line-height: 1.8; padding-left: 20px; margin-bottom: 12px; }
.inner-body ul li { margin-bottom: 4px; }
.inner-body a  { color: var(--blue); }

.last-updated {
  display: inline-block;
  background: var(--light);
  color: var(--grey);
  font-size: 0.82rem;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 36px;
}

/* ---- Account Deletion Steps ---- */
.delete-steps { list-style: none; counter-reset: step; margin-bottom: 40px; }
.delete-steps li {
  counter-increment: step;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 16px;
  padding: 18px 20px;
  background: var(--light);
  border-radius: var(--radius);
}
.delete-steps li::before {
  content: counter(step);
  min-width: 32px;
  height: 32px;
  background: var(--gradient);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.88rem;
  flex-shrink: 0;
}
.delete-steps li strong { display: block; color: var(--dark); font-weight: 600; margin-bottom: 2px; }
.delete-steps li p { color: var(--grey); font-size: 0.88rem; margin: 0; }

.delete-form {
  background: var(--light);
  border-radius: var(--radius);
  padding: 32px;
  margin-top: 40px;
}
.delete-form h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.delete-form > p { color: var(--grey); font-size: 0.9rem; margin-bottom: 24px; }

.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 500; margin-bottom: 6px; color: var(--dark); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.88rem;
  outline: none;
  background: white;
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--blue); }
.form-group textarea { resize: vertical; min-height: 80px; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .solutions-grid { grid-template-columns: 1fr; }
  .solutions-center { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }

  .hero .container,
  .about .container,
  .mobile-app .container { grid-template-columns: 1fr; gap: 40px; }

  .hero-visual { order: -1; }
  .app-visual  { order: -1; }

  .hero-content h1 { font-size: 1.9rem; }

  .products-grid { grid-template-columns: repeat(2, 1fr); }

  .features-row { grid-template-columns: 1fr; gap: 32px; }
  .feature-item { max-width: 320px; margin: 0 auto; }

  .section-title { font-size: 1.6rem; margin-bottom: 40px; }

  .inner-hero h1 { font-size: 1.7rem; }
}

@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
}
