/* ==========================================================================
   DESIGN SYSTEM & VARIABLES
   ========================================================================== */
:root {
  --intel-blue: #0068b5;
  --intel-deep-blue: #004a80;
  --intel-sky-blue: #00a3e0;
  --text-dark: #1f1f1f;
  --text-muted: #5e5e5e;
  --border-dark: #cbd5e1;
  --border-focus: #0068b5;
  --border-error: #d93025;
  --border-success: #137333;
  --bg-light: #ffffff;
  --bg-footer: #e5e5e5;
  --bg-gray: #f3f3f3;
  --font-family-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-family-display: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --box-shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
  --box-shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.15);
  --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 0.15s ease;
  --border-radius: 6px;
}

/* Reset & Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  font-family: var(--font-family-sans);
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.5;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family-display);
  font-weight: 600;
}

a {
  color: var(--intel-blue);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--intel-deep-blue);
  text-decoration: underline;
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.main-header {
  background-color: var(--bg-light);
  border-bottom: 1px solid #e2e2e2;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link {
  display: flex;
  align-items: center;
}

.intel-logo {
  height: 32px;
  width: auto;
}

/* Nav */
.main-nav ul {
  display: flex;
  list-style: none;
  gap: 24px;
}

.nav-item {
  color: var(--intel-blue);
  font-family: var(--font-family-display);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.5px;
  padding: 8px 4px;
  cursor: default;
}

/* Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.action-btn {
  background: none;
  border: none;
  cursor: default;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
}

.action-btn .icon {
  width: 20px;
  height: 20px;
}

.language-btn {
  gap: 6px;
}

.lang-text {
  font-family: var(--font-family-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Search bar (Static/Non-interactive) */
.search-container {
  display: flex;
  align-items: center;
  border-left: 1px solid #d2d2d2;
  padding-left: 16px;
  position: relative;
  pointer-events: none;
  cursor: default;
}

.search-icon {
  position: absolute;
  left: 28px;
  width: 16px;
  height: 16px;
  color: var(--text-muted);
}

.search-container input {
  padding: 8px 12px 8px 36px;
  border: none;
  border-radius: 4px;
  font-family: var(--font-family-sans);
  font-size: 13px;
  background-color: var(--bg-gray);
  width: 180px;
  cursor: default;
}

/* Subheader (Breadcrumbs) */
.subheader {
  background-color: var(--bg-light);
  border-bottom: 1px solid #e2e2e2;
  padding: 12px 24px;
}

.subheader-container {
  max-width: 1440px;
  margin: 0 auto;
}

.breadcrumb-current {
  font-family: var(--font-family-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
}

/* ==========================================================================
   MAIN LAYOUT & SPLIT SECTION
   ========================================================================== */
.page-container {
  max-width: 100%;
}

.split-hero {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  min-height: calc(100vh - 105px);
  background-color: var(--bg-light);
  position: relative;
}

/* Left Column - Graphic/Diagonal Block */
.hero-left-column {
  position: relative;
  background-color: #7ad3fc;
  color: #002244;
  padding: 43px 10% 40px 12%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  z-index: 2;
  clip-path: polygon(0 0, 92% 0, 100% 55%, 88% 100%, 0 100%);
}

.hero-left-content {
  position: relative;
  z-index: 3;
  max-width: 520px;
}

.hero-image-wrapper {
  background-color: transparent;
  border-radius: 0;
  overflow: hidden;
  margin-bottom: 40px;
  display: flex;
  max-width: 270px;
}

.hero-photo {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  align-items: center;
  transition: transform 0.5s ease;
}

.hero-photo:hover {
  transform: scale(1.02);
}

.hero-heading {
  font-size: 26px;
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 10px;
  color: #0c2340;
}

.hero-subtext {
  font-size: 16px;
  color: #0c2340;
  opacity: 0.95;
  font-weight: 400;
  line-height: 1.6;
}

/* Right Column - Form Container */
.hero-right-column {
  padding: 20px 8% 20px 6%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background-color: var(--bg-light);
}

.form-wrapper {
  max-width: 500px;
  width: 100%;
}

.form-title {
  font-size: 26px;
  font-weight: 300;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.form-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

/* ==========================================================================
   BEST FORM UI STYLING
   ========================================================================== */
.expert-form {
  display: flex;
  flex-direction: column;
}

/* Form Groups & Floating Labels */
.form-group {
  position: relative;
  margin-bottom: 14px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-group > input,
.form-group select {
  width: 100%;
  height: 50px;
  padding: 20px 14px 4px 14px;
  border: 1px solid var(--border-dark);
  border-radius: var(--border-radius, 6px);
  font-family: var(--font-family-sans);
  font-size: 14.5px;
  background-color: #ffffff;
  outline: none;
  color: var(--text-dark);
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
}

/* Custom inputs styling */
.form-group > input:focus,
.form-group select:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(0, 104, 181, 0.15);
}

/* Hover effects for text inputs */
.form-group > input:hover {
  border-color: #94a3b8;
}

/* Form group labels */
.form-group label {
  position: absolute;
  left: 14px;
  top: 6px;
  font-family: var(--font-family-sans);
  font-size: 10px;
  font-weight: 500;
  color: var(--text-muted);
  pointer-events: none;
  transition: color var(--transition-fast);
  background-color: transparent;
}

/* Highlight label color on input focus */
.form-group > input:focus ~ label,
.form-group select:focus ~ label {
  color: var(--intel-blue);
  font-weight: 600;
}

/* Hide native select components */
.form-group select {
  appearance: none;
  cursor: pointer;
  opacity: 0;
  position: absolute;
  z-index: -1;
  pointer-events: none;
}

/* Hide native select arrows to prevent flash on reload */
.select-arrow {
  display: none !important;
}

.select-group {
  position: relative;
}

/* ==========================================================================
   CUSTOM SEARCHABLE SELECT STYLING (PREMIUM DROPDOWNS)
   ========================================================================== */
.custom-select-container {
  position: relative;
  width: 100%;
}

.custom-select-trigger {
  width: 100%;
  height: 50px;
  padding: 20px 14px 4px 14px;
  border: 1px solid var(--border-dark);
  border-radius: var(--border-radius, 6px);
  background-color: #ffffff;
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  user-select: none;
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.custom-select-trigger:hover {
  border-color: #94a3b8;
}

.custom-select-trigger:focus,
.custom-select-trigger.active {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(0, 104, 181, 0.15);
  outline: none;
}

.custom-select-label {
  position: absolute;
  left: 14px;
  top: 6px;
  font-family: var(--font-family-sans);
  font-size: 10px;
  font-weight: 500;
  color: var(--text-muted);
  pointer-events: none;
  transition: color var(--transition-fast);
}

.custom-select-trigger.active .custom-select-label,
.custom-select-trigger:focus .custom-select-label {
  color: var(--intel-blue);
  font-weight: 600;
}

.custom-select-value {
  font-family: var(--font-family-sans);
  font-size: 14.5px;
  color: var(--text-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-right: 20px;
}

.custom-select-value.is-placeholder {
  color: var(--text-muted);
  opacity: 0.8;
}

.custom-select-arrow {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--text-dark);
  pointer-events: none;
  transition: transform var(--transition-normal);
}

.custom-select-trigger.active .custom-select-arrow {
  transform: translateY(-50%) rotate(180deg);
  color: var(--intel-blue);
}

/* Dropdown Menu List */
.custom-select-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background-color: #ffffff;
  border: 1.5px solid var(--border-focus);
  border-radius: var(--border-radius, 6px);
  box-shadow: var(--box-shadow-lg);
  z-index: 999;
  max-height: 320px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: selectFadeIn 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes selectFadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Search Bar inside Select Menu */
.custom-select-search-container {
  position: relative;
  padding: 10px;
  border-bottom: 1px solid #e2e2e2;
  background-color: #f8fafc;
  display: flex;
  align-items: center;
}

.custom-select-search-container .custom-select-search {
  width: 100%;
  height: 34px !important;
  padding: 6px 12px 6px 34px !important;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  font-size: 13.5px;
  font-family: var(--font-family-sans);
  color: var(--text-dark);
  outline: none;
  background-color: #ffffff !important;
  transition: border-color var(--transition-fast);
}

.custom-select-search-container .custom-select-search:focus {
  border-color: var(--border-focus);
}

.custom-select-search-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 15px;
  height: 15px;
  color: var(--text-muted);
  pointer-events: none;
}

/* Options list */
.custom-select-options-list {
  overflow-y: auto;
  flex: 1;
  max-height: 240px;
}

.custom-select-option {
  padding: 10px 14px;
  font-size: 14.5px;
  font-family: var(--font-family-sans);
  color: var(--text-dark);
  cursor: pointer;
  transition: background-color var(--transition-fast), color var(--transition-fast);
  text-align: left;
}

.custom-select-option:hover {
  background-color: #f1f5f9;
  color: var(--intel-blue);
}

.custom-select-option.selected {
  background-color: #e0f2fe;
  color: var(--intel-deep-blue);
  font-weight: 600;
}

.custom-select-no-results {
  padding: 16px;
  font-size: 14px;
  color: var(--text-muted);
  text-align: center;
  font-style: italic;
}

/* Error validation styling for custom select */
.form-group.has-error .custom-select-trigger {
  border-color: var(--border-error) !important;
}

.form-group.has-error .custom-select-label {
  color: var(--border-error) !important;
}

.form-group.is-valid .custom-select-trigger {
  border-color: var(--border-success);
}

/* Required star */
.required-star {
  color: var(--border-error);
  font-weight: bold;
}

/* Error States */
.form-group.has-error > input {
  border-color: var(--border-error) !important;
}

.form-group.has-error label {
  color: var(--border-error) !important;
}

.error-msg {
  color: var(--border-error);
  font-size: 11px;
  margin-top: 4px;
  margin-left: 4px;
  display: none;
  font-weight: 500;
}

.form-group.has-error .error-msg {
  display: block;
}

/* Success Validation States */
.form-group.is-valid > input {
  border-color: var(--border-success);
}

/* Consent Block */
.form-consent {
  font-size: 11px;
  color: #333333;
  margin-bottom: 14px;
  line-height: 1.5;
}

.form-consent p {
  margin-bottom: 6px;
}

.accent-link {
  color: var(--intel-blue);
  font-weight: 500;
  cursor: default;
}

.captcha-text {
  color: var(--text-muted);
}

/* Submit Button & Loader */
.submit-btn {
  background-color: var(--intel-blue);
  color: #ffffff;
  border: none;
  border-radius: var(--border-radius);
  padding: 10px 24px;
  font-family: var(--font-family-display);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--transition-normal), transform var(--transition-fast), box-shadow var(--transition-normal);
  position: relative;
  overflow: hidden;
  min-width: 120px;
}

.submit-btn:hover {
  background-color: var(--intel-deep-blue);
  box-shadow: 0 4px 12px rgba(0, 74, 128, 0.25);
}

.submit-btn:active {
  transform: scale(0.98);
}

/* Spinner Loader */
.btn-loader {
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
}

.spinner {
  animation: rotate 2s linear infinite;
  width: 20px;
  height: 20px;
}

.spinner .path {
  stroke: #ffffff;
  stroke-linecap: round;
  animation: dash 1.5s ease-in-out infinite;
}

@keyframes rotate {
  100% { transform: rotate(360deg); }
}

@keyframes dash {
  0% {
    stroke-dasharray: 1, 150;
    stroke-dashoffset: 0;
  }
  50% {
    stroke-dasharray: 90, 150;
    stroke-dashoffset: -35;
  }
  100% {
    stroke-dasharray: 90, 150;
    stroke-dashoffset: -124;
  }
}

.hidden {
  display: none !important;
}

/* Input Shake Animation on Error */
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}

.shake {
  animation: shake 0.4s ease-in-out;
}

/* ==========================================================================
   STICKY FEEDBACK BUTTON
   ========================================================================== */
.feedback-sticky-btn {
  position: fixed;
  bottom: 40px;
  left: 0;
  z-index: 90;
  background-color: var(--intel-blue);
  color: #ffffff;
  border: none;
  border-radius: 0;
  padding: 8px 16px;
  font-family: var(--font-family-sans);
  font-weight: 400;
  font-size: 14px;
  cursor: default;
  box-shadow: none;
  transition: background-color var(--transition-fast);
}

.feedback-sticky-btn:hover {
  background-color: var(--intel-deep-blue);
}

/* ==========================================================================
   MODALS & OVERLAYS
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 28, 56, 0.45);
  backdrop-filter: blur(5px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay:not(.hidden) {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background-color: #ffffff;
  border-radius: 8px;
  width: 90%;
  max-width: 500px;
  box-shadow: var(--box-shadow-lg);
  transform: scale(0.92);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  flex-direction: column;
  max-height: 90vh;
}

.modal-overlay:not(.hidden) .modal-card {
  transform: scale(1);
}

.modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid #e9e9e9;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header h3 {
  font-size: 20px;
  color: var(--text-dark);
}

.close-modal-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.close-modal-btn:hover {
  background-color: var(--bg-gray);
  color: var(--text-dark);
}

.close-modal-btn svg {
  width: 18px;
  height: 18px;
}

.modal-body {
  padding: 24px;
  overflow-y: auto;
}

.modal-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.modal-footer {
  padding: 16px 24px;
  border-top: 1px solid #e9e9e9;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  background-color: var(--bg-gray);
  border-radius: 0 0 8px 8px;
}

/* Secondary Button style */
.btn-secondary {
  background-color: #ffffff;
  color: var(--text-dark);
  border: 1px solid #c2c2c2;
  border-radius: var(--border-radius);
  padding: 10px 20px;
  font-family: var(--font-family-sans);
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  transition: background-color var(--transition-fast), border-color var(--transition-fast);
}

.btn-secondary:hover {
  background-color: var(--bg-gray);
  border-color: #a0a0a0;
}

/* Primary Modal Button style */
.btn-primary {
  background-color: var(--intel-blue);
  color: #ffffff;
  border: none;
  border-radius: var(--border-radius);
  padding: 10px 20px;
  font-family: var(--font-family-sans);
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  transition: background-color var(--transition-fast);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-primary:hover {
  background-color: var(--intel-deep-blue);
}

/* Feedback Specific Elements */
.rating-container {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 10px 0 24px 0;
}

.rating-star {
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  transition: transform 0.15s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.rating-star:hover {
  transform: scale(1.2);
}

.star-icon {
  width: 32px;
  height: 32px;
  fill: #e2e2e2;
  transition: fill var(--transition-fast);
}

.rating-star.is-selected .star-icon,
.rating-star.is-hovered .star-icon {
  fill: #ffb700;
}

.feedback-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.feedback-field label {
  font-size: 13.5px;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--text-dark);
}

.feedback-field select,
.feedback-field textarea {
  padding: 12px;
  border: 1px solid #c2c2c2;
  border-radius: var(--border-radius);
  font-family: var(--font-family-sans);
  font-size: 14px;
  outline: none;
  width: 100%;
  transition: border-color var(--transition-fast);
}

.feedback-field select:focus,
.feedback-field textarea:focus {
  border-color: var(--intel-blue);
  box-shadow: 0 0 0 2px rgba(0, 104, 181, 0.1);
}

/* ==========================================================================
   DEVELOPER SETTINGS PANEL
   ========================================================================== */
.dev-cog-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border-radius: 50%;
  transition: background-color var(--transition-fast), color var(--transition-fast), transform var(--transition-normal);
}

.dev-cog-btn:hover {
  background-color: rgba(0, 0, 0, 0.05);
  color: var(--text-dark);
  transform: rotate(45deg);
}

.cog-icon {
  width: 18px;
  height: 18px;
}

.dev-card {
  max-width: 550px;
}

.dev-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.dev-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

.dev-field {
  display: flex;
  flex-direction: column;
}

.dev-field label {
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 6px;
}

.dev-field input[type="url"] {
  padding: 12px;
  border: 1.5px solid var(--border-dark);
  border-radius: var(--border-radius);
  font-family: var(--font-family-sans);
  font-size: 14px;
  outline: none;
  transition: border-color var(--transition-fast);
}

.dev-field input[type="url"]:focus {
  border-color: var(--intel-blue);
}

.help-text {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
  line-height: 1.4;
}

/* Checkbox specific dev setting layout */
.checkbox-field {
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
  background-color: var(--bg-gray);
  padding: 14px;
  border-radius: 6px;
  border: 1px solid #e2e2e2;
}

.checkbox-field input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  cursor: pointer;
}

.checkbox-field label {
  cursor: pointer;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dev-test-status {
  padding: 12px;
  border-radius: 6px;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.4;
}

.dev-test-status.testing {
  background-color: #e8f0fe;
  color: #1a73e8;
  border: 1px solid #d2e3fc;
}

.dev-test-status.success {
  background-color: #e6f4ea;
  color: #137333;
  border: 1px solid #ceead6;
}

.dev-test-status.error {
  background-color: #fce8e6;
  color: #c5221f;
  border: 1px solid #fad2cf;
}

/* ==========================================================================
   SUCCESS ANIMATION OVERLAY
   ========================================================================== */
.success-card {
  background-color: #ffffff;
  border-radius: 12px;
  width: 90%;
  max-width: 500px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: var(--box-shadow-lg);
  transform: scale(0.92);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.modal-overlay:not(.hidden) .success-card {
  transform: scale(1);
}

.success-icon-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: #e6f4ea;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.success-checkmark {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: block;
  stroke-width: 3;
  stroke: var(--border-success);
  stroke-miterlimit: 10;
  box-shadow: inset 0px 0px 0px var(--border-success);
  animation: fill-checkmark .4s ease-in-out .4s forwards, scale-checkmark .3s ease-in-out .9s both;
}

.checkmark-circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-width: 3;
  stroke-miterlimit: 10;
  stroke: var(--border-success);
  fill: none;
  animation: stroke-checkmark .6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark-check {
  transform-origin: 50% 50%;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: stroke-checkmark .3s cubic-bezier(0.65, 0, 0.45, 1) .8s forwards;
}

@keyframes stroke-checkmark {
  100% { stroke-dashoffset: 0; }
}
@keyframes fill-checkmark {
  100% { box-shadow: inset 0px 0px 0px 30px #e6f4ea; }
}
@keyframes scale-checkmark {
  0%, 100% { transform: none; }
  50% { transform: scale3d(1.1, 1.1, 1); }
}

.success-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.success-message {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 30px;
  max-width: 380px;
  line-height: 1.5;
}

/* Payload visualizer (for developer demo) */
.payload-viewer {
  width: 100%;
  background-color: #2b2b2b;
  border-radius: 6px;
  padding: 16px;
  margin-bottom: 24px;
  text-align: left;
  position: relative;
}

.payload-viewer h4 {
  color: #ffb700;
  font-size: 12px;
  margin-bottom: 8px;
  font-family: var(--font-family-display);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.payload-viewer pre {
  margin: 0;
  overflow-x: auto;
}

.payload-viewer code {
  font-family: 'Courier New', Courier, monospace;
  font-size: 12px;
  color: #5af78e;
  line-height: 1.4;
  white-space: pre-wrap;
}

.demo-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 9px;
  padding: 2px 6px;
  border-radius: 10px;
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   TOAST NOTIFICATION POPUPS
   ========================================================================== */
.toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.toast {
  background-color: #323232;
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 4px;
  font-size: 13.5px;
  font-weight: 500;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 280px;
  max-width: 380px;
  transform: translateY(-20px);
  opacity: 0;
  animation: slide-in-toast 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
  border-left: 4px solid var(--intel-blue);
}

.toast.success {
  border-left-color: #34a853;
}

.toast.error {
  border-left-color: #ea4335;
}

@keyframes slide-in-toast {
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.toast.fade-out {
  animation: fade-out-toast 0.3s ease forwards;
}

@keyframes fade-out-toast {
  100% {
    transform: translateY(-10px);
    opacity: 0;
  }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.main-footer {
  background-color: var(--bg-footer);
  padding: 0px 24px 10px 24px;
  border-top: 1px solid #d2d2d2;
}

.footer-container {
  /* max-width: 1440px; */
  margin: 0 auto;
}

/* Footer Top Row layout */
.footer-top-row {
  text-align: center;
 
 
 
}

.footer-logo-box {
  flex-shrink: 0;
}

.footer-logo {
  height: 22px;
  margin-top: 30px;
  width: auto;
  filter: brightness(0.25);
  display: block;
}

@media (max-width: 768px) {
  .footer-top-row {
  text-align: center;
    gap: 24px;
  }
}

/* Footer Nav Link Grid */
.footer-links-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 32px;
}

.footer-links-grid .footer-link {
  color: #333333;
  font-size: 13.5px;
  font-weight: 500;
  cursor: default;
}

/* Footer Middle Bar (Social & Settings Cog) */
.footer-middle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #cccccc;
  border-bottom: 1px solid #cccccc;
  padding: 16px 0;
  margin-bottom: 24px;
}

.social-icons {
  display: flex;
  gap: 20px;
}

.social-link {
  color: #333333;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--transition-fast), transform var(--transition-fast);
  cursor: default;
}

.social-svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* Footer Bottom Section (Legal links, copy, disclaimer) */
.footer-legal-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  font-size: 11px;
  color: var(--text-muted);
}

.legal-links span {
  font-weight: 600;
}

.legal-links .legal-link {
  color: var(--text-muted);
  cursor: default;
}

.footer-disclaimer {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-disclaimer .disclaimer-link {
  color: var(--text-muted);
  cursor: default;
}

/* ==========================================================================
   RESPONSIVENESS / MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1200px) {
  .hero-heading {
    font-size: 32px;
  }
}

@media (max-width: 992px) {
  .split-hero {
    grid-template-columns: 1fr;
  }
  
  .hero-left-column {
    clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%);
    padding: 50px 24px 60px 24px;
    align-items: center;
  }
  
  .hero-left-content {
    max-width: 100%;
    text-align: center;
  }
  
  .hero-image-wrapper {
    margin: 0 auto 30px auto;
    max-width: 480px;
  }
  
  .hero-right-column {
    padding: 40px 24px 60px 24px;
    align-items: center;
  }
  
  .form-wrapper {
    max-width: 100%;
  }

  .main-nav {
    display: none; /* Hide main nav links on mobile for simplicity, keeping search/user */
  }
}

@media (max-width: 576px) {
  .header-container {
    padding: 10px 16px;
  }
  
  .search-container {
    display: none; /* Hide search input on mobile */
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .hero-heading {
    font-size: 26px;
  }

  .form-title {
    font-size: 24px;
  }
  
  .modal-card {
    width: 95%;
    margin: 10px;
  }
  
  .modal-body {
    padding: 16px;
  }
  
  .rating-container {
    gap: 8px;
  }
  
  .star-icon {
    width: 26px;
    height: 26px;
  }
}