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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

html.modal-open {
  overflow: hidden !important;
}

body {
  font-family: 'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background-color: white;
  color: #1a1a1a;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
}

:root {
  --brand-gold: #ffba08;
  --brand-blue: #1c6bb0;
  --ink: #111827;
  --ink-2: #374151;
  --ink-3: #6b7280;
  --ring: rgba(28, 107, 176, .15);
  --sz-red: #EF4444;
}

.sz-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  z-index: 1000;
  padding: 30px 0;
}

.sz-header-container {
  width: 100%;
  padding: 0 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sz-logo {
  height: 42px;
  width: auto;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.sz-logo:hover {
  transform: scale(1.05);
}

.sz-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.header-nav-list {
  align-items: center;
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 12px;
}

.header-nav-item {
  margin: 0;
}

.header-nav-item a:not([href*="#login"]):not([href*="#signup"]):not([href*="#logout"]) {
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  font-size: 1rem;
  padding: 10px 18px;
  border-radius: 8px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.header-nav-item a:not([href*="#login"]):not([href*="#signup"]):not([href*="#logout"]):hover {
  background-color: rgba(48, 137, 217, 0.08);
  transform: translateY(-1px);
}

.header-nav-item a[href*="#signup"],
.header-nav-item a[href*="#login"],
.header-nav-item a[href*="#logout"] {
  display: inline-block;
  text-align: center;
  border-radius: 100px;
  padding: 12px 32px;
  min-width: 150px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  font-weight: 800;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.header-nav-item a[href*="#signup"] {
  background: var(--brand-gold);
  border: 2px solid var(--brand-gold);
  color: #000;
  box-shadow: 0 8px 32px rgba(255, 186, 8, 0.25), 0 4px 16px rgba(255, 186, 8, 0.15);
}

.header-nav-item a[href*="#signup"]:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 40px rgba(255, 186, 8, 0.35), 0 6px 20px rgba(255, 186, 8, 0.2);
}

.header-nav-item a[href*="#login"],
.header-nav-item a[href*="#logout"] {
  background: var(--brand-blue);
  border: 2px solid var(--brand-blue);
  color: #fff;
  box-shadow: 0 8px 32px rgba(48, 137, 217, 0.25), 0 4px 16px rgba(48, 137, 217, 0.15);
}

.header-nav-item a[href*="#login"]:hover,
.header-nav-item a[href*="#logout"]:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 40px rgba(48, 137, 217, 0.35), 0 6px 20px rgba(48, 137, 217, 0.2);
}

.header-nav-item:nth-of-type(4)+.header-nav-item {
  margin-left: 12px;
}

.hamburger-menu {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
  transition: var(--transition-smooth);
}

.hamburger-menu.active {
  display: none;
}

.hamburger-menu span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--ink);
  border-radius: 3px;
  transition: var(--transition-smooth);
}

.hamburger-menu:hover span {
  background: var(--brand-blue);
}

.hamburger-menu.active span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.hamburger-menu.active span:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 400;
  opacity: 0;
  visibility: hidden;
  transition: all 200ms ease;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  max-width: 100%;
  height: 100%;
  background: #fff;
  padding: 24px;
  transform: translateX(100%);
  transition: transform 300ms ease;
}

.mobile-menu-overlay.active .mobile-menu-panel {
  transform: translateX(0);
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e2e8f0;
}

.mobile-menu-overlay .mobile-menu-close {
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  color: #64748b;
  position: static;
  font-size: inherit;
  width: auto;
  height: auto;
}

.mobile-menu-overlay .mobile-menu-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-menu-overlay .mobile-menu-nav a {
  font-size: 1.125rem;
  font-weight: 500;
  color: #334155;
  text-decoration: none;
  padding: 8px 0;
}

.mobile-menu-overlay .mobile-menu-nav a:hover {
  color: #2563eb;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(17, 24, 39, 0.95);
  backdrop-filter: blur(10px);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-close {
  position: absolute;
  top: 30px;
  right: 30px;
  background: none;
  border: none;
  color: white;
  font-size: 40px;
  cursor: pointer;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}

.mobile-menu-nav {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: center;
  width: 90%;
  max-width: 400px;
}

.mobile-menu-nav a {
  color: white;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 600;
  padding: 15px 30px;
  border-radius: 12px;
  transition: all 0.3s ease;
  display: block;
}

.mobile-menu-nav a:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(10px);
}

.scam-sos-link {
  background: var(--sz-red) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  padding: 12px 24px !important;
  border-radius: 100px !important;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
  transition: var(--transition-smooth);
  border: 2px solid var(--sz-red);
}

.scam-sos-link:hover {
  background: #dc2626 !important;
  transform: translateY(-2px) scale(1.02) !important;
  box-shadow: 0 8px 24px rgba(239, 68, 68, 0.4), 0 4px 12px rgba(239, 68, 68, 0.25);
}

.scam-sos-link:active {
  transform: translateY(-1px) scale(1.01) !important;
}

@media (max-width: 768px) {
  .sz-nav {
    display: none;
  }

  .hamburger-menu {
    display: flex;
  }
}

#login-modal-overlay,
#signup-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(17, 24, 39, 0.7);
  backdrop-filter: blur(8px);
  z-index: 10000;
  visibility: hidden;
  opacity: 0;
  transition: var(--transition-smooth);
}

#login-modal-overlay.active,
#signup-modal-overlay.active {
  visibility: visible;
  opacity: 1;
}

.sz-modal-content {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  z-index: 10001;
  background: #ffffff;
  padding: 32px 36px;
  border-radius: 16px;
  box-shadow: var(--shadow-xl);
  width: 100%;
  max-width: 400px;
  text-align: center;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  font-family: var(--font-system);
  transition: var(--transition-smooth);
}

#login-modal-overlay.active .sz-modal-content,
#signup-modal-overlay.active .sz-modal-content {
  transform: translate(-50%, -50%) scale(1);
}

.sz-modal-close-button {
  position: absolute;
  top: 18px;
  right: 18px;
  background: rgba(174, 174, 178, 0.1);
  border: none;
  font-size: 24px;
  font-weight: 300;
  color: #8E8E93;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition-smooth);
}

.sz-modal-close-button:hover {
  background: rgba(174, 174, 178, 0.2);
  color: #555;
  transform: rotate(90deg);
}

.sz-modal-header {
  margin-bottom: 8px;
}

.sz-modal-icon {
  display: block;
  margin: 0 auto 8px auto;
  width: 64px;
  height: 64px;
  object-fit: contain;
  transition: var(--transition-bounce);
}

.sz-modal-icon:hover {
  transform: scale(1.1) rotate(5deg);
}

.sz-modal-header h2 {
  font-size: 24px;
  font-weight: 700;
  color: #1D1D1F;
  margin: 0 0 6px 0;
  letter-spacing: -.01em;
}

.sz-modal-header p {
  font-size: 14px;
  color: #6E6E73;
  line-height: 1.5;
  margin: 0 auto 8px auto;
  max-width: 320px;
}

.sz-divider {
  display: flex;
  align-items: center;
  text-align: center;
  font-size: 12px;
  color: #8A8A8E;
  margin: 20px 0;
  font-weight: 500;
}

.sz-divider::before,
.sz-divider::after {
  content: '';
  flex-grow: 1;
  background-color: #E5E5EA;
  height: 1px;
  margin: 0 12px;
}

.sz-modal-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex-grow: 1;
}

.sz-form-group {
  text-align: left;
}

.sz-form-group label {
  display: block;
  font-size: 13px;
  color: #3C3C43;
  font-weight: 600;
  margin-bottom: 8px;
}

.sz-form-group input[type="email"],
.sz-form-group input[type="text"] {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #D1D1D6;
  border-radius: 10px;
  font-size: 16px;
  color: #1D1D1F;
  transition: var(--transition-smooth);
  background: #FAFAFA;
}

.sz-form-group input[type="email"]::placeholder,
.sz-form-group input[type="text"]::placeholder {
  color: #AEAEB2;
}

.sz-form-group input[type="email"]:focus,
.sz-form-group input[type="text"]:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 4px var(--ring);
  outline: none;
  background: #ffffff;
  transform: translateY(-1px);
}

.sz-modal-submit-button {
  background-color: var(--brand-blue);
  color: #ffffff;
  border: none;
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
  width: 100%;
  box-shadow: var(--shadow-blue);
}

.sz-modal-submit-button:hover {
  background-color: #2771bd;
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(48, 137, 217, 0.35), 0 6px 20px rgba(48, 137, 217, 0.2);
}

.sz-modal-submit-button:active {
  transform: translateY(0);
}

.sz-modal-submit-button:disabled {
  background-color: #D1D1D6;
  color: #8E8E93;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.sz-google-button {
  background-color: #FFFFFF;
  color: #444444;
  border: 1.5px solid #DADCE0;
  box-shadow: 0 1px 4px rgba(60, 64, 67, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.sz-google-button:hover {
  background-color: #F8F9FA;
  border-color: #C6C6C6;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(60, 64, 67, 0.25);
}

.sz-modal-message {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 60px);
  max-width: 340px;
  padding: 24px 28px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.6;
  display: none;
  z-index: 10;
  box-shadow: var(--shadow-xl);
  text-align: center;
  font-weight: 500;
}

.sz-modal-message.success {
  background-color: #FFFFFF;
  color: #2E7D32;
  border: 2px solid #4CAF50;
}

.sz-modal-message.error {
  background-color: #FFFFFF;
  color: #C62828;
  border: 2px solid #F44336;
}

.sz-modal-footer {
  font-size: 12px;
  color: #8A8A8E;
  margin-top: auto;
  padding-top: 18px;
  line-height: 1.5;
}

.sz-modal-footer a {
  color: var(--brand-blue);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition-fast);
}

.sz-modal-footer a:hover {
  text-decoration: underline;
  color: #2771bd;
}

.sz-modal-switch {
  text-align: center;
  margin-top: 18px;
  font-size: 14px;
  color: #6E6E73;
}

.sz-modal-switch a {
  color: var(--brand-blue);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition-fast);
}

.sz-modal-switch a:hover {
  text-decoration: underline;
  color: #2771bd;
}

.turnstile-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 65px;
  width: 100%;
}

.content-section {
  padding: 140px 40px 80px;
  background: white;
}

.content-container {
  max-width: 900px;
  margin: 0 auto;
}

.content-title {
  font-size: 3rem;
  font-weight: 800;
  color: #0a0a0a;
  margin-bottom: 16px;
  line-height: 1.2;
}

.effective-date {
  font-size: 1.125rem;
  color: #6b7280;
  margin-bottom: 40px;
  font-weight: 500;
}

.intro-text {
  font-size: 1.125rem;
  line-height: 1.8;
  color: #374151;
  margin-bottom: 48px;
}

.content-container h2 {
  font-size: 1.875rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-top: 48px;
  margin-bottom: 20px;
  line-height: 1.3;
}

.content-container p {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: #4a5568;
  margin-bottom: 20px;
}

.content-container strong {
  font-weight: 700;
  color: #1a1a1a;
}

.content-container a {
  color: var(--brand-blue);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.content-container a:hover {
  color: #2771bd;
  text-decoration: underline;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 24px 0;
}

.contact-list li {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: #4a5568;
  margin-bottom: 12px;
}

.acknowledgment {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 2px solid #e5e7eb;
  font-size: 1.0625rem;
  line-height: 1.8;
  color: #4a5568;
  font-style: italic;
}

.footer-section {
  padding: 80px 40px 40px;
  background: #0f172a;
  color: white;
}

.container-large {
  max-width: 1400px;
  margin: 0 auto;
}

.footer-logo {
  height: 32px;
  margin-bottom: 20px;
}

.footer-description {
  color: #CBD5E1; 
  font-size: 15px;
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
  color: white;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 15px;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: white;
}

.footer-social-links {
  display: flex;
  gap: 16px;
  margin-top: 12px;
}

.footer-social-links a {
  color: #ffffff;
  font-size: 1.5rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-social-links a:hover {
  color: #FFBA08;
  transform: translateY(-3px);
}

.footer-bottom {
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer-bottom p {
  color: #CBD5E1; 
  font-size: 14px;
}

@media (max-width: 992px) {
  .sz-header-container {
    padding: 0 30px;
  }

  .sz-nav {
    gap: 16px;
  }

  .content-section {
    padding: 120px 30px 60px;
  }

  .content-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .sz-header {
    padding: 20px 0;
  }

  .sz-header-container {
    padding: 0 24px;
  }

  .sz-nav {
    display: none;
  }

  .hamburger-menu {
    display: flex;
  }

  .content-section {
    padding: 100px 20px 60px;
  }

  .content-title {
    font-size: 2rem;
  }

  .effective-date {
    font-size: 1rem;
  }

  .intro-text {
    font-size: 1rem;
  }

  .content-container h2 {
    font-size: 1.5rem;
  }

  .content-container p,
  .contact-list li {
    font-size: 1rem;
  }

  .footer-section {
    padding: 60px 20px 40px;
  }

  .sz-modal-content {
    padding: 24px 28px;
    min-height: auto;
  }

  .sz-modal-header {
    margin-bottom: 8px;
  }

  .sz-modal-icon {
    margin-bottom: 12px;
  }

  .sz-modal-header h2 {
    margin-bottom: 8px;
  }

  .sz-modal-header p {
    margin-bottom: 6px;
  }

  .sz-modal-form {
    gap: 8px;
  }

  .sz-divider {
    margin: 14px 0;
  }

  .sz-modal-footer {
    margin-top: 14px;
    padding-top: 14px;
  }

  .sz-modal-switch {
    margin-top: 14px;
  }

  #signup-modal .sz-modal-header p {
    margin-bottom: 4px;
  }

  #signup-modal .sz-modal-footer {
    margin-top: 3.5px;
    padding-top: 3.5px;
  }
}