/* Expotrans Mailing List Portal - Corporate Style */

:root {
  --exp-orange: #ff7900;
  --exp-orange-dark: #e86d00;
  --exp-gray-dark: #55575a;
  --exp-gray: #7d7f82;
  --exp-gray-light: #eef0f2;
  --exp-gray-border: #d7d9dc;
  --exp-white: #ffffff;
  --exp-black: #1f2933;
  --exp-success: #166534;
  --exp-success-bg: #ecfdf3;
  --exp-error: #9f1239;
  --exp-error-bg: #fff1f2;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(255, 121, 0, 0.10), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #f3f4f6 100%);
  color: var(--exp-black);
}

.page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 42px 18px;
}

.card {
  width: 100%;
  max-width: 920px;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--exp-gray-border);
  box-shadow: 0 18px 45px rgba(85, 87, 90, 0.16);
}

.header {
  padding: 26px 34px 18px;
  border-bottom: 5px solid var(--exp-orange);
  background: #ffffff;
}

.logo-link {
  display: inline-block;
  text-decoration: none;
}

.logo {
  width: 260px;
  max-width: 100%;
  height: auto;
  display: block;
}

.content {
  position: relative;
  padding: 42px 34px;
  overflow: hidden;
}

.content::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../assets/EXPOTRANS_fullcolor.jpg");
  background-repeat: no-repeat;
  background-position: center 52%;
  background-size: 78%;
  opacity: 0.045;
  pointer-events: none;
}

.main-index .content::before {
  background-image: url("assets/EXPOTRANS_fullcolor.jpg");
}

.content-inner {
  position: relative;
  z-index: 1;
}

h1 {
  color: var(--exp-gray-dark);
  font-size: 32px;
  line-height: 1.15;
  margin: 0 0 14px;
  letter-spacing: -0.4px;
}

h2 {
  color: var(--exp-gray-dark);
}

p {
  line-height: 1.58;
}

.lead {
  color: var(--exp-gray-dark);
  font-size: 17px;
  max-width: 740px;
}

.notice {
  background: #fff7ef;
  border-left: 5px solid var(--exp-orange);
  padding: 15px 17px;
  border-radius: 10px;
  margin: 22px 0;
  font-size: 14px;
  color: var(--exp-gray-dark);
}

label {
  display: block;
  font-weight: 700;
  margin: 16px 0 8px;
  color: var(--exp-gray-dark);
}

input,
textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--exp-gray-border);
  border-radius: 10px;
  font-size: 15px;
  box-sizing: border-box;
  font-family: inherit;
  background: #ffffff;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--exp-orange);
  box-shadow: 0 0 0 3px rgba(255, 121, 0, 0.16);
}

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

.privacy-box {
  max-height: 220px;
  overflow-y: auto;
  padding: 16px;
  border: 1px solid var(--exp-gray-border);
  border-radius: 10px;
  background: #fafafa;
  color: var(--exp-gray-dark);
  font-size: 13px;
  line-height: 1.55;
  margin: 18px 0 14px;
}

.checkbox-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 16px 0 6px;
}

.checkbox-row input {
  width: auto;
  margin-top: 4px;
}

.checkbox-row label {
  margin: 0;
  font-weight: 400;
  color: var(--exp-gray-dark);
}

button,
.btn {
  display: inline-block;
  margin-top: 22px;
  background: var(--exp-orange);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.12s ease, filter 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 8px 18px rgba(255, 121, 0, 0.24);
}

button:hover,
.btn:hover {
  filter: brightness(0.96);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--exp-gray-dark);
  box-shadow: 0 8px 18px rgba(85, 87, 90, 0.20);
}

.sections {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 34px;
}

.section-box {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--exp-gray-border);
  border-top: 5px solid var(--exp-orange);
  border-radius: 14px;
  padding: 28px;
  box-shadow: 0 10px 22px rgba(85, 87, 90, 0.08);
}

.section-box p {
  color: var(--exp-gray-dark);
  min-height: 88px;
}

.result-box {
  background: var(--exp-success-bg);
  border: 1px solid #b7ebc6;
  color: var(--exp-success);
  padding: 17px;
  border-radius: 10px;
  margin-top: 20px;
  font-weight: 700;
}

.error-box {
  background: var(--exp-error-bg);
  border: 1px solid #fecdd3;
  color: var(--exp-error);
  padding: 17px;
  border-radius: 10px;
  margin-top: 20px;
  font-weight: 700;
}

.footer {
  position: relative;
  padding: 24px 34px;
  border-top: 1px solid var(--exp-gray-border);
  color: var(--exp-gray-dark);
  font-size: 13px;
  background:
    linear-gradient(rgba(250, 250, 250, 0.94), rgba(250, 250, 250, 0.94)),
    url("../assets/EXPOTRANS_fullcolor.jpg") no-repeat right 22px center / 180px auto;
}

.main-index .footer {
  background:
    linear-gradient(rgba(250, 250, 250, 0.94), rgba(250, 250, 250, 0.94)),
    url("assets/EXPOTRANS_fullcolor.jpg") no-repeat right 22px center / 180px auto;
}

.footer a {
  color: var(--exp-orange-dark);
  text-decoration: none;
  font-weight: 700;
}

.footer a:hover {
  text-decoration: underline;
}

@media (max-width: 640px) {
  .page {
    padding: 20px 12px;
  }

  .header,
  .content,
  .footer {
    padding-left: 22px;
    padding-right: 22px;
  }

  .logo {
    width: 220px;
  }

  h1 {
    font-size: 27px;
  }

  .section-box p {
    min-height: auto;
  }
}
