/* =========================
   RESET
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

html,
body {
  height: 100%;
}

body {
  background: #f7f7f7;
  color: #333;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* =========================
   HEADER
========================= */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 26px;
  background: #ffffff;
  border-bottom: 1px solid #eee;
  position: relative;
  z-index: 5;
}

/* =========================
   LOGO
========================= */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo img {
  height: 60px;
}

.logo-text {
  font-size: 26px;
  font-weight: 800;
  display: flex;
  gap: 6px;
  align-items: center;
}

.speech {
  color: #4fc3f7;
}

.visuals {
  color: #ff8a65;
}

/* =========================
   TOPBAR ICONS
========================= */
.top-icons,
.banner-icons {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  min-width: 0;
}

.top-icons img,
.banner-icons img {
  height: 48px;
  width: auto;
  object-fit: contain;
  display: block;
}

.top-icons .kids-icon,
.banner-icons .kids-icon {
  height: 72px;
}

.top-icons .rainbow-icon,
.banner-icons .rainbow-icon {
  height: 58px;
}

/* =========================
   NAV
========================= */
.nav {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  position: relative;
  z-index: 6;
}

.nav a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
}

.btn-primary {
  background: #4caf50;
  color: #fff !important;
  padding: 8px 14px;
  border-radius: 8px;
}

/* =========================
   HERO OLD SUPPORT
========================= */
.hero-text {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 20px 10px;
  position: relative;
  z-index: 3;
}

.hero-main {
  text-align: center;
}

.hero-main h1,
.hero-text h1 {
  font-size: 34px;
  font-weight: 800;
  text-align: center;
}

.hero-main p,
.hero-text p {
  margin-top: 6px;
  font-size: 16px;
  color: #666;
  text-align: center;
}

/* =========================
   HERO UPDATED
========================= */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px 170px;
  position: relative;
  z-index: 3;
}

.hero-center {
  text-align: center;
  flex: 1;
  position: relative;
  z-index: 4;
}

.hero-center h1 {
  font-size: 48px;
  margin-bottom: 10px;
}

.hero-center p {
  font-size: 18px;
  color: #555;
}

.trial-note {
  margin-top: 8px;
  font-size: 14px;
  font-weight: 700;
  color: #666;
}

.trial-short,
.trial-full {
  display: inline;
}

.hero-side {
  width: 240px;
  display: flex;
  position: relative;
  z-index: 4;
}

.hero-side.left {
  justify-content: flex-end;
  padding-right: 20px;
}

.hero-side.right {
  justify-content: flex-start;
  padding-left: 20px;
}

.btn-main {
  padding: 12px 20px;
  border-radius: 12px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  display: inline-block;
}

.btn-blue {
  background: #81d4fa;
  color: #333;
}

.btn-yellow {
  background: #ffe082;
  color: #333;
}

.hero-tags {
  margin-top: 15px;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-tags span {
  background: #fff;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
}

.hero-tag-link {
  background: #fff;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(0,0,0,0.06);
  text-decoration: none;
  color: #333;
  display: inline-block;
  transition: 0.2s ease;
}

.hero-tag-link:hover {
  transform: translateY(-2px);
  background: #f5f5f5;
}

/* =========================
   MAIN
========================= */
.container {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  padding: 12px 20px 24px;
  flex: 1;
  position: relative;
  z-index: 2;
}

/* =========================
   HOMEPAGE ROW LAYOUT
========================= */
.home-row {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
  align-items: start;
  margin-bottom: 28px;
  position: relative;
  z-index: 2;
}

.home-left {
  padding-top: 8px;
}

.home-right {
  min-width: 0;
}

.home-section-title {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 8px;
}

.everyday-title {
  color: #ff8a65;
}

.learning-title {
  color: #4fc3f7;
}

.conversation-title {
  color: #8e7ad1;
}

.custom-title {
  color: #43a047;
}

.home-section-note {
  font-size: 14px;
  line-height: 1.5;
  color: #666;
}

/* =========================
   HOMEPAGE GRID
========================= */
.grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.learning-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 760px;
}

.small-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 660px;
}

.custom-grid {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 260px;
}

/* =========================
   CARDS
========================= */
.card {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px;
  border-radius: 16px;
  font-size: 15px;
  font-weight: bold;
  text-decoration: none;
  color: #333;
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.10);
  transition: 0.2s ease;
  background: #ffffff;
}

.card:hover {
  transform: translateY(-3px);
}

/* homepage card tones */
.everyday-row .card:nth-child(1) { background: #ffd8cc; }
.everyday-row .card:nth-child(2) { background: #ffcec0; }
.everyday-row .card:nth-child(3) { background: #ffc4b3; }
.everyday-row .card:nth-child(4) { background: #ffbaa6; }
.everyday-row .card:nth-child(5) { background: #ffd2c5; }
.everyday-row .card:nth-child(6) { background: #ffc8b8; }
.everyday-row .card:nth-child(7) { background: #ffe0d6; }
.everyday-row .card:nth-child(8) { background: #ffd6ca; }

.learning-row .card:nth-child(1) { background: #d9f0ff; }
.learning-row .card:nth-child(2) { background: #c8e8ff; }
.learning-row .card:nth-child(3) { background: #b6e0ff; }
.learning-row .card:nth-child(4) { background: #a5d8ff; }

.conversation-row .card:nth-child(1) { background: #e2d7ff; }
.conversation-row .card:nth-child(2) { background: #d4c7ff; }
.conversation-row .card:nth-child(3) { background: #c7b9ff; }

.custom-row .card:nth-child(1),
.create {
  background: #c8e6c9 !important;
}

.create {
  background: linear-gradient(135deg, #81c784, #66bb6a) !important;
  color: #fff;
  font-size: 18px;
  min-height: 90px;
}

/* =========================
   INNER PAGE HEADER
========================= */
.page-header {
  max-width: 1200px;
  margin: 10px auto 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.page-title {
  font-size: 24px;
  font-weight: 800;
  color: #333;
}

.page-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.page-actions a {
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 10px;
  font-weight: bold;
  color: #333;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.back-btn {
  background: #ffe082;
}

.home-btn {
  background: #81d4fa;
}

/* =========================
   INNER CATEGORY GRID
========================= */
.image-grid {
  max-width: 1200px;
  margin: 0 auto 20px;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.image-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 10px 8px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  transition: 0.2s;
  min-height: 138px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.image-card:hover {
  transform: translateY(-3px);
}

.image-card img {
  width: 100%;
  height: 74px;
  object-fit: contain;
  display: block;
}

.image-label {
  margin-top: 8px;
  font-size: 14px;
  font-weight: bold;
  color: #333;
  line-height: 1.2;
}

/* =========================
   FOOTER
========================= */
.footer {
  margin-top: 25px;
  background: #f8f9fb;
  padding: 20px;
  border-top: 1px solid #eee;
  width: 100%;
  position: relative;
  z-index: 3;
}

.footer-content {
  max-width: 1100px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-left img {
  height: 35px;
}

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

.footer-links a {
  text-decoration: none;
  color: #555;
}

.footer-right {
  font-size: 13px;
  color: #777;
}

/* =========================
   POPUP
========================= */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.popup-box {
  background: white;
  padding: 24px;
  border-radius: 24px;
  text-align: center;
  max-width: 500px;
  width: 100%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.popup-box img {
  width: 100%;
  height: 250px;
  object-fit: contain;
}

#popupText {
  margin-top: 14px;
  font-size: 26px;
  font-weight: bold;
}

.popup-hint {
  margin-top: 6px;
  font-size: 13px;
  color: #777;
}

.added-popup {
  position: fixed;
  top: 90px;
  right: 20px;
  background: #ffffff;
  color: #333;
  padding: 12px 18px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  font-weight: 600;
  z-index: 9999;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

.added-popup.show {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   FLOATING ICONS
========================= */
.floating-icons {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.float-icon {
  position: absolute;
  width: 78px;
  opacity: 1;
  animation: float 6s infinite ease-in-out;
}

.f1 { top: 120px; left: 90px; }
.f2 { top: 170px; right: 100px; }
.f3 { top: 330px; left: 70px; }
.f4 { top: 250px; right: 150px; }
.f5 { top: 540px; left: 120px; }
.f6 { top: 620px; right: 120px; }
.f7 { top: 760px; left: 90px; }
.f8 { top: 850px; right: 80px; }
.f9 { top: 980px; left: 140px; }
.f10 { top: 1080px; right: 110px; }

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
  100% { transform: translateY(0px); }
}

.bg-icons,
.bg-icon {
  display: none !important;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1200px) {
  .home-row {
    grid-template-columns: 220px 1fr;
  }

  .grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .image-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .top-icons,
  .banner-icons {
    gap: 28px;
  }

  .top-icons img,
  .banner-icons img {
    height: 42px;
  }

  .top-icons .kids-icon,
  .banner-icons .kids-icon {
    height: 64px;
  }

  .top-icons .rainbow-icon,
  .banner-icons .rainbow-icon {
    height: 52px;
  }

  .hero {
    padding: 40px 110px;
  }

  .hero-side {
    width: 180px;
  }
}

@media (max-width: 1000px) {
  .topbar {
    flex-direction: row;
    text-align: center;
    gap: 12px;
    padding: 12px 16px;
  }

  .nav {
    justify-content: center;
  }

  .top-icons,
  .banner-icons {
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
  }

  .home-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .home-left {
    padding-top: 0;
  }

  .grid,
  .learning-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-width: none;
  }

  .image-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .hero {
    padding: 24px 28px;
  }

  .hero-side {
    width: 150px;
  }

  .float-icon {
    width: 64px;
  }
}

@media (max-width: 768px) {
  .topbar {
    padding: 8px 10px;
    gap: 8px;
  }

  .top-icons {
    display: none;
  }

  .logo {
    gap: 6px;
  }

  .logo img {
    height: 38px;
  }

  .logo-text {
    font-size: 20px;
  }

  .nav {
    gap: 10px;
  }

  .nav a {
    font-size: 13px;
  }

  .btn-primary {
    padding: 6px 10px;
    border-radius: 8px;
  }

  .page-header {
    flex-direction: column;
    text-align: center;
  }

  .page-actions {
    justify-content: center;
  }

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

  .footer-links {
    justify-content: center;
  }

  .hero {
    flex-direction: column;
    gap: 8px;
    padding: 10px 10px 6px;
  }

  .hero-center {
    order: 1;
  }

  .hero-side.left {
    order: 2;
    justify-content: center;
    width: 100%;
    padding: 0;
  }

  .hero-side.right {
    order: 3;
    justify-content: center;
    width: 100%;
    padding: 0;
  }

  .hero-center h1 {
    font-size: 26px;
    line-height: 1.15;
    margin-bottom: 4px;
  }

  .hero-center p {
    font-size: 14px;
    margin-bottom: 2px;
  }

  .trial-note {
    font-size: 12px;
    margin-top: 4px;
  }

  .trial-full {
    display: none;
  }

  .hero-tags {
    display: none;
  }

  .btn-main {
    width: auto;
    min-width: 150px;
    text-align: center;
    padding: 8px 12px;
    font-size: 13px;
  }

  .home-row {
    gap: 8px;
    margin-bottom: 16px;
  }

  .home-section-title {
    font-size: 17px;
    margin-bottom: 3px;
  }

  .home-section-note {
    font-size: 12px;
  }

  .grid,
  .learning-grid,
  .small-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px;
    max-width: none;
  }

  .image-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .card {
    min-height: 65px;
    font-size: 12px;
    padding: 6px;
    border-radius: 14px;
  }

  .image-card {
    min-height: 120px;
    padding: 8px 6px;
  }

  .image-card img {
    height: 60px;
  }

  .image-label {
    font-size: 13px;
  }

  .float-icon {
    display: none;
  }

  .seo-text {
    margin: 24px auto;
    padding: 14px;
    font-size: 14px;
  }
}

@media (max-width: 560px) {
  .topbar {
    padding: 6px 8px;
    gap: 6px;
  }

  .logo {
    flex-direction: row;
    text-align: center;
  }

  .logo img {
    height: 32px;
  }

  .logo-text {
    justify-content: center;
    flex-wrap: wrap;
    font-size: 18px;
    gap: 4px;
  }

  .nav {
    gap: 8px;
  }

  .nav a {
    font-size: 12px;
  }

  .btn-primary {
    padding: 5px 8px;
  }

  .hero {
    padding: 8px 8px 4px;
    gap: 6px;
  }

  .hero-center h1 {
    font-size: 22px;
  }

  .hero-center p {
    font-size: 13px;
  }

  .trial-note {
    font-size: 11px;
  }

  .btn-main {
    min-width: 138px;
    padding: 7px 10px;
    font-size: 12px;
  }

  .container {
    padding: 8px 10px 18px;
  }

  .home-row {
    gap: 6px;
    margin-bottom: 14px;
  }

  .home-section-title {
    font-size: 16px;
  }

  .home-section-note {
    font-size: 11px;
    line-height: 1.4;
  }

  .grid,
  .learning-grid,
  .small-grid,
  .image-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 7px;
  }

  .card {
    min-height: 60px;
    font-size: 11px;
    padding: 6px;
    border-radius: 12px;
  }

  .image-card {
    min-height: 112px;
  }

  .image-card img {
    height: 54px;
  }

  .image-label {
    font-size: 12px;
  }

  .footer {
    padding: 16px 12px;
  }

  .footer-links {
    gap: 12px;
  }

  .footer-links a,
  .footer-right,
  .footer-left span {
    font-size: 12px;
  }

  .seo-text {
    padding: 12px;
    font-size: 13px;
  }

  .seo-text h2,
  .seo-text h3 {
    margin-top: 14px;
    margin-bottom: 8px;
  }
}

@media (max-width: 380px) {
  .topbar {
    padding: 6px 6px;
  }

  .logo img {
    height: 28px;
  }

  .logo-text {
    font-size: 16px;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav a {
    font-size: 11px;
  }

  .hero {
    padding: 6px 6px 2px;
  }

  .hero-center h1 {
    font-size: 19px;
  }

  .hero-center p {
    font-size: 12px;
  }

  .trial-note {
    font-size: 10px;
  }

  .btn-main {
    min-width: 126px;
    padding: 6px 8px;
    font-size: 11px;
  }

  .container {
    padding: 8px 8px 16px;
  }

  .card {
    min-height: 56px;
    font-size: 10px;
    padding: 5px;
  }

  .home-section-title {
    font-size: 15px;
  }

  .home-section-note {
    font-size: 10px;
  }

  .image-card {
    min-height: 104px;
  }

  .image-card img {
    height: 48px;
  }

  .image-label {
    font-size: 11px;
  }
}

.popup-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.popup-nav-btn {
  border: none;
  background: #81d4fa;
  color: #333;
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.popup-nav-btn:hover {
  transform: translateY(-1px);
}

.popup-nav-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.seo-text {
  max-width: 900px;
  margin: 40px auto;
  padding: 20px;
  font-size: 15px;
  line-height: 1.6;
  color: #444;
}

.seo-text h2,
.seo-text h3 {
  margin-top: 20px;
  margin-bottom: 10px;
}

/* =========================
   MOBILE FIX - INNER PAGES
========================= */

@media (max-width: 768px) {
  .page-header {
    margin: 8px auto 10px;
    gap: 8px;
    padding: 0 10px;
  }

  .page-title {
    font-size: 18px;
    line-height: 1.2;
  }

  .page-actions {
    gap: 8px;
    width: 100%;
    justify-content: center;
  }

  .page-actions a,
  .back-btn,
  .home-btn {
    padding: 7px 10px;
    font-size: 12px;
    border-radius: 8px;
  }

  .image-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px;
    padding: 0 10px;
    margin-bottom: 16px;
  }

  .image-card {
    min-height: 118px;
    padding: 8px 6px;
    border-radius: 12px;
  }

  .image-card img {
    height: 56px;
  }

  .image-label {
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.2;
  }

  .popup-box {
    width: calc(100% - 24px);
    max-width: 360px;
    padding: 16px;
    border-radius: 18px;
  }

  .popup-box img {
    height: 180px;
  }

  #popupText {
    margin-top: 10px;
    font-size: 20px;
  }

  .popup-hint {
    font-size: 12px;
  }

  .popup-nav {
    gap: 8px;
    margin-top: 10px;
  }

  .popup-nav-btn {
    padding: 8px 10px;
    font-size: 12px;
    border-radius: 8px;
  }
}

@media (max-width: 560px) {
  .page-header {
    margin: 6px auto 8px;
    gap: 6px;
    padding: 0 8px;
  }

  .page-title {
    font-size: 16px;
  }

  .page-actions a,
  .back-btn,
  .home-btn {
    padding: 6px 8px;
    font-size: 11px;
  }

  .image-grid {
    gap: 7px;
    padding: 0 8px;
  }

  .image-card {
    min-height: 108px;
    padding: 7px 5px;
  }

  .image-card img {
    height: 50px;
  }

  .image-label {
    font-size: 11px;
  }

  .popup-box {
    width: calc(100% - 18px);
    padding: 14px;
  }

  .popup-box img {
    height: 155px;
  }

  #popupText {
    font-size: 18px;
  }

  .popup-nav-btn {
    padding: 7px 8px;
    font-size: 11px;
  }
}

@media (max-width: 380px) {
  .page-title {
    font-size: 15px;
  }

  .image-grid {
    gap: 6px;
    padding: 0 6px;
  }

  .image-card {
    min-height: 98px;
  }

  .image-card img {
    height: 44px;
  }

  .image-label {
    font-size: 10px;
  }

  .popup-box img {
    height: 135px;
  }

  #popupText {
    font-size: 16px;
  }
}

.feature-highlight {
  max-width: 900px;
  margin: 40px auto;
  padding: 20px;
  text-align: center;
  line-height: 1.6;
  color: #444;
}

.feature-highlight h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

.feature-highlight p {
  font-size: 15px;
  margin-bottom: 10px;
}

.builder-top {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 20px;
  align-items: start;
}

.custom-upload-card {
  position: sticky;
  top: 20px;
}

@media (max-width: 1000px) {
  .builder-top {
    grid-template-columns: 1fr;
  }

  .custom-upload-card {
    position: static;
    order: -1;
  }
}


/* =========================================================
   FINAL APP HOMEPAGE CLEANUP
   Clean header, bigger rainbow, centered title, 15-day trial
========================================================= */

/* Header */
.topbar {
  min-height: 86px;
  padding: 12px 28px;
}

.top-icons {
  justify-content: center;
  flex: 1;
}

.top-icons img:not(.rainbow-icon) {
  display: none !important;
}

.top-icons {
  justify-content: center;
  flex: 1;
  gap: 10px;
}

.top-icons img:not(.rainbow-icon) {
  display: none !important;
}

.top-icons .rainbow-icon {
  height: 72px;
  width: auto;
  object-fit: contain;
  margin: 0 2px;
}
/* Hero */
.hero {
  display: grid;
  grid-template-columns: 230px 1fr 230px;
  align-items: center;
  gap: 24px;
  padding: 18px 72px 18px;
  background:
    radial-gradient(circle at left bottom, rgba(129, 212, 250, 0.18), transparent 22%),
    radial-gradient(circle at right bottom, rgba(129, 212, 250, 0.18), transparent 22%),
    #f8fcff;
  border-bottom: 1px solid #e9f2f8;
}

.hero-center {
  text-align: center;
}

.hero-center h1 {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 38px;
  line-height: 1.05;
  margin-bottom: 4px;
  font-weight: 800;
}

.hero-center h1 .speech {
  color: #4fc3f7;
}

.hero-center h1 .visuals {
  color: #ff8a65;
}

.hero-subtitle {
  color: #333;
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 14px;
}

.hero-center p {
  max-width: 920px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.42;
  color: #333;
}

.trial-note {
  margin-top: 18px;
  font-size: 15px;
  font-weight: 800;
  color: #333;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.trial-note::before,
.trial-note::after {
  content: "";
  display: inline-block;
  width: 80px;
  height: 2px;
  background: #4fc3f7;
  margin: 0 10px;
}

.hero-side {
  width: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-side.left,
.hero-side.right {
  padding: 0;
  justify-content: center;
}

.btn-main {
  min-width: 190px;
  text-align: center;
  padding: 14px 20px;
  border-radius: 12px;
  font-size: 16px;
}

.btn-blue {
  background: #0d8ff2;
  color: #fff;
}

.btn-yellow {
  background: #ffd450;
  color: #111;
}

/* Hide old duplicate tags and decorations */
.hero-tags {
  display: none !important;
}

.floating-icons,
.float-icon {
  display: none !important;
}

/* Category sections */
.container {
  padding-top: 26px;
}

.home-row {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 42px;
  align-items: start;
  border-bottom: 1px solid #e9e9e9;
  padding-bottom: 18px;
  margin-bottom: 18px;
}

.home-row:last-of-type {
  border-bottom: none;
}

.home-left {
  padding-left: 20px;
}

.home-right {
  padding-left: 28px;
}

.grid,
.learning-grid,
.small-grid,
.custom-grid {
  justify-content: start;
}

.grid {
  gap: 14px;
}

.card {
  min-height: 88px;
  font-size: 15px;
}

.everyday-row .card,
.learning-row .card,
.conversation-row .card,
.custom-row .card {
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}

/* Tablet */
@media (max-width: 1000px) {
  .topbar {
    min-height: 74px;
  }

  .top-icons .rainbow-icon {
    height: 66px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 20px 18px 22px;
  }

  .hero-center {
    order: 1;
  }

  .hero-side.left {
    order: 2;
  }

  .hero-side.right {
    order: 3;
  }

  .hero-center h1 {
    font-size: 34px;
  }

  .hero-subtitle {
    font-size: 20px;
  }

  .hero-center p {
    font-size: 15px;
    max-width: 680px;
  }

  .trial-note::before,
  .trial-note::after {
    width: 38px;
  }

  .home-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .home-left,
  .home-right {
    padding-left: 0;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .topbar {
    min-height: 64px;
    padding: 8px 10px;
  }

  .top-icons {
    display: flex !important;
    flex: 0 0 auto;
  }

  .top-icons .rainbow-icon {
    height: 40px;
  }

  .hero {
    padding: 14px 10px 16px;
  }

  .hero-center h1 {
    font-size: 28px;
    gap: 6px;
    margin-bottom: 3px;
  }

  .hero-subtitle {
    font-size: 16px;
    margin-bottom: 8px;
  }

  .hero-center p {
    font-size: 13px;
    line-height: 1.35;
  }

  .trial-note {
    font-size: 12px;
    margin-top: 10px;
  }

  .trial-note::before,
  .trial-note::after {
    display: none;
  }

  .btn-main {
    min-width: 150px;
    padding: 9px 12px;
    font-size: 13px;
  }

  .container {
    padding-top: 14px;
  }
}

@media (max-width: 430px) {
  .top-icons .rainbow-icon {
    height: 34px;
  }

  .hero-center h1 {
    font-size: 24px;
  }

  .hero-subtitle {
    font-size: 14px;
  }

  .trial-full {
    display: inline;
  }
}