/*
 * thatsmy.id — Premium Purple Tech Theme
 * CSS theme override for the public marketing site.
 *
 * Palette:
 *   Ink:       #080610
 *   Surface:   #110c1d
 *   Purple:    #7c2cff
 *   Violet:    #a855f7
 *   Lavender:  #d8b4fe
 *
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  color-scheme: dark;
  --tmid-bg: #080610;
  --tmid-bg-soft: #0d0916;
  --tmid-surface: #110c1d;
  --tmid-surface-raised: #171024;
  --tmid-surface-glass: rgba(23, 16, 36, 0.76);
  --tmid-purple: #7c2cff;
  --tmid-purple-bright: #922fff;
  --tmid-violet: #a855f7;
  --tmid-lavender: #d8b4fe;
  --tmid-text: #faf7ff;
  --tmid-muted: #b7aec5;
  --tmid-subtle: #81778f;
  --tmid-border: rgba(190, 139, 255, 0.18);
  --tmid-border-strong: rgba(168, 85, 247, 0.42);
  --tmid-gradient: linear-gradient(120deg, #d8b4fe 0%, #a855f7 38%, #6d28d9 100%);
  --tmid-gradient-button: linear-gradient(110deg, #922fff 0%, #7025df 55%, #5720bd 100%);
  --tmid-glow: 0 0 42px rgba(124, 44, 255, 0.20);
  --tmid-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
  --tmid-radius-sm: 10px;
  --tmid-radius: 18px;
  --tmid-radius-lg: 26px;
  --tmid-content: 1160px;
  --faq-bg: #100b1c;
  --faq-item-bg: #171025;
  --faq-answer-bg: #110c1d;
  --faq-border: rgba(168, 85, 247, 0.18);
  --faq-purple: #7c2cff;
  --faq-violet: #a855f7;
  --faq-lavender: #d8b4fe;
  --faq-text: #f8f5ff;
  --faq-muted: #c4b8d6;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--tmid-bg);
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--tmid-text);
  background:
    radial-gradient(ellipse at 50% -18%, rgba(105, 36, 197, 0.22), transparent 46rem),
    radial-gradient(ellipse at 100% 42%, rgba(91, 31, 158, 0.10), transparent 34rem),
    var(--tmid-bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video {
  max-width: 100%;
  height: auto;
}

img {
  vertical-align: middle;
}

a {
  color: var(--tmid-lavender);
  text-decoration: none;
  transition: color .2s ease, opacity .2s ease;
}

a:hover {
  color: #fff;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
[type="button"],
[type="submit"],
.btn,
.button,
a.button,
a.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 46px;
  padding: .78rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #fff;
  background: var(--tmid-gradient-button);
  box-shadow: 0 8px 28px rgba(112, 37, 223, .24);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease, border-color .2s ease;
}

button:hover,
[type="button"]:hover,
[type="submit"]:hover,
.btn:hover,
.button:hover,
a.button:hover,
a.btn:hover {
  color: #fff;
  filter: brightness(1.12);
  transform: translateY(-2px);
  box-shadow: 0 12px 34px rgba(124, 44, 255, .38);
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--tmid-lavender);
  outline-offset: 3px;
}

.btn-secondary,
.button-secondary,
a.btn-secondary,
a.button-secondary,
button.secondary {
  color: var(--tmid-text);
  background: rgba(255,255,255,.045);
  border-color: var(--tmid-border-strong);
  box-shadow: none;
}

.btn-secondary:hover,
.button-secondary:hover,
a.btn-secondary:hover,
a.button-secondary:hover,
button.secondary:hover {
  background: rgba(124, 44, 255, .14);
  border-color: var(--tmid-violet);
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 .8em;
  color: var(--tmid-text);
  font-weight: 750;
  line-height: 1.12;
  letter-spacing: -.035em;
}

h1 {
  font-size: clamp(2.7rem, 6.6vw, 5.4rem);
  letter-spacing: -.065em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.65rem);
}

p {
  margin: 0 0 1.15rem;
  color: var(--tmid-muted);
}

strong, b {
  color: var(--tmid-text);
}

small, .text-muted, .muted {
  color: var(--tmid-muted);
}

/* =========================================
   THATSMY.ID — MOBILE NAVBAR FIX
   ========================================= */

@media (max-width: 991.98px) {

  /* Navbar container */
  nav.navbar.navbar-expand-lg > .container {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: space-between !important;
  }

  /* Logo */
  nav.navbar.navbar-expand-lg .navbar-brand {
    display: block !important;
    flex: 0 1 auto !important;
    width: auto !important;
    max-width: calc(100% - 60px) !important;
    min-width: 0 !important;
    margin: 0 auto 0 0 !important;
    padding: 0 !important;
  }

  /* Logo image */
  nav.navbar.navbar-expand-lg .navbar-brand img {
    display: block !important;
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: 65px !important;
    object-fit: contain;
  }

  /* Hamburger toggle */
  nav.navbar.navbar-expand-lg .navbar-toggler {
    display: block !important;
    flex: 0 0 auto !important;
    width: 56px;
    margin: 0 0 0 auto !important;
    padding: 8px 12px;
    position: relative;
    z-index: 100001;
  }

  /* Collapsed navigation */
  nav.navbar.navbar-expand-lg .navbar-collapse {
    flex-basis: 100% !important;
    flex-grow: 1 !important;
    width: 100%;
  }

  /* Expanded menu */
  nav.navbar.navbar-expand-lg .navbar-collapse.show,
  nav.navbar.navbar-expand-lg .navbar-collapse.collapsing {
    width: 100%;
  }
}

/* Layout helpers */
.container,
.wrapper,
.content-wrapper,
main > section > .inner {
  width: min(calc(100% - 2.5rem), var(--tmid-content));
  margin-inline: auto;
}

section {
  position: relative;
  padding-block: clamp(4rem, 8vw, 7rem);
}

section + section {
  border-top: 1px solid rgba(190, 139, 255, .07);
}

.section-heading,
.section-title,
.section-header {
  max-width: 760px;
  margin: 0 auto 2.8rem;
  text-align: center;
}

.section-heading p,
.section-title p,
.section-header p {
  max-width: 620px;
  margin-inline: auto;
  font-size: 1.08rem;
}

/* Header and navigation */
header,
.site-header,
.navbar,
nav[aria-label="Main navigation"] {
  color: var(--tmid-text);
}

header,
.site-header {
  position: relative;
}

.navbar,
.site-nav,
nav[aria-label="Main navigation"] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: min(calc(100% - 2.5rem), 1280px);
  margin: 1rem auto 0;
  padding: .85rem 1.15rem;
  border: 1px solid var(--tmid-border);
  border-radius: 999px;
  background: rgba(13, 9, 22, .76);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 12px 40px rgba(0,0,0,.22);
}

.navbar a,
.site-nav a,
nav[aria-label="Main navigation"] a {
  color: var(--tmid-muted);
  font-weight: 600;
}

.navbar a:hover,
.site-nav a:hover,
nav[aria-label="Main navigation"] a:hover {
  color: #fff;
}

.logo,
.site-logo,
.navbar-brand,
.brand {
  display: inline-flex;
  align-items: center;
  color: #fff;
  font-weight: 800;
  letter-spacing: -.045em;
}

.logo img,
.site-logo img,
.navbar-brand img,
.brand img {
  display: block;
  width: auto;
  max-height: 48px;
  object-fit: contain;
}

/* Hero */
.hero,
#hero,
.hero-section,
.banner {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(5rem, 11vw, 9rem);
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 42%, rgba(124, 44, 255, .23), transparent 34rem),
    linear-gradient(180deg, rgba(16, 10, 27, .18), rgba(8, 6, 16, 0));
}

.hero::before,
#hero::before,
.hero-section::before,
.banner::before {
  position: absolute;
  z-index: -1;
  top: 10%;
  left: 50%;
  width: min(72vw, 720px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(124, 44, 255, .12);
  filter: blur(100px);
  transform: translateX(-50%);
  content: "";
  pointer-events: none;
}

.hero h1,
#hero h1,
.hero-section h1,
.banner h1 {
  max-width: 1000px;
  margin: 0 auto 1.25rem;
  background: linear-gradient(115deg, #fff 8%, #eee2ff 48%, #bd83ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p,
#hero p,
.hero-section p,
.banner p {
  max-width: 680px;
  margin: 0 auto 1.8rem;
  color: #c9bfd6;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.hero .actions,
.hero-actions,
.hero-buttons,
.cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .85rem;
  margin-top: 2rem;
}

/* Eyebrows / small brand labels */
.eyebrow,
.overline,
.kicker,
.section-label {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1rem;
  color: var(--tmid-lavender);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.eyebrow::before,
.overline::before,
.kicker::before,
.section-label::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--tmid-violet);
  box-shadow: 0 0 14px var(--tmid-violet);
  content: "";
}

/* Feature and information cards */
.card,
.feature-card,
.info-card,
.plan-card,
.pricing-card,
article,
.panel {
  border: 1px solid var(--tmid-border);
  border-radius: var(--tmid-radius);
  background: linear-gradient(145deg, rgba(27, 18, 43, .88), rgba(15, 10, 24, .94));
  box-shadow: 0 18px 55px rgba(0,0,0,.18);
}

.card,
.feature-card,
.info-card,
article,
.panel {
  padding: clamp(1.35rem, 3vw, 2rem);
}

.card:hover,
.feature-card:hover,
.info-card:hover,
.plan-card:hover,
.pricing-card:hover {
  border-color: var(--tmid-border-strong);
  box-shadow: var(--tmid-glow), var(--tmid-shadow);
  transform: translateY(-4px);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.card h3,
.feature-card h3,
.info-card h3 {
  margin-bottom: .65rem;
}

.feature-icon,
.icon-box,
.card-icon {
  display: inline-grid;
  width: 52px;
  height: 52px;
  margin-bottom: 1.2rem;
  place-items: center;
  border: 1px solid rgba(190,139,255,.24);
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(145deg, rgba(168,85,247,.28), rgba(109,40,217,.10));
  box-shadow: inset 0 1px rgba(255,255,255,.10), 0 8px 24px rgba(124,44,255,.12);
}

/* Simple and effective / About */
#about,
.about,
.about-section,
.features,
.features-section {
  background: linear-gradient(180deg, transparent, rgba(31, 15, 51, .20), transparent);
}

.feature-grid,
.features-grid,
.cards-grid,
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}

.feature-card p:last-child,
.info-card p:last-child,
.card p:last-child {
  margin-bottom: 0;
}

/* Pricing */
#pricing,
.pricing,
.pricing-section,
.plans {
  background:
    radial-gradient(ellipse at 50% 50%, rgba(103, 36, 180, .12), transparent 48rem),
    transparent;
}

.pricing-grid,
.plans-grid,
.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 1.15rem;
}

.plan-card,
.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 3vw, 2.2rem);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.plan-card h3,
.pricing-card h3 {
  margin-bottom: .35rem;
}

.plan-card .price,
.pricing-card .price,
.price {
  margin: .6rem 0 1.2rem;
  color: #fff;
  font-size: clamp(2.2rem, 4vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -.06em;
}

.price small,
.plan-card .price small,
.pricing-card .price small {
  color: var(--tmid-muted);
  font-size: .95rem;
  font-weight: 500;
  letter-spacing: 0;
}

.plan-card ul,
.pricing-card ul,
.features-list {
  display: grid;
  gap: .75rem;
  margin: 1rem 0 1.7rem;
  padding: 0;
  list-style: none;
}

.plan-card li,
.pricing-card li,
.features-list li {
  position: relative;
  padding-left: 1.65rem;
  color: var(--tmid-muted);
}

.plan-card li::before,
.pricing-card li::before,
.features-list li::before {
  position: absolute;
  left: 0;
  color: var(--tmid-lavender);
  font-weight: 800;
  content: "✓";
}

.plan-card .btn,
.pricing-card .btn,
.plan-card .button,
.pricing-card .button {
  width: 100%;
  margin-top: auto;
}

.plan-card.featured,
.pricing-card.featured,
.plan-card.popular,
.pricing-card.popular,
.featured-plan {
  border-color: rgba(168,85,247,.72);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(124,44,255,.25), transparent 60%),
    linear-gradient(145deg, #211333, #120b20 72%);
  box-shadow: 0 0 0 1px rgba(168,85,247,.12), 0 20px 65px rgba(91,32,173,.22);
}

.plan-card.featured::before,
.pricing-card.featured::before,
.plan-card.popular::before,
.pricing-card.popular::before,
.featured-plan::before {
  position: absolute;
  top: -13px;
  left: 50%;
  padding: .35rem .9rem;
  border: 1px solid rgba(216,180,254,.45);
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(110deg, #922fff, #6d28d9);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  content: "Most popular";
  transform: translateX(-50%);
}

/* Metrics / counters */
.stats,
.statistics,
.stats-section,
.metrics {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(2rem, 7vw, 6rem);
  text-align: center;
}

.stat,
.stat-item,
.metric {
  min-width: 130px;
}

.stat strong,
.stat-item strong,
.metric strong,
.stat-number {
  display: block;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -.06em;
}

.stat span,
.stat-item span,
.metric span {
  color: var(--tmid-muted);
  font-size: .92rem;
}

/* Forms */
input,
select,
textarea,
.form-control {
  width: 100%;
  min-height: 46px;
  padding: .8rem 1rem;
  border: 1px solid var(--tmid-border);
  border-radius: var(--tmid-radius-sm);
  color: var(--tmid-text);
  background: rgba(255,255,255,.045);
}

input::placeholder,
textarea::placeholder {
  color: var(--tmid-subtle);
}

input:focus,
select:focus,
textarea:focus,
.form-control:focus {
  border-color: var(--tmid-violet);
  outline: none;
  box-shadow: 0 0 0 3px rgba(168,85,247,.14);
}

label {
  display: inline-block;
  margin-bottom: .4rem;
  color: var(--tmid-text);
  font-weight: 600;
}

/* Footer */
footer,
.site-footer {
  padding: 3.5rem 0 2rem;
  border-top: 1px solid var(--tmid-border);
  color: var(--tmid-muted);
  background: #06040b;
}

footer a,
.site-footer a {
  color: #cbb1ed;
}

footer a:hover,
.site-footer a:hover {
  color: #fff;
}

footer p,
.site-footer p {
  color: var(--tmid-subtle);
}

.footer-bottom,
.copyright {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(190,139,255,.10);
  color: var(--tmid-subtle);
  font-size: .88rem;
}

/* Utility classes */
.text-gradient {
  color: var(--tmid-lavender);
  background: var(--tmid-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.glass {
  border: 1px solid var(--tmid-border);
  background: var(--tmid-surface-glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.glow {
  box-shadow: var(--tmid-glow);
}

.divider,
hr {
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, transparent, rgba(190,139,255,.28), transparent);
}

/* Tables, alerts and common framework components */
table {
  width: 100%;
  border-collapse: collapse;
  color: var(--tmid-muted);
}

th, td {
  padding: .9rem 1rem;
  border-bottom: 1px solid var(--tmid-border);
  text-align: left;
}

th {
  color: var(--tmid-text);
  font-weight: 700;
}

.alert,
.notice {
  padding: 1rem 1.2rem;
  border: 1px solid var(--tmid-border-strong);
  border-radius: var(--tmid-radius-sm);
  color: var(--tmid-text);
  background: rgba(124,44,255,.10);
}

/* Keep browser autofill legible on the dark theme */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--tmid-text);
  box-shadow: 0 0 0 1000px #171024 inset;
  transition: background-color 9999s ease-out;
}
.ck-content p {
  color: black;
}

.dropdown-item:hover{
  background-color: unset;
}
/* FAQ section */
.faq-section {
  background: transparent;
}

/* Accordion wrapper */
.faq-section .accordion,
.faq-section .faq-accordion {
  max-width: 900px;
  margin: 0 auto;
  padding: 12px;
  background: var(--faq-bg);
  border: 1px solid var(--faq-border);
  border-radius: 20px;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.25);
}

/* Individual FAQ items */
.faq-section .accordion-item,
.faq-section .faq-item {
  overflow: hidden;
  margin-bottom: 12px;
  background: var(--faq-item-bg);
  border: 1px solid var(--faq-border);
  border-radius: 14px;
  transition: border-color 0.25s ease,
  box-shadow 0.25s ease;
}

.faq-section .accordion-item:last-child,
.faq-section .faq-item:last-child {
  margin-bottom: 0;
}

/* Question / clickable header */
.faq-section .accordion-button,
.faq-section .faq-question {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 64px;
  padding: 18px 22px;
  color: var(--faq-text);
  background: linear-gradient(
          110deg,
          rgba(124, 44, 255, 0.22),
          rgba(168, 85, 247, 0.10)
  );
  border: 0;
  border-radius: 0;
  font-size: 16px;
  font-weight: 650;
  text-align: left;
  cursor: pointer;
  transition: background 0.25s ease,
  color 0.25s ease;
}

/* Hover */
.faq-section .accordion-button:hover,
.faq-section .faq-question:hover {
  color: #ffffff;
  background: linear-gradient(
          110deg,
          rgba(124, 44, 255, 0.38),
          rgba(168, 85, 247, 0.22)
  );
}

/* Open question */
.faq-section .accordion-button:not(.collapsed),
.faq-section .faq-question[aria-expanded="true"] {
  color: #ffffff;
  background: linear-gradient(
          110deg,
          #7025df,
          #5120a9
  );
}

/* Keyboard focus */
.faq-section .accordion-button:focus-visible,
.faq-section .faq-question:focus-visible {
  outline: 2px solid var(--faq-lavender);
  outline-offset: -3px;
  box-shadow: none;
}

/* Remove default Bootstrap focus shadow */
.faq-section .accordion-button:focus {
  box-shadow: none;
}

/* Chevron indicator */
.faq-section .accordion-button::after {
  filter: brightness(0) invert(1);
  opacity: 0.85;
  transition: transform 0.25s ease;
}

/* Answer panel */
.faq-section .accordion-body,
.faq-section .faq-answer {
  padding: 20px 22px;
  color: var(--faq-muted);
  background: var(--faq-answer-bg);
  border-top: 1px solid var(--faq-border);
  font-size: 15px;
  line-height: 1.75;
}

/* Links inside answers */
.faq-section .accordion-body a,
.faq-section .faq-answer a {
  color: var(--faq-lavender);
  text-decoration: none;
  transition: color 0.2s ease;
}

.faq-section .accordion-body a:hover,
.faq-section .faq-answer a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Open item glow */
.faq-section .accordion-item:has(
  .accordion-button:not(.collapsed)
) {
  border-color: rgba(168, 85, 247, 0.45);
  box-shadow: 0 5px 22px rgba(124, 44, 255, 0.12);
}

/* Mobile adjustments */
@media (max-width: 600px) {
  .faq-section {
    padding: 40px 14px;
  }

  .faq-section .accordion,
  .faq-section .faq-accordion {
    padding: 8px;
    border-radius: 16px;
  }

  .faq-section .accordion-button,
  .faq-section .faq-question {
    min-height: 58px;
    padding: 15px 16px;
    font-size: 14px;
  }

  .faq-section .accordion-body,
  .faq-section .faq-answer {
    padding: 16px;
    font-size: 14px;
  }
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label,
.form-floating > .form-control-plaintext ~ label,
.form-floating > .form-select ~ label {
  opacity: 0.65;
  transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);
  color: black;
}


/* thatsmy.id — Primary to Secondary Gradient */

.bg-gradient-primary-to-secondary {
  background: linear-gradient(
          135deg,
          #5120a9 0%,
          #7c2cff 50%,
          #a855f7 100%
  ) !important;
  color: #ffffff;
}

/* Optional hover effect */
.bg-gradient-primary-to-secondary:hover {
  background: linear-gradient(
          135deg,
          #6025c7 0%,
          #8b3dff 50%,
          #b66aff 100%
  ) !important;
}


/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  .faq-section *,
  .faq-section *::before,
  .faq-section *::after {
    transition: none !important;
  }
}

/* Responsive */
@media (max-width: 900px) {
  .feature-grid,
  .features-grid,
  .cards-grid,
  .steps-grid,
  .pricing-grid,
  .plans-grid,
  .plan-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .navbar,
  .site-nav,
  nav[aria-label="Main navigation"] {
    border-radius: 20px;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  .container,
  .wrapper,
  .content-wrapper,
  main > section > .inner {
    width: min(calc(100% - 2rem), var(--tmid-content));
  }

  section {
    padding-block: 3.6rem;
  }

  .feature-grid,
  .features-grid,
  .cards-grid,
  .steps-grid,
  .pricing-grid,
  .plans-grid,
  .plan-grid {
    grid-template-columns: 1fr;
  }

  .navbar,
  .site-nav,
  nav[aria-label="Main navigation"] {
    width: calc(100% - 1.25rem);
    margin-top: .6rem;
    padding: .8rem;
    border-radius: 16px;
    flex-wrap: wrap;
  }

  .hero,
  #hero,
  .hero-section,
  .banner {
    padding-block: 5rem 4rem;
  }

  .hero .actions,
  .hero-actions,
  .hero-buttons,
  .cta-group {
    flex-direction: column;
    align-items: stretch;
    width: min(100%, 340px);
    margin-inline: auto;
  }

  .hero .actions > *,
  .hero-actions > *,
  .hero-buttons > *,
  .cta-group > * {
    width: 100%;
  }

  .stats,
  .statistics,
  .stats-section,
  .metrics {
    gap: 1.5rem;
  }

  footer,
  .site-footer {
    padding-top: 2.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* ==========================================
   THATSMY.ID - GLOBAL LAYERING FIX
   ========================================== */

/* Navigation must be the topmost page element */
body > nav,
body nav:first-of-type:not(),
nav {
  position: relative !important;
  z-index: 99999 !important;
  overflow: visible !important;
  isolation: isolate;
}

/* Navigation inner containers */
nav .container,
nav .navbar,
nav .navbar-container {
  position: relative !important;
  z-index: 99999 !important;
  overflow: visible !important;
}

/* Dropdown parent elements */
nav .dropdown,
nav .nav-item,
nav li {
  overflow: visible !important;
}

/* Dropdown menus */
nav .dropdown-menu,
nav .dropdown-content,
nav .submenu,
nav [role="menu"] {
  position: absolute;
  z-index: 100000 !important;
}

/* Header must sit underneath navigation */
header {
  position: relative;
  z-index: 1 !important;
  overflow: visible !important;
}

/* Header container */
header .container {
  position: relative;
  z-index: 1 !important;
  overflow: visible !important;
}

/* All subsequent page sections */
main,
section,
footer {
  position: relative;
  z-index: auto !important;
}

/* Prevent decorative elements from intercepting interactions */
header::before,
header::after,
section::before,
section::after {
  pointer-events: none;
}


/* =========================================
   THATSMY.ID — READONLY & DISABLED INPUTS
   ========================================= */

/* Base readonly and disabled styling */
.form-control[readonly],
.form-control:disabled,
.form-select:disabled,
.form-select[readonly],
input[readonly],
textarea[readonly],
input:disabled,
textarea:disabled,
select:disabled,
.input-group-text {
  color: #d8c9ed !important;
  background-color: #171025 !important;
  border: 1px solid rgba(168, 85, 247, 0.25) !important;
  opacity: 1 !important;
  box-shadow: none !important;
}

/* Readonly inputs */
.form-control[readonly],
input[readonly],
textarea[readonly] {
  background: linear-gradient(
          135deg,
          rgba(124, 44, 255, 0.12),
          rgba(168, 85, 247, 0.06)
  ) !important;
  border-color: rgba(168, 85, 247, 0.35) !important;
  cursor: default;
}

/* Disabled inputs */
.form-control:disabled,
.form-select:disabled,
input:disabled,
textarea:disabled,
select:disabled {
  background-color: #110c1d !important;
  color: #8f829f !important;
  border-color: rgba(168, 85, 247, 0.12) !important;
  cursor: not-allowed;
}

/* Placeholder text */
.form-control[readonly]::placeholder,
input[readonly]::placeholder,
textarea[readonly]::placeholder,
.form-control:disabled::placeholder,
input:disabled::placeholder,
textarea:disabled::placeholder {
  color: #81738f !important;
  opacity: 1;
}

/* Focus should not introduce a bright Bootstrap glow */
.form-control[readonly]:focus,
input[readonly]:focus,
textarea[readonly]:focus,
.form-control:disabled:focus,
input:disabled:focus,
textarea:disabled:focus {
  outline: none !important;
  box-shadow: none !important;
}

/* Disabled and readonly labels */
.form-group:has(.form-control:disabled) label,
.form-group:has(.form-control[readonly]) label {
  color: #a99ab9;
}

/* Disabled select arrow */
.form-select:disabled {
  background-color: #110c1d !important;
}

/* Checkboxes and radio buttons */
.form-check-input:disabled {
  background-color: #171025 !important;
  border-color: rgba(168, 85, 247, 0.3) !important;
  opacity: 0.65;
}

/* Disabled buttons */
.btn:disabled,
.btn.disabled {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none !important;
}

/* =========================================
   THATSMY.ID — ACCOUNT PAGE NAVIGATION FIX
   ========================================= */

/* Main website navigation */
main > nav {
  position: relative !important;
  z-index: 99999 !important;
  overflow: visible !important;
  isolation: isolate;
}

/* Main navigation dropdowns */
main > nav .dropdown-menu {
  position: absolute;
  z-index: 100000 !important;
}

/* Keep account content underneath the main menu */
main > section.container-fluid {
  position: relative;
  z-index: 0;
}

/* Dashboard content */
main > section.container-fluid > .row,
main > section.container-fluid main {
  position: relative;
  z-index: 0;
}

/* Alerts and breadcrumbs must not cover dropdowns */
main > section.container-fluid .alert,
main > section.container-fluid .breadcrumb-menu {
  position: relative;
  z-index: 0;
}


.form-builder *,
.form-builder-dialog *{
  color: black !important;
}

.form-builder .btn-danger {
  color: white !important;
}
