/* ============================================
   CC PINES — Zendesk Help Center Custom Theme
   File: style.css
   ============================================ */

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

:root {
  --navy: #0D1B3E;
  --navy-light: #162347;
  --navy-mid: #1A2B52;
  --accent: #2B8CC4;
  --accent-light: #3FA0D8;
  --accent-pale: #E8F4FB;
  --white: #FFFFFF;
  --off-white: #F7F8FA;
  --border: #E2E6ED;
  --text: #1A1A2E;
  --text-muted: #5A6478;
  --card-shadow: 0 4px 24px rgba(13,27,62,0.10);
  --card-shadow-hover: 0 8px 36px rgba(13,27,62,0.18);
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--off-white);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── HEADER ── */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0 48px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(13,27,62,0.06);
}

.logo-wrap {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo-main {
  font-family: 'DM Sans', sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.logo-main span { color: var(--accent); }
.logo-sub {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 2px;
}
.header-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.signin-btn {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
  padding: 8px 20px;
  border: 1.5px solid var(--accent);
  border-radius: 6px;
  transition: all 0.2s;
  cursor: pointer;
  background: transparent;
}
.signin-btn:hover {
  background: var(--accent);
  color: var(--white);
}

/* ── HERO ── */
.hero {
  background: var(--navy);
  padding: 72px 48px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(43,140,196,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 80% 100%, rgba(43,140,196,0.10) 0%, transparent 60%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin: 0 auto;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(43,140,196,0.15);
  border: 1px solid rgba(43,140,196,0.3);
  border-radius: 40px;
  padding: 5px 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #7DC8EF;
  margin-bottom: 24px;
}
.hero-eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7DC8EF;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.hero h1 {
  font-family: 'DM Sans', sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}
.hero h1 em {
  font-style: normal;
  color: #7DC8EF;
}
.hero-desc {
  font-size: 15px;
  color: #9BAFC8;
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto 40px;
  font-weight: 300;
}

/* Search */
.search-wrap {
  max-width: 560px;
  margin: 0 auto;
  position: relative;
}
.search-wrap input {
  width: 100%;
  padding: 16px 20px 16px 50px;
  border-radius: 10px;
  border: 1.5px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.07);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  outline: none;
  transition: all 0.2s;
  backdrop-filter: blur(8px);
}
.search-wrap input::placeholder { color: rgba(255,255,255,0.35); }
.search-wrap input:focus {
  border-color: rgba(43,140,196,0.6);
  background: rgba(255,255,255,0.10);
  box-shadow: 0 0 0 3px rgba(43,140,196,0.15);
}
.search-icon {
  position: absolute;
  left: 17px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,0.35);
  pointer-events: none;
}

/* ── CARDS SECTION ── */
.cards-section {
  padding: 0 48px 64px;
  margin-top: -48px;
  position: relative;
  z-index: 2;
}

.cards-grid {
  max-width: 1020px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.action-card {
  background: var(--white);
  border-radius: 14px;
  border: 1px solid var(--border);
  padding: 16px 20px;         /* reduced padding for smaller vertical size */
  min-height: 160px;          /* optional: ensures consistent compact height */
  box-shadow: var(--card-shadow);
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
}

.action-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.action-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
  border-color: rgba(43,140,196,0.2);
}

.action-card:hover::after { transform: scaleX(1); }

.card-icon-wrap {
  width: 48px;                /* slightly smaller icon box */
  height: 48px;
  background: var(--accent-pale);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;        /* reduced spacing */
  transition: all 0.25s;
}

.card-icon-wrap svg {
  width: 22px;                /* smaller icon */
  height: 22px;
  color: var(--accent);
  transition: color 0.25s;
}

.card-title {
  font-size: 16px;            /* reduced font size */
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
  line-height: 1.2;
}

.card-desc {
  font-size: 12.5px;          /* reduced font size */
  color: var(--text-muted);
  line-height: 1.5;
  font-weight: 400;
}

.card-arrow {
  margin-top: 12px;           /* less spacing below text */
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  opacity: 0;
  transform: translateX(-6px);
  transition: all 0.25s;
}

.action-card:hover .card-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ── INFO STRIP ── */
.info-strip {
  background: var(--navy);
  border-radius: 12px;
  padding: 20px 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  max-width: 1020px;
  margin: 0 auto 48px;
}
.info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #9BAFC8;
  font-size: 13px;
}
.info-item svg { color: #7DC8EF; flex-shrink: 0; }
.info-item strong { color: var(--white); }
.info-divider {
  width: 1px;
  height: 28px;
  background: rgba(255,255,255,0.1);
}

/* ── FOOTER ── */
.site-footer {
  margin-top: auto;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 18px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-left {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.footer-right {
  display: flex;
  align-items: center;
  gap: 10px;
}
.powered-text {
  font-size: 12px;
  color: var(--text-muted);
}
.lenovo-badge {
  background: #E2000F;
  color: white;
  font-size: 13px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 3px;
  letter-spacing: 0.02em;
}
.k-logo { width: 32px; height: 32px; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .site-header { padding: 0 20px; }
  .hero { padding: 48px 20px 64px; }
  .hero h1 { font-size: 26px; }
  .cards-section { padding: 0 20px 48px; }
  .cards-grid { grid-template-columns: 1fr; gap: 16px; }
  .info-strip { flex-direction: column; gap: 16px; margin: 0 20px 32px; }
  .info-divider { width: 80%; height: 1px; }
  .site-footer { padding: 16px 20px; flex-direction: column; gap: 12px; text-align: center; }
}
/* ============================================
   REQUEST FORM PAGE — Centered Card Style
   ============================================ */

/* Page background */
#main-content.form {
  background: var(--off-white) !important;
  padding: 48px 20px !important;
  min-height: 80vh !important;
}

/* Form card container */
#new-request-form {
  max-width: 680px !important;
  margin: 0 auto !important;
  background: var(--white) !important;
  border-radius: 14px !important;
  border: 1px solid var(--border) !important;
  padding: 40px 48px !important;
  box-shadow: var(--card-shadow) !important;
}

/* Input fields */
#new-request-form input[type="text"],
#new-request-form input[type="email"],
#new-request-form input[type="number"],
#new-request-form select,
#new-request-form textarea {
  width: 100% !important;
  border: 1.5px solid var(--border) !important;
  border-radius: 8px !important;
  padding: 12px 16px !important;
  font-family: 'DM Sans', sans-serif !important;
  font-size: 14px !important;
  outline: none !important;
  transition: all 0.2s !important;
}

/* Input focus */
#new-request-form input:focus,
#new-request-form select:focus,
#new-request-form textarea:focus {
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 3px rgba(43,140,196,0.12) !important;
}

/* Submit button */
#new-request-form input[type="submit"],
#new-request-form .btn-primary {
  background: var(--navy) !important;
  color: var(--white) !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 13px 32px !important;
  font-family: 'DM Sans', sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.2s !important;
  margin-top: 8px !important;
}

#new-request-form input[type="submit"]:hover,
#new-request-form .btn-primary:hover {
  background: var(--accent) !important;
  transform: translateY(-1px) !important;
}

/* Field spacing */
#new-request-form .form-field {
  margin-bottom: 20px !important;
}

/* Labels */
#new-request-form label {
  font-size: 14px !important;
  font-weight: 600 !important;
  color: var(--navy) !important;
  margin-bottom: 6px !important;
}
/* ============================================
   HIDE SUB-NAV, SEARCH BAR ON REQUEST PAGE
   ============================================ */

/* Hide the sub-nav (Demo Account, Submit a request links) */
.sub-nav,
nav.sub-nav,
.sub-nav-container {
  display: none !important;
}

/* Hide the search bar on request page */
#main-content.form .search-box,
#main-content.form .search-full,
#main-content.form form.search-form,
#main-content.form .search {
  display: none !important;
}