/* ===== INTERNSHIP PROGRAM PAGE ===== */
:root {
  --program-primary: #3a4bb7;
  --program-primary-dark: #24369f;
  --program-accent: #0ea5a4;
  --program-ink: #103741;
  --program-muted: #667085;
  --program-soft: #f7f8fc;
  --program-line: #e6e9f2;
  --program-white: #ffffff;
  --program-shadow: 0 18px 52px rgba(16, 24, 40, 0.08);
  --program-radius: 8px;
  --program-section: clamp(40px, 5vw, 68px);
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--program-ink);
  background: linear-gradient(
    135deg,
    #e8e8f7 0%,
    #e8f4f0 25%,
    #fff9e8 50%,
    #e8f9ff 100%
  );
  font-family:
    "Roboto",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 16px;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
.brand-title,
.btn-primary-solid,
.btn-outline,
.full-btn {
  font-family: "Barlow", "Roboto", system-ui, sans-serif;
}

body {
  max-width: 100%;
}

.container-xxl.bg-white {
  overflow-x: clip;
}

.navbar {
  box-shadow: 0 1px 0 rgba(16, 24, 40, 0.08);
}

.navbar .btn-primary {
  cursor: pointer;
}

.navbar.sticky-top {
  top: -100px;
  background: linear-gradient(
    135deg,
    #fff5f3 0%,
    #e8e8f7 20%,
    #bfc6ef 50%,
    #e8f4f0 75%,
    #fff9e8 100%
  );
  transition: 0.5s;
}

.brand-title {
  font-size: clamp(1.45rem, 2vw, 2rem);
  letter-spacing: 0;
}

.navbar .btn-primary,
.full-btn,
.btn-primary-solid {
  background: linear-gradient(
    135deg,
    var(--program-primary),
    var(--program-primary-dark)
  );
  border: 0;
  box-shadow: 0 12px 28px rgba(91, 91, 214, 0.22);
}

.navbar .btn-primary:hover,
.full-btn:hover,
.btn-primary-solid:hover {
  background: linear-gradient(135deg, #4f46e5, #3730a3);
}

.hero-section,
.problem-section,
.products,
.tracks,
.about-section,
.contact-section {
  position: relative;
  width: 100%;
  max-width: 100vw;
  overflow-x: clip;
  padding: var(--program-section) 0;
}

.hero-section {
  min-height: calc(82vh - 82px);
  display: flex;
  align-items: center;
  text-align: center;
  background:
    radial-gradient(
      circle at 12% 18%,
      rgba(14, 165, 164, 0.13),
      transparent 30%
    ),
    radial-gradient(
      circle at 86% 16%,
      rgba(91, 91, 214, 0.14),
      transparent 32%
    ),
    linear-gradient(180deg, #ffffff 0%, #f7f8ff 100%);
}

.hero-container {
  margin: 0 auto;
}

.hero-content {
  max-width: 920px;
  margin: 0 auto;
}

.hero-badge {
  margin-bottom: 14px;
}

.hero-badge span,
.section-tag,
.about-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 8px 14px;
  border: 1px solid rgba(91, 91, 214, 0.16);
  border-radius: 999px;
  color: var(--program-primary-dark);
  background: rgba(58, 75, 183, 0.08);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-title {
  max-width: 940px;
  margin: 0 auto 16px;
  color: var(--program-ink);
  font-size: clamp(2.2rem, 5.2vw, 4.6rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-title span {
  color: var(--program-primary);
}

.hero-mobile-break {
  display: none;
}

.hero-description {
  max-width: 760px;
  margin: 0 auto 24px;
  color: var(--program-muted);
  font-size: clamp(0.98rem, 1.3vw, 1.08rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 22px;
}

.btn-primary-solid,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 23px;
  border-radius: var(--program-radius);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    color 0.2s ease,
    background 0.2s ease;
}

.btn-primary-solid {
  color: #ffffff;
}

.btn-outline {
  border: 1px solid rgba(91, 91, 214, 0.35);
  color: var(--program-primary-dark);
  background: rgba(255, 255, 255, 0.82);
}

.btn-primary-solid:hover,
.btn-outline:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

.btn-outline:hover {
  color: #ffffff;
  background: var(--program-primary);
  border-color: var(--program-primary);
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.hero-trust span {
  padding: 8px 12px;
  border: 1px solid rgba(16, 24, 40, 0.08);
  border-radius: 999px;
  color: #475467;
  background: rgba(255, 255, 255, 0.78);
  font-size: 0.84rem;
  font-weight: 700;
}

.problem-section,
.tracks,
.contact-section {
  background: #ffffff;
}

.problem-header,
.about-header {
  max-width: 760px;
  margin: 0 auto clamp(24px, 3.2vw, 34px);
  text-align: center;
}

.problem-header h2,
.side-text h2,
.logo-header h2,
.about-header h2,
.contact-form h2,
.why-box h2 {
  margin: 0;
  color: var(--program-ink);
  font-weight: 800;
  letter-spacing: 0;
}

.problem-header h2,
.about-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  line-height: 1.12;
}

.problem-header p,
.about-header p,
.section-subtext,
.side-text > p,
.about-card p {
  color: var(--program-muted);
  line-height: 1.68;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
}

.problem-card,
.track-item,
.about-card,
.contact-form,
.why-box,
.stat-box {
  border: 1px solid var(--program-line);
  border-radius: var(--program-radius);
  background: var(--program-white);
}

.problem-card,
.about-card,
.contact-form,
.why-box {
  box-shadow: 0 16px 45px rgba(16, 24, 40, 0.06);
}

.problem-card {
  min-height: 100%;
  padding: clamp(22px, 2.6vw, 30px);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.problem-card:hover,
.track-item:hover,
.about-card:hover,
.stat-box:hover {
  transform: translateY(-5px);
  box-shadow: var(--program-shadow);
  border-color: rgba(91, 91, 214, 0.28);
}

.problem-icon,
.logo-icon-box,
.icon-box,
.track-img {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.problem-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 16px;
  border-radius: var(--program-radius);
  color: var(--program-primary);
  background: rgba(91, 91, 214, 0.1);
}

.problem-icon i {
  font-size: 1.2rem;
}

.problem-card h3,
.track-info h4,
.about-card h3 {
  margin: 0 0 10px;
  color: var(--program-ink);
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.3;
}

.problem-card p,
.track-info li,
.why-box li,
.product-list li {
  color: #475467;
  line-height: 1.6;
}

.problem-card p {
  margin: 0;
}

.problem-bottom {
  max-width: 850px;
  margin: clamp(22px, 3.2vw, 34px) auto 0;
  padding: clamp(18px, 2.5vw, 24px);
  border: 1px solid rgba(14, 165, 164, 0.18);
  border-radius: var(--program-radius);
  text-align: center;
  background: linear-gradient(
    135deg,
    rgba(14, 165, 164, 0.08),
    rgba(91, 91, 214, 0.08)
  );
}

.problem-bottom p {
  margin: 0;
  color: #344054;
  font-size: clamp(1rem, 1.5vw, 1.16rem);
  line-height: 1.62;
}

.problem-bottom span {
  color: var(--program-primary-dark);
  font-weight: 800;
}

.products {
  background: linear-gradient(180deg, #f7f8fc 0%, #ffffff 100%);
}

.content-wrapper {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(22px, 3.5vw, 46px);
  align-items: center;
}

.side-text {
  max-width: 650px;
}

.side-text h2 {
  margin-top: 12px;
  font-size: clamp(1.85rem, 3.7vw, 3rem);
  line-height: 1.1;
}

.section-subtext {
  margin: 16px 0 0;
  font-size: 1rem;
}

.product-list,
.about-list,
.track-info ul,
.why-box ul {
  padding: 0;
  list-style: none;
}

.product-list {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
}

.product-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(16, 24, 40, 0.07);
  border-radius: var(--program-radius);
  background: #ffffff;
  font-weight: 600;
}

.product-list i,
.about-list i,
.track-info li i {
  margin-top: 3px;
  color: var(--program-accent);
}

.note-text {
  margin: 16px 0 0;
  padding-left: 16px;
  border-left: 3px solid var(--program-accent);
  color: #344054;
  font-weight: 700;
  line-height: 1.65;
}

.side-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.stat-box {
  min-height: 136px;
  padding: clamp(18px, 2.5vw, 24px);
  color: #ffffff;
  background: linear-gradient(
    135deg,
    var(--program-primary),
    var(--program-primary-dark)
  );
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.stat-box h4 {
  margin: 0 0 8px;
  color: inherit;
  font-size: clamp(1.18rem, 1.8vw, 1.5rem);
  font-weight: 900;
}

.stat-box p {
  margin: 0;
  color: inherit;
  opacity: 0.88;
  line-height: 1.55;
}

.stat-box.light {
  color: var(--program-ink);
  background: #ffffff;
}

.stat-box.highlight {
  color: #ffffff;
  background: linear-gradient(135deg, #f97316, #db2777);
}

.tracks {
  justify-content: center;
}

.intern-card-main {
  width: min(100%, 1120px);
  margin: 0 auto;
  padding: clamp(24px, 3.5vw, 38px);
  border: 1px solid rgba(91, 91, 214, 0.14);
  border-radius: var(--program-radius);
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(135deg, rgba(91, 91, 214, 0.35), rgba(14, 165, 164, 0.22))
      border-box;
  box-shadow: var(--program-shadow);
}

.logo-header {
  max-width: 720px;
  margin: 0 auto clamp(20px, 2.6vw, 30px);
  text-align: center;
}

.logo-icon-box {
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  border-radius: var(--program-radius);
  color: var(--program-primary);
  background: rgba(91, 91, 214, 0.1);
  font-size: 1.65rem;
}

.logo-header h2 {
  font-size: clamp(1.75rem, 3.1vw, 2.55rem);
  line-height: 1.12;
}

.logo-header h2 span {
  color: var(--program-primary);
}

.tagline {
  margin: 12px 0 0;
  color: var(--program-muted);
  font-weight: 700;
}

.track-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.track-item {
  display: flex;
  flex-direction: column;
  gap: 15px;
  min-height: 100%;
  padding: clamp(20px, 2.6vw, 26px);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.track-img {
  width: 58px;
  height: 58px;
  border-radius: var(--program-radius);
  font-size: 1.55rem;
}

.java-theme {
  color: #dc2626;
  background: #fff1f2;
}

.mern-theme {
  color: #16a34a;
  background: #ecfdf3;
}

.common-theme {
  color: var(--program-primary);
  background: #eef2ff;
}

.track-info ul {
  display: grid;
  gap: 9px;
  margin: 14px 0 0;
}

.track-info li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
}

.about-section {
  background: linear-gradient(180deg, #ffffff 0%, #f8faff 44%, #ffffff 100%);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.3vw, 24px);
}

.about-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: clamp(24px, 2.8vw, 30px);
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.97),
        rgba(248, 250, 252, 0.92)
      )
      padding-box,
    linear-gradient(135deg, rgba(58, 75, 183, 0.18), rgba(14, 165, 164, 0.14))
      border-box;
  backdrop-filter: blur(10px);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.about-card:first-child {
  color: var(--program-primary-dark);
}

.about-card:last-child {
  color: #075985;
}

.card-top {
  display: flex;
  align-items: center;
  gap: 15px;
  position: relative;
  margin-bottom: 24px;
  padding-bottom: 20px;
}

.card-top::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 76px;
  height: 3px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.85;
}

.card-top span {
  color: var(--program-muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.icon-box {
  width: 58px;
  height: 58px;
  border-radius: var(--program-radius);
  font-size: 1.35rem;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 12px 28px rgba(16, 24, 40, 0.08);
}

.purple-bg {
  color: var(--program-primary);
  background: #eef2ff;
}

.blue-bg {
  color: #0284c7;
  background: #e0f2fe;
}

.about-list {
  display: grid;
  gap: 9px;
  margin: 14px 0 18px;
}

.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #344054;
  line-height: 1.55;
}

.about-card p {
  margin: 0 0 10px;
}

.about-emphasis,
.about-card strong {
  color: var(--program-primary-dark);
  font-weight: 800;
}

.chip-group {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 12px 0 18px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 58px;
  padding: 10px 11px;
  border: 1px solid rgba(14, 116, 144, 0.12);
  border-radius: var(--program-radius);
  color: #075985;
  background: rgba(224, 242, 254, 0.58);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.4;
}

.chip i {
  font-size: 1.1rem;
}

.about-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding: 14px 16px;
  border: 1px solid rgba(91, 91, 214, 0.1);
  border-radius: var(--program-radius);
  font-weight: 800;
  line-height: 1.5;
}

.purple-footer {
  color: #3730a3;
  background: #eef2ff;
}

.blue-footer {
  color: #075985;
  background: #e0f2fe;
}

.about-vision {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: min(100%, 920px);
  margin: 20px auto 0;
  padding: 14px 20px;
  border: 1px solid rgba(16, 24, 40, 0.08);
  border-radius: var(--program-radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 36px rgba(16, 24, 40, 0.05);
}

.about-vision i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: var(--program-primary);
  background: #eef2ff;
  font-size: 1.05rem;
}

.about-vision p {
  margin: 0;
  color: #344054;
  font-size: 1rem;
  line-height: 1.55;
}

.about-vision strong {
  color: var(--program-primary-dark);
}

.contact-section {
  background:
    radial-gradient(circle at 8% 12%, rgba(58, 75, 183, 0.11), transparent 30%),
    radial-gradient(circle at 92% 18%, rgba(14, 165, 164, 0.1), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f7f8ff 100%);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(280px, 0.8fr);
  gap: clamp(18px, 3.5vw, 34px);
  align-items: stretch;
}

.contact-form,
.why-box {
  padding: clamp(24px, 2.8vw, 32px);
  box-shadow: 0 24px 70px rgba(16, 24, 40, 0.08);
}

.contact-form h2,
.why-box h2 {
  margin: 10px 0 14px;
  font-size: clamp(1.5rem, 2.6vw, 2.05rem);
}

.form-subtext {
  max-width: 680px;
  margin: 0 0 22px;
  color: var(--program-muted);
  font-size: 1rem;
  line-height: 1.68;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}

input,
select,
textarea {
  width: 100%;
  min-height: 52px;
  padding: 14px 15px;
  border: 1px solid #d9deea;
  border-radius: var(--program-radius);
  color: var(--program-ink);
  background: #ffffff;
  font-size: 0.95rem;
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--program-primary);
  box-shadow: 0 0 0 4px rgba(91, 91, 214, 0.12);
}

.form-row > select:only-child,
.form-row > textarea {
  grid-column: 1 / -1;
}

textarea {
  min-height: 124px;
  resize: vertical;
}

.full-btn {
  width: 100%;
  min-height: 54px;
  margin-top: 4px;
  border-radius: var(--program-radius);
  font-weight: 800;
}

.form-success {
  display: none;
  margin: 16px 0 0;
  padding: 13px 14px;
  border: 1px solid rgba(8, 127, 91, 0.18);
  border-radius: var(--program-radius);
  color: #06734f;
  background: #ecfdf5;
  font-weight: 800;
  line-height: 1.5;
}

.why-box {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 8%, rgba(255, 214, 0, 0.16), transparent 30%),
    linear-gradient(160deg, #1728a5 0%, #101d74 52%, #071345 100%);
  color: #ffffff;
}

.why-box h2 {
  color: #ffffff;
}

.why-box .section-tag {
  border-color: rgba(255, 255, 255, 0.18);
  color: #ffd600;
  background: rgba(255, 255, 255, 0.1);
}

.why-box ul {
  display: grid;
  gap: 12px;
  margin: 0;
}

.why-box li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--program-radius);
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.09);
  font-weight: 700;
  line-height: 1.45;
}

.why-box li i {
  margin-top: 3px;
  color: #ffd600;
}

.footer {
  margin-top: 0 !important;
}

.application-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(10, 18, 35, 0.64);
  backdrop-filter: blur(14px);
}

.application-modal.is-open {
  display: flex;
}

.application-dialog {
  position: relative;
  width: min(100%, 1040px);
  max-height: calc(100vh - 48px);
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 32px 90px rgba(10, 18, 35, 0.32);
}

.application-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(16, 24, 40, 0.12);
  border-radius: 50%;
  color: #344054;
  background: rgba(255, 255, 255, 0.92);
  cursor: pointer;
}

.application-panel {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.45fr);
  min-height: 680px;
}

.application-aside {
  display: flex;
  flex-direction: column;
  padding: clamp(26px, 4vw, 44px);
  color: #ffffff;
  background:
    linear-gradient(160deg, rgba(12, 20, 42, 0.92), rgba(36, 54, 159, 0.88)),
    radial-gradient(
      circle at 15% 10%,
      rgba(14, 165, 164, 0.72),
      transparent 34%
    );
}

.application-aside img {
  width: 54px;
  height: 54px;
  margin-bottom: 24px;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.18);
}

.application-aside span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.application-aside h2 {
  margin: 14px 0 14px;
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1.03;
}

.application-aside p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1rem;
  line-height: 1.65;
}

.application-steps {
  display: grid;
  gap: 14px;
  margin-top: auto;
  padding-top: 34px;
}

.application-step {
  position: relative;
  display: grid;
  grid-template-columns: 38px 1fr;
  column-gap: 12px;
  align-items: center;
  color: rgba(255, 255, 255, 0.55);
}

.application-step::before {
  content: attr(data-step-dot);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  color: inherit;
  font-weight: 800;
}

.application-step.is-active {
  color: #ffffff;
}

.application-step.is-active::before {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
}

.application-step strong,
.application-step small {
  grid-column: 2;
}

.application-step strong {
  font-size: 0.98rem;
}

.application-step small {
  margin-top: -2px;
  color: inherit;
}

.application-content {
  padding: clamp(26px, 4vw, 48px);
  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(58, 75, 183, 0.08),
      transparent 28%
    ),
    #ffffff;
}

.application-screen {
  display: none;
}

.application-screen.is-active {
  display: block;
}

.modal-kicker {
  margin-bottom: 10px;
  color: var(--program-primary);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.application-screen h3 {
  margin: 0 0 10px;
  color: var(--program-ink);
  font-size: clamp(1.65rem, 3vw, 2.35rem);
}

.modal-copy {
  max-width: 650px;
  margin: 0 0 24px;
  color: var(--program-muted);
  line-height: 1.65;
}

.modal-form {
  display: grid;
  gap: 18px;
}

.modal-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.modal-form label {
  display: grid;
  gap: 8px;
  color: #344054;
  font-size: 0.88rem;
  font-weight: 800;
}

.modal-form input,
.modal-form select {
  border-radius: 10px;
  background: #fbfcff;
}

.modal-primary-btn,
.modal-secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 13px 20px;
  border-radius: 10px;
  font-weight: 900;
  cursor: pointer;
}

.modal-primary-btn {
  border: 0;
  color: #ffffff;
  background: linear-gradient(
    135deg,
    var(--program-primary),
    var(--program-primary-dark)
  );
  box-shadow: 0 18px 36px rgba(58, 75, 183, 0.24);
}

.modal-secondary-btn {
  border: 1px solid #d9deea;
  color: var(--program-ink);
  background: #ffffff;
}

.modal-primary-btn:disabled {
  cursor: not-allowed;
  opacity: 0.72;
}

.payment-layout {
  display: grid;
  grid-template-columns: minmax(210px, 0.7fr) minmax(0, 1fr);
  gap: 18px;
  margin-bottom: 22px;
}

.qr-card,
.payment-details,
.success-summary {
  border: 1px solid var(--program-line);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(16, 24, 40, 0.06);
}

.qr-card {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 20px;
  text-align: center;
}

/* QR Image */
.qr-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
  border-radius: 8px;
  padding: 6px;
}

.qr-frame span {
  background: #111827;
}

.qr-frame span:nth-child(2),
.qr-frame span:nth-child(5),
.qr-frame span:nth-child(8),
.qr-frame span:nth-child(11),
.qr-frame span:nth-child(14) {
  background: transparent;
}

.qr-card strong {
  color: var(--program-ink);
  font-size: 1rem;
}

.qr-card small {
  color: var(--program-muted);
}

.payment-details {
  display: grid;
  gap: 12px;
  padding: 20px;
}

.payment-details div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #eef1f6;
}

.payment-details div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.payment-details span {
  color: var(--program-muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.payment-details strong {
  color: var(--program-ink);
  text-align: right;
}

.modal-action-row {
  display: grid;
  grid-template-columns: 0.7fr 1fr;
  gap: 14px;
}

.success-screen {
  text-align: center;
}

.success-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 74px;
  height: 74px;
  margin-bottom: 20px;
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(135deg, #10b981, #0ea5a4);
  box-shadow: 0 18px 38px rgba(16, 185, 129, 0.24);
  font-size: 1.7rem;
}

.success-screen .modal-copy {
  margin-right: auto;
  margin-left: auto;
}

.success-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0;
  padding: 18px;
  text-align: left;
}

.success-summary div {
  display: grid;
  gap: 2px;
}

.success-summary span {
  color: var(--program-muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.success-summary strong {
  color: var(--program-ink);
  overflow-wrap: anywhere;
}

@media (max-width: 1199px) {
  .problem-grid,
  .track-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .content-wrapper {
    grid-template-columns: 1fr;
  }

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

  .side-text {
    max-width: 760px;
  }
}

@media (max-width: 991px) {
  .hero-section {
    min-height: auto;
    padding-top: clamp(72px, 12vw, 96px);
  }

  .contact-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .card-top {
    margin-bottom: 30px;
  }
}

@media (max-width: 767px) {
  .application-modal {
    padding: 12px;
  }

  .application-dialog {
    max-height: calc(100vh - 24px);
    border-radius: 14px;
  }

  .application-panel {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .application-aside {
    padding: 24px;
  }

  .application-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 22px;
    padding-top: 0;
  }

  .application-step {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .application-step strong,
  .application-step small {
    grid-column: 1;
  }

  .application-content {
    padding: 24px;
  }

  .modal-form-grid,
  .payment-layout,
  .success-summary,
  .modal-action-row {
    grid-template-columns: 1fr;
  }

  .side-text h2 br,
  .logo-header h2 br {
    display: none;
  }

  .hero-section {
    text-align: left;
  }

  .hero-content,
  .problem-header,
  .about-header,
  .side-text,
  .logo-header {
    max-width: 100%;
  }

  .hero-title {
    max-width: 340px;
    margin-left: 0;
    margin-right: 0;
    font-size: clamp(2.05rem, 9vw, 2.5rem);
    line-height: 1.08;
  }

  .hero-mobile-break {
    display: inline;
  }

  .hero-description {
    margin-left: 0;
    margin-right: 0;
  }

  .problem-header,
  .about-header,
  .logo-header {
    text-align: left;
  }

  .problem-header h2,
  .about-header h2,
  .side-text h2,
  .logo-header h2 {
    font-size: clamp(1.85rem, 8vw, 2.25rem);
    line-height: 1.12;
    overflow-wrap: break-word;
  }

  .problem-grid,
  .track-list,
  .side-stats {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .btn-primary-solid,
  .btn-outline {
    width: 100%;
  }

  .hero-trust {
    justify-content: flex-start;
  }

  .card-top {
    align-items: flex-start;
  }

  .about-vision {
    align-items: flex-start;
    justify-content: flex-start;
  }
}

@media (max-width: 575px) {
  .hero-section,
  .problem-section,
  .products,
  .tracks,
  .about-section,
  .contact-section {
    padding-left: 0;
    padding-right: 0;
  }

  .intern-card-main,
  .contact-form,
  .why-box,
  .about-card,
  .problem-card {
    padding: 22px;
  }

  .hero-trust {
    justify-content: stretch;
  }

  .hero-trust span {
    flex: 1 1 100%;
  }

  .chip-group {
    grid-template-columns: 1fr;
  }

  .about-vision {
    padding: 16px;
  }
}
