:root {
  --toyaja-primary: #e01a23;
  --toyaja-secondary: #f6b800;
  --toyaja-dark: #4a0d00;
  --bg: #fff;
  --muted: #6b6b6b;
  --max-width: 1180px;
  --radius: 12px;
  --gap: 18px;
  --shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: Inter, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color: #0f1724;
  background: linear-gradient(180deg, #fff, #fff);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
}

a {
  color: var(--toyaja-primary);
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 18px;
}

header.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(6px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(10, 10, 10, 0.04);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand img {
  height: 44px;
  width: auto;
}

.brand .title {
  font-weight: 800;
  color: var(--toyaja-dark);
  font-size: 16px;
}

nav.primary {
  display: flex;
  gap: 12px;
  align-items: center;
}

nav.primary a {
  padding: 8px 12px;
  border-radius: 8px;
  font-weight: 600;
  color: #111;
}

nav.primary a.active {
  background: linear-gradient(90deg, var(--toyaja-primary), #ff6b4d);
  color: white;
  box-shadow: var(--shadow);
}

.actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 0;
  font-weight: 700;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(90deg, var(--toyaja-primary), #ff6b4d);
  color: white;
  box-shadow: 0 6px 18px rgba(224, 26, 35, 0.12);
}

.btn-ghost {
  background: transparent;
  border: 1px solid rgba(10, 10, 10, 0.06);
  color: var(--toyaja-dark);
}

.mobile-menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  font-weight: 700;
  padding: 6px 8px;
  border-radius: 8px;
}

#mobileNav {
  padding: 10px 18px;
}

#mobileNav a {
  padding: 2px 0px;
  color: #111;
  font-size: 14px;
}

#mobileNav a.nav-link.active {
  width: max-content;
  border-bottom: 2px solid var(--toyaja-primary);
}

main {
  padding: 28px 0;
}

.hero {
  display: grid;
  gap: 18px;
  align-items: center;
  margin-top: 8px;
  grid-template-columns: 1fr;
  /* padding: 26px 0; */
}

@media (min-width: 920px) {
  .hero {
    grid-template-columns: 1fr 460px;
    gap: 28px;
  }
}

.hero .kicker {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--toyaja-secondary), #fce974);
  font-weight: 800;
  color: var(--toyaja-dark);
  font-size: 13px;
}

.hero h1 {
  margin: 8px 0 6px;
  font-size: 28px;
  color: var(--toyaja-dark);
}

.hero p.lead {
  margin: 0;
  color: var(--muted);
  max-width: 680px;
}

.hero .ctas {
  margin-top: 12px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.card {
  background: var(--bg);
  border-radius: 12px;
  padding: 18px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(10, 10, 10, 0.03);
}

aside a {
  margin-bottom: 5px;
  width: 420px !important;
  justify-content: center;
}

.product-grid {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

@media (min-width: 900px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

section.site-section {
  padding: 36px 0;
}

section.site-section h2 {
  font-size: 22px;
  margin: 0 0 12px 0;
  color: var(--toyaja-dark);
}

.muted {
  color: var(--muted);
}

.prod-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  border-radius: 12px;
  background: linear-gradient(180deg, #fff, #fff);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.prod-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  padding: 6px 8px;
  border-radius: 8px;
  color: white;
  background: var(--toyaja-primary);
  width: max-content;
}

.pricing-grid {
  display: grid;
  gap: 16px;
}

@media (min-width: 900px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.price {
  padding: 18px;
  border-radius: 12px;
  background: linear-gradient(180deg, #fff, #fff);
  border: 1px solid rgba(10, 10, 10, 0.04);
}

.price.card {
  display: flex;
  flex-direction: column;
}

.plan-header {
  padding-bottom: 10px;
  border-bottom: 1px solid var(--muted);
}

.plan-header h4 {
  margin-bottom: 5px;
}

.price .amount {
  margin-top: 20px;
  font-size: 22px;
  font-weight: 900;
  color: var(--toyaja-primary);
}

.price .monthly {
  display: block;
  font-size: 16px;
  color: var(--muted);
  margin-top: 0.3rem;
}

.plan-select {
  display: flex;
  /* justify-content: center; */
  align-items: center;
  margin-top: 20px;
}

.plan-select select {
  width: 70%;
  padding: 10px;
  border: 1px solid #111;
}

.plan-features {
  padding: 1rem 1.5rem;
  flex: 1;
}

.plan-features ul {
  list-style: disc;
  padding: 0 0.5rem;
  margin: 0;
}

.plan-features li {
  padding: 0.6rem 0.3rem;
  border-bottom: 1px solid #e5e7eb;
  font-size: 0.95rem;
}

.plan-features li:last-child {
  border-bottom: none;
}

.singlePlan {
  font-size: 16px;
}

.single-plan {
  width: 35%;
}

.plan-footer .btn {
  font-size: 16px;
  padding: 12px 14px;
}

.cross-sell {
  /* background: #fff7f0; */
  margin-top: 18px;
  padding: 60px 20px;
  text-align: center;
}

.cross-sell-title {
  /* font-size: 2rem; */
  color: var(--toyaja-primary) !important;
  margin-bottom: 40px;
  font-weight: 700;
}

.cross-sell-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  max-width: 1100px;
  margin: 0 auto;
}

.cross-sell-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 25px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border-top: 6px solid #e01a23;
}

.cross-sell-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
  /* border-top-color: #ff6b4d; */
}

.cross-sell-card h3 {
  color: #ff6b4d;
  /* font-size: 1.3rem; */
  margin-bottom: 10px;
}

.cross-sell-card p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 20px;
}

.learn-more {
  color: #e01a23;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.learn-more:hover {
  color: #ff8000;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
}

.compare-table th,
.compare-table td {
  padding: 12px;
  border: 1px solid rgba(10, 10, 10, 0.04);
  text-align: left;
}

.compare-table th {
  background: #fbfbfb;
}

.blog-grid {
  display: grid;
  gap: 16px;
}

@media (min-width: 900px) {
  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.post {
  padding: 16px;
  border-radius: 10px;
  border: 1px solid rgba(10, 10, 10, 0.04);
  background: linear-gradient(180deg, #fff, #fff);
}

.contact-grid {
  display: grid;
  gap: 16px;
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr 420px;
  }
}

input[type="text"],
input[type="email"],
textarea,
select {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid rgba(10, 10, 10, 0.08);
  font-size: 14px;
  margin-top: 6px;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

footer.site-footer {
  padding: 28px 0;
  border-top: 1px solid rgba(10, 10, 10, 0.04);
  margin-top: 15px;
}

.footer-grid {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
}

.section-hidden {
  display: none;
}

.section-visible {
  display: block;
}

.row {
  display: flex;
  gap: 12px;
  align-items: center;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.logo-row {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 24px;
  align-items: center;
  justify-items: center;
}

.logo-row img {
  max-width: 100%;
  max-height: 70px;
  object-fit: contain;
  opacity: 0.95;
  transition: all 0.3s ease;
}

.logo-row img:hover {
  filter: grayscale(0);
  opacity: 1;
  transform: scale(1.05);
}

.footer-social-inline {
  display: flex;
  gap: 30px;
  align-items: center;
}

.footer-social-inline a {
  display: inline-flex;
  width: 26px;
  height: 26px;
}

.footer-social-inline svg {
  width: 100%;
  height: 100%;
  fill: var(--toyaja-primary);
}

/* sticky CTA bottom (Version B: only on product & pricing pages) */
.bottom-cta {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 18px;
  display: flex;
  justify-content: center;
  z-index: 80;
  /* transition: transform 0.2s ease, opacity 0.2s ease; */
  animation: ctaSlideUp 0.5s ease-out forwards;
  pointer-events: auto;
}

/* ===== Animation ===== */
@keyframes ctaSlideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* .bottom-cta.hidden {
  opacity: 0;
  transform: translateY(40px);
  pointer-events: none;
} */

.bottom-cta .cta-inner {
  max-width: 980px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: linear-gradient(90deg, var(--toyaja-primary), #ff6b4d);
  color: white;
  box-shadow: 0 12px 30px rgba(224, 26, 35, 0.12);
}

.bottom-cta .cta-inner .cta-left {
  font-weight: 800;
}

.bottom-cta .cta-inner .cta-right .btn {
  background: white;
  color: var(--toyaja-primary);
  font-weight: 800;
}

/* safe area */
@supports (padding: env(safe-area-inset-bottom)) {
  .bottom-cta {
    padding-bottom: env(safe-area-inset-bottom);
  }
}

/* ===========
   RESPONSIVE 
============== */

@media (max-width: 1024px) {
  .nav-row {
    padding: 10px;
  }

  nav.primary a {
    padding: 8px;
  }

  .actions .btn,
  .actions button {
    padding: 12px;
    font-size: 16px;
  }

  aside a {
    width: 100% !important;
  }

  .plan-select select {
    width: 90%;
  }
}

@media (max-width: 920px) {
  nav.primary {
    display: none;
  }

  .mobile-menu-toggle {
    display: inline-block;
  }

  .hero h1 {
    font-size: 22px;
  }

  .hero-inside {
    width: 100% !important;
  }

  .support-icon {
    display: none;
  }
}

/* Hero section */
@media (max-width: 768px) {
  .product-grid,
  .pricing-grid,
  .blog-grid,
  .contact-grid {
    grid-template-columns: 1fr !important;
  }

  .plan {
    display: block !important;
  }

  .price-badge {
    text-align: left !important;
  }

  .card,
  .prod-card,
  .price,
  .post {
    padding: 14px;
    /* width: 100%; */
  }

  .price .amount {
    font-size: 20px;
  }

  .plan-select select {
    width: 80%;
  }

  .plan-features {
    padding: 1rem;
  }

  .single-plan {
    width: 50%;
  }

  .cross-sell {
    padding: 40px 14px;
  }

  .cross-sell-title {
    font-size: 18px;
    margin-bottom: 25px;
  }

  .cross-sell-card {
    padding: 18px;
  }

  .compare-table {
    display: block;
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
  }

  input[type="text"],
  input[type="email"],
  textarea,
  select {
    font-size: 14px;
  }

  .bottom-cta .cta-inner {
    font-size: 14px;
    text-align: center;
  }

  .bottom-cta .cta-right .btn {
    width: 100%;
    font-size: 14px;
    justify-content: center;
  }
}

@media (max-width: 430px) {
  .brand img {
    height: 40px;
  }

  .actions .btn,
  .actions button {
    padding: 10px;
    font-size: 12px;
  }

  .single-plan {
    width: 100%;
  }

  .bottom-cta .cta-inner {
    padding: 8px;
    font-size: 10px;
    text-align: center;
  }

  .bottom-cta .cta-right .btn {
    width: 100%;
    font-size: 10px;
    padding: 6px 8px;
    justify-content: center;
  }
}

@media (max-width: 380px) {
  .hero h1 {
    font-size: 18px;
  }

  .btn {
    font-size: 14px;
    padding: 10px;
  }

  .actions .btn,
  .actions button {
    padding: 8px;
    font-size: 12px;
  }
}

/* Very small devices */
@media (max-width: 320px) {
  .hero h1 {
    font-size: 18px;
  }

  .btn {
    font-size: 12px;
    padding: 8px;
  }

  .actions .btn,
  .actions button {
    padding: 8px;
    font-size: 9px;
  }
}
