:root {
  --primary: #d47902;
  --bg: #F9FAFB;
  --surface: #ffffff;
  --text: #1F2937;
  --nav-color: #151f77;
  --blue: #101757;
}

html {
  scroll-behavior: smooth;
}

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

body {
  font-family: "Montserrat", sans-serif;
  background: var(--bg);
  color: var(--text);
}

/* NAVBAR */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  margin: auto;
  padding: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--nav-color);
}

.logo {
  width: 130px;
  height: 55px;
}

.nav-links a {
  margin-left: 12px;
  padding: 8px 18px;
  color: white;
  text-decoration: none;
  font-size: 14px;
  border-bottom: 3px solid transparent;
  transition: all 0.3s ease;
}

.nav-links a.active {
  border-bottom-color: var(--primary);
}

/* FORM ELEMENTS */
.input-group {
  display: flex;
  align-items: center;
  background: #f8fafc;
  border-radius: 16px;
  padding: 0 20px;
  border: 2px solid #f1f5f9;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.input-group:focus-within {
  border-color: var(--primary);
  background: white;
  box-shadow: 0 8px 20px rgba(212, 121, 2, 0.1);
  transform: translateY(-2px);
}

.input-group .material-icons {
  color: #94a3b8;
  font-size: 20px;
  margin-right: 12px;
}

.input-group input {
  border: none;
  background: transparent;
  padding: 18px 0;
  outline: none;
  width: 100%;
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
}

.input-group input::placeholder,
.input-group textarea::placeholder {
  color: #94a3b8;
}

.textarea-group {
  align-items: flex-start;
  padding-top: 15px;
}

.textarea-group textarea {
  border: none;
  background: transparent;
  outline: none;
  width: 100%;
  min-height: 120px;
  resize: vertical;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
}

/* CONTACT SECTION */
.contact-section {
  padding: 80px 20px;
  background: #ffffff;
  scroll-margin-top: 100px;
}

.contact-container {
  max-width: 1000px;
  margin: auto;
}

.contact-card {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  background: #f8fafc;
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.08);
}

.contact-info {
  padding: 60px;
  background: var(--nav-color);
  color: white;
}

.contact-title {
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 15px;
}

.contact-desc {
  opacity: 0.8;
  line-height: 1.6;
  margin-bottom: 40px;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.method {
  display: flex;
  align-items: center;
  gap: 15px;
}

.method .material-icons {
  color: var(--primary);
  background: rgba(255, 255, 255, 0.1);
  padding: 10px;
  border-radius: 12px;
}

.contact-form {
  padding: 60px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: white;
}

.captcha-container {
  margin: 10px 0;
}

@media (max-width: 850px) {
  .contact-card {
    grid-template-columns: 1fr;
  }

  .contact-info,
  .contact-form {
    padding: 40px;
  }
}

/* CARDS */
.cards {
  max-width: 1200px;
  margin: 120px auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.card {
  background: white;
  border-radius: 24px;
  padding: 20px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, .08);
  transition: transform .3s;
}

.card:hover {
  transform: translateY(-6px);
}

.card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 16px;
}

.card a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

/* FOOTER */
.footer {
  background: var(--nav-color);
  color: white;
  padding: 60px 20px 30px;
  text-align: center;
}

.footer-columns {
  max-width: 1000px;
  margin: 40px auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

.footer a {
  display: block;
  color: white;
  text-decoration: none;
  margin: 6px 0;
  font-size: 14px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .3);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  max-width: 1000px;
  margin: auto;
  font-size: 14px;
}

/* FAQ SECTION */
.faq-section {
  max-width: 900px;
  margin: 80px auto;
  padding: 0 20px;
  scroll-margin-top: 100px;
}

.faq-title {
  text-align: center;
  font-size: 32px;
  margin-bottom: 40px;
}

.faq-item {
  background: white;
  border-radius: 18px;
  margin-bottom: 16px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

.faq-question:hover {
  background: #f9fafb;
}

.faq-question .arrow {
  transition: transform 0.3s ease;
  color: var(--primary);
}

.faq-item.active .arrow {
  transform: rotate(90deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 24px;
  font-size: 15px;
  color: #4b5563;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 24px 20px;
}

/* HERO BUTTON */
.btn-hero-launch {
  background: var(--primary);
  color: white;
  border: none;
  padding: 18px 36px;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 20px rgba(212, 121, 2, 0.3);
  margin-top: 20px;
}

.btn-hero-launch:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(212, 121, 2, 0.4);
  filter: brightness(1.1);
}

/* VERIFICATION SECTION */
.verification-section {
  padding: 60px 20px 100px;
  background: #f8fafc;
  scroll-margin-top: 100px;
}

.verification-container {
  max-width: 1200px;
  margin: auto;
}

.verification-layout {
  display: grid;
  grid-template-columns: 450px 1fr;
  gap: 0;
  background: white;
  overflow: hidden;
  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.15);
  border-radius: 32px;
  min-height: 600px;
}

.verification-form-side {
  padding: 60px;
  background: #ffffff;
  border-right: 1px solid #f1f5f9;
  display: flex;
  flex-direction: column;
}

.side-title {
  font-size: 2.2rem;
  color: var(--nav-color);
  margin-bottom: 15px;
  font-weight: 900;
  line-height: 1.1;
}

.side-desc {
  color: #64748b;
  font-size: 0.95rem;
  margin-bottom: 30px;
  line-height: 1.6;
}

/* Tab Mode Toggle */
.verify-mode-modern {
  display: flex;
  background: #f1f5f9;
  padding: 6px;
  border-radius: 14px;
  margin-bottom: 30px;
}

.mode-tab {
  flex: 1;
  border: none;
  padding: 12px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  background: transparent;
  color: #64748b;
}

.mode-tab.active {
  background: white;
  color: var(--nav-color);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.unified-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.btn-submit-modern {
  background: var(--nav-color);
  color: white;
  border: none;
  padding: 16px;
  border-radius: 16px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s;
}

.btn-submit-modern:hover {
  background: var(--primary);
  transform: translateY(-2px);
}

/* Right Side: Results */
.verification-results-side {
  padding: 50px;
  background: #fafbfc;
  display: flex;
  flex-direction: column;
}

.results-viewport {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.results-placeholder {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  text-align: center;
  gap: 15px;
}

.results-placeholder .material-icons {
  font-size: 64px;
  opacity: 0.3;
}

.results-placeholder p {
  max-width: 300px;
  font-size: 1rem;
}

@media (max-width: 992px) {
  .verification-layout {
    grid-template-columns: 1fr;
  }

  .verification-form-side {
    border-right: none;
    border-bottom: 1px solid #f1f5f9;
    padding: 30px;
  }

  .verification-results-side {
    padding: 30px;
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

[hidden] {
  display: none !important;
}

.result-card {
  background: #fdfdfd;
  padding: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.result-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.result-header .material-icons {
  font-size: 32px;
}

.result-success .material-icons {
  color: #10B981;
}

.result-error .material-icons {
  color: #EF4444;
}

.result-warning .material-icons {
  color: #F59E0B;
}

.result-title {
  font-weight: 700;
  font-size: 1.2rem;
}

.result-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.result-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  border-bottom: 1px solid #f3f4f6;
  padding-bottom: 8px;
}

.result-label {
  color: #6B7280;
  font-weight: 500;
}

.result-value {
  color: var(--text);
  font-weight: 600;
  text-align: right;
}

.partner-info {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding: 10px;
  background: #f9fafb;
  border-radius: 8px;
}

.partner-logo {
  height: 24px;
  object-fit: contain;
}

.linkedin-share {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 10px 20px;
  background: var(--primary);
  color: white;
  text-decoration: none;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
}

/* List View for Email Search */
.results-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.certificate-item {
  background: white;
  padding: 16px;
  border-radius: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid #e5e7eb;
  transition: all .2s;
}

.certificate-item:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.cert-info h4 {
  margin: 0 0 4px 0;
  font-size: 16px;
}

.cert-info p {
  margin: 0;
  font-size: 13px;
  color: #6B7280;
}

.btn-view {
  background: #f3f4f6;
  color: var(--text);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: none;
}

.btn-view:hover {
  background: var(--primary);
  color: white;
}

.error-explanation {
  font-size: 14px;
  color: #6B7280;
  margin: 15px 0;
  line-height: 1.5;
}

.check-tips {
  list-style: none;
  padding: 0;
  margin: 15px 0;
  font-size: 13px;
}

.check-tips li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.check-tips li::before {
  content: "•";
  color: var(--primary);
  font-weight: bold;
}

.btn-new-search {
  width: 100%;
  margin-top: 15px;
  background: var(--primary);
  color: white;
  border: none;
  padding: 12px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
}

.contact-link {
  display: block;
  text-align: center;
  margin-top: 15px;
  font-size: 13px;
  color: var(--primary);
  text-decoration: none;
}

.contact-link:hover {
  text-decoration: underline;
}

/* MOBILE RESPONSIVENESS (768px and below) */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    padding: 15px;
    height: auto;
  }

  .logo {
    margin-bottom: 10px;
  }

  .nav-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    width: 100%;
  }

  .nav-links a {
    margin: 0;
    font-size: 13px;
  }

  .verification-section {
    padding: 40px 10px;
  }

  .verification-layout {
    min-height: auto;
  }

  .verification-form-side,
  .verification-results-side {
    padding: 30px 20px;
  }

  .side-title {
    font-size: 1.5rem;
  }

  .cards {
    margin: 60px auto;
    padding: 0 20px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .mode-tab {
    font-size: 12px;
    padding: 10px 5px;
  }
}