:root {
  /*--------------------------------------------------------------
  # Color pallet
  --------------------------------------------------------------*/
  --color-blue: rgba(0, 102, 204, 1);
  --color-light-blue: rgba(51, 153, 255, 1);
  --color-medium-blue: rgb(40, 105, 180);
  --color-dark-blue: rgba(0, 76, 153, 1);

  --color-navy: rgba(30, 60, 120, 1);
  --color-light-navy: rgba(50, 70, 100, 1);
  --color-dark-navy: rgba(20, 40, 100, 1);

  --color-white: rgb(255, 255, 255, 1);
  --color-light-sky-blue: rgb(245, 245, 255);

  --color-gray: rgb(85, 85, 85, 1);
  --color-dark-gray: rgb(68, 68, 68, 1);
  --color-light-gray: rgb(119, 119, 119, 1);

  --color-purple: rgba(107, 98, 233, 1);
  --color-light-purple: rgba(142, 137, 235, 1);
  --color-medium-purple: rgb(115, 115, 215);
  --color-dark-purple: rgba(80, 74, 187, 1);

  --color-deep-purple: rgba(68, 60, 130, 1);
  --color-light-deep-purple: rgba(88, 79, 148, 1);
  --color-dark-deep-purple: rgba(53, 47, 113, 1);
  
  --color-primary: var(--color-purple);
  --color-primary-light: var(--color-light-purple);
  --color-primary-dark: var(--color-dark-purple);
  
  --color-secondary: var(--color-deep-purple);
  --color-secondary-light: var(--color-light-deep-purple);
  --color-secondary-dark: var(--color-dark-deep-purple);

  /*--------------------------------------------------------------
  # Component
  --------------------------------------------------------------*/
  --base-bg: var(--color-light-sky-blue);

  --base-text: var(--color-dark-gray);
  --base-hover-text: var(--color-primary);
  --base-highlight-text: var(--color-secondary-light);

  --base-a-text: var(--color-primary);
  --base-a-hover-text: var(--color-primary-light);

  --base-button-bg: var(--color-primary);
  --base-button-hover-bg: var(--color-primary-dark);
  --base-button-border: var(--color-primary);
  --base-button-text: var(--color-white);
  --base-btn-link: var(--color-primary);
  --base-button-hover-link: var(--color-primary-dark);

  --base-icon: var(--color-primary);
  --base-hover-icon: var(--color-primary);

  --base-chart-bar-bg: var(--color-medium-purple);

  --base-border: var(--color-primary);
  --base-shadow: var(--color-primary-light);
}


/* ================================================
  Base Styles
================================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html:lang(zh-Hans),
html:lang(en) {
  --bs-body-font-family: 'Noto Sans SC', sans-serif;
}

html:lang(ko) {
  --bs-body-font-family: 'Noto Sans KR', sans-serif;
}

body {
  line-height: 1.6;
  color: var(--base-text);
  background: #ffffff;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.landing-hero {
  font-family: 'Noto Sans SC', sans-serif;
}

/* ================================================
   Header
================================================ */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  border-bottom: 1px solid #e0e0e0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.main-header.scrolled {
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid #d0d0d0;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

/* Logo */
.logo a {
  text-decoration: none;
  display: flex;
  align-items: center;
}

.logo-img {
  height: 40px;
  width: auto;
  display: block;
  transition: opacity 0.3s ease;
}

.logo-img:hover {
  opacity: 0.8;
}

/* Header Navigation */
.header-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Language Selector */
.language-selector {
  position: relative;
}

.lang-button {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: transparent;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.lang-button:hover {
  border-color: var(--color-deep-purple);
  color: var(--color-deep-purple);
  background: var(--color-light-sky-blue);
}

.lang-button svg {
  width: 18px;
  height: 18px;
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  min-width: 160px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

.lang-dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-dropdown a {
  display: block;
  padding: 12px 16px;
  color: var(--base-text);
  text-decoration: none;
  font-size: 14px;
  transition: all 0.2s ease;
}

.lang-dropdown a:hover {
  background: var(--color-light-sky-blue);
}

.lang-dropdown a:first-child {
  border-radius: 8px 8px 0 0;
}

.lang-dropdown a:last-child {
  border-radius: 0 0 8px 8px;
}

/* Auth Buttons */
.auth-buttons {
  display: flex;
  gap: 12px;
  align-items: center;
}

.btn-login {
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 600;
  color: #666;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.btn-login:hover {
  color: var(--base-highlight-text);
  background: rgba(142, 137, 235, 0.3);
}

.btn-signup {
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  background: var(--base-button-bg);
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.btn-signup:hover {
  background: var(--base-button-hover-bg);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px var(--color-light-purple);
}

/* ================================================
   Landing Hero Section
================================================ */
.landing-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 0 60px;
  background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
}

.landing-hero .container {
  text-align: center;
}

/* Headline */
.headline {
  margin-bottom: 25px;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.headline h1 {
  font-size: 50px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--color-gray);
  margin: 0;
}

.headline .headline-subtitle {
  font-size: 25px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--color-gray);
  margin: 0;
}

.headline .service-logo {
  color: var(--color-purple);
  position: relative;
  text-decoration: none;
}

/* Video Container */
.video-container {
  margin: 0 auto 20px;
  max-width: 900px;
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

.video-wrapper {
  position: relative;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  background: #f5f5f5;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-wrapper:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.2);
}

.main-video {
  width: 100%;
  height: auto;
  display: block;
  max-height: 600px;
  object-fit: cover;
}

/* Bottom Description */
.bottom-description {
  animation: fadeInUp 0.8s ease-out 0.8s both;
}

.bottom-description p {
  font-size: 20px;
  color: var(--base-text);
  margin-bottom: 5px;
  font-weight: 600;
}

.learn-more {
  display: inline-flex;
  align-items: center;
  font-size: 18px;
  font-weight: 700;
  color: var(--base-a-text);
  text-decoration: none;
  transition: all 0.3s ease;
}

.learn-more:hover {
  color: var(--base-a-hover-text);
  transform: translateX(5px);
}

/* ================================================
   Footer
================================================ */
.main-footer {
  background: rgba(255, 255, 255, 0.98);
  color: var(--base-text);
  padding: 60px 0 0;
  border-top: 1px solid #e0e0e0;
}

/* Footer Content */
.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  padding-bottom: 50px;
  border-bottom: 1px solid #e0e0e0;
}

/* Left Column */
.footer-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-left p {
  font-size: 14px;
  font-weight: 550;
}

.footer-brand {
  font-size: 22px;
  font-weight: 700;
  margin: 0;
}

.footer-description {
  font-size: 14px;
  line-height: 1.8;
  margin: 0;
}

/* Right Column */
.footer-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-title {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 10px 0;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
}

.contact-list i {
  font-size: 18px;
  color: var(--base-icon);
  margin-top: 2px;
  flex-shrink: 0;
}

.contact-list a {
  color: var(--base-text);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-list a:hover {
  color: #0066cc;
}

.btn-contact-modal {
  margin-top: 15px;
  background: none;
  border: none;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 700;
  color: var(--color-primary);
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-contact-modal:hover {
  color: var(--color-primary-light);
  transform: translateX(5px);
}

.btn-contact-modal i {
  font-size: 18px;
  transition: transform 0.3s ease;
}

.btn-contact-modal:hover i {
  transform: translateX(3px);
}

/* Footer Images */
.footer-images {
  display: flex;
  gap: 15px;
  align-items: center;
}

.footer-image {
  height: 80px;
  width: auto;
  object-fit: contain;
  transition: opacity 0.3s ease;
}

.footer-image:hover {
  opacity: 0.8;
}

/* Social Links */
.social-links {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}

.social-links a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f5f5;
  border-radius: 8px;
  color: var(--base-icon);
  font-size: 18px;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--base-hover-icon);
  color: #ffffff;
  transform: translateY(-3px);
}

/* ================================================
   Footer Bottom
================================================ */
.footer-bottom {
  padding: 24px 0;
  border-top: 1px solid #e0e0e0;
}

.footer-bottom-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}

.copyright-section {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.copyright-text {
  margin: 0;
  font-size: 14px;
  color: #666;
  font-weight: 500;
}

.company-details {
  font-size: 12px;
  color: #999;
  margin: 0;
}

.footer-bottom-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  flex-shrink: 0;
}

.footer-bottom-right .social-links {
  margin-top: 0;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}

.footer-links a {
  color: var(--base-text);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #0066cc;
}

.footer-links .separator {
  color: #ddd;
}

/* ================================================
   Contact Modal
================================================ */
.contact-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.contact-modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  cursor: pointer;
}

.modal-container {
  position: relative;
  width: 100%;
  max-width: 860px;
  max-height: 90vh;
  background: rgba(255, 255, 255, 0.97);
  border-radius: 22px;
  border: 1px solid rgba(107, 98, 233, 0.10);
  box-shadow:
    0 2px 4px rgba(107, 98, 233, 0.04),
    0 24px 64px rgba(107, 98, 233, 0.14),
    0 1px 2px rgba(0, 0, 0, 0.03);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: translateY(12px) scale(0.98);
  transition: transform 0.25s ease;
}

.contact-modal.active .modal-container {
  transform: translateY(0) scale(1);
}

/* Modal Header */
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 28px 32px 22px;
  background: linear-gradient(135deg, #f4f5ff 0%, #fafaff 100%);
  border-bottom: 1px solid rgba(107, 98, 233, 0.08);
}

.modal-header-content {
  flex: 1;
}

.modal-title {
  font-size: 22px;
  font-weight: 700;
  color: rgba(53, 47, 113, 1);
  margin: 0 0 4px 0;
  line-height: 1.2;
  letter-spacing: -0.3px;
}

.modal-subtitle {
  font-size: 14px;
  color: #8c96a9;
  margin: 0;
  font-weight: 500;
  line-height: 1.5;
}

.modal-close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eef0fa;
  border: none;
  border-radius: 10px;
  color: #8c96a9;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
  flex-shrink: 0;
  margin-left: 20px;
}

.modal-close:hover {
  background: var(--color-primary);
  color: #ffffff;
  transform: rotate(90deg);
}

/* Modal Body */
.modal-body {
  padding: 32px 36px 36px;
  overflow-y: auto;
  position: relative;
}

.modal-body::-webkit-scrollbar {
  width: 6px;
}

.modal-body::-webkit-scrollbar-track {
  background: transparent;
}

.modal-body::-webkit-scrollbar-thumb {
  background: rgba(107, 98, 233, 0.20);
  border-radius: 10px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
  background: rgba(107, 98, 233, 0.38);
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-group label {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  color: #5a6172;
}

.label-text {
  color: #5a6172;
}

.required {
  color: var(--color-primary);
  font-size: 13px;
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 10px 14px;
  font-size: 14px;
  border: 1.5px solid #e5e7f0;
  border-radius: 10px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  font-family: inherit;
  color: rgb(68, 68, 68);
  background: #f7f8fd;
}

.form-group input:hover,
.form-group textarea:hover,
.form-group select:hover {
  border-color: rgba(107, 98, 233, 0.30);
  background: #ffffff;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-primary);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(107, 98, 233, 0.12);
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238c96a9' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

.form-group input::placeholder,
.form-group textarea::placeholder,
.form-group select::placeholder {
  color: #b4bcc8;
}

.character-count {
  font-size: 12px;
  color: #b4bcc8;
  text-align: right;
  margin-top: -4px;
}

/* Form Footer */
.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  gap: 20px;
  flex-wrap: wrap;
}

.privacy-notice {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
  min-width: 250px;
}

.privacy-notice p {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  color: #b4bcc8;
  margin: 0;
}

.privacy-notice p i {
  color: var(--color-primary);
  font-size: 14px;
  flex-shrink: 0;
}

.btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 28px;
  font-size: 14.5px;
  font-weight: 600;
  color: #ffffff;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 4px 16px rgba(107, 98, 233, 0.38);
  letter-spacing: 0.1px;
}

.btn-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(107, 98, 233, 0.48);
}

.btn-submit:active {
  transform: translateY(0);
  box-shadow: 0 3px 10px rgba(107, 98, 233, 0.35);
}

.btn-submit i {
  font-size: 15px;
  transition: transform 0.2s ease;
}

.btn-submit:hover i {
  transform: translateX(3px);
}

/* Success Message */
.form-success {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.98);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  z-index: 10;
  border-radius: 22px;
}

.form-success.active {
  display: flex;
  opacity: 1;
  visibility: visible;
}

.success-content {
  text-align: center;
  max-width: 440px;
  width: 100%;
}

.success-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(107, 98, 233, 0.32);
  animation: successPulse 0.5s ease-out;
}

.success-icon i {
  font-size: 38px;
  color: #ffffff;
}

@keyframes successPulse {
  0%   { transform: scale(0); opacity: 0; }
  60%  { transform: scale(1.1); }
  100% { transform: scale(1); opacity: 1; }
}

.form-success h3 {
  font-size: 22px;
  font-weight: 700;
  color: rgba(53, 47, 113, 1);
  margin: 0 0 12px 0;
  letter-spacing: -0.2px;
}

.form-success p {
  font-size: 14.5px;
  color: #8c96a9;
  line-height: 1.7;
  margin: 0 0 28px 0;
}

.success-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
  padding: 11px 26px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(107, 98, 233, 0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(107, 98, 233, 0.45);
}

.btn-secondary {
  background: #f4f5f9;
  color: #8c96a9;
  border: 1.5px solid #e5e7f0;
}

.btn-secondary:hover {
  background: #ecedf5;
  color: rgb(68, 68, 68);
}

/* Error Toast (Centered Modal Style) */
.error-toast {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  z-index: 10001;
  background: rgba(255, 255, 255, 0.97);
  border-radius: 22px;
  border: 1px solid rgba(107, 98, 233, 0.10);
  box-shadow:
    0 2px 4px rgba(107, 98, 233, 0.04),
    0 20px 48px rgba(107, 98, 233, 0.14);
  padding: 32px 28px 28px;
  max-width: 400px;
  width: calc(100% - 40px);
  display: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}

.error-toast.active {
  display: block;
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.error-toast-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.40);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 10000;
  display: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.error-toast-overlay.active {
  display: block;
  opacity: 1;
  visibility: visible;
}

.error-toast-content {
  text-align: center;
}

.error-toast-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(233, 98, 98, 1), rgba(200, 70, 70, 1));
  border-radius: 50%;
  box-shadow: 0 6px 18px rgba(233, 98, 98, 0.30);
  animation: errorPulse 0.45s ease-out;
}

.error-toast-icon i {
  font-size: 26px;
  color: #ffffff;
  margin-bottom: 3px;
}

@keyframes errorPulse {
  0%   { transform: scale(0.8); opacity: 0; }
  60%  { transform: scale(1.05); }
  100% { transform: scale(1); opacity: 1; }
}

.error-toast h4 {
  font-size: 18px;
  font-weight: 700;
  color: rgba(53, 47, 113, 1);
  margin: 0 0 10px 0;
  letter-spacing: -0.2px;
}

.error-toast p {
  font-size: 14px;
  color: #8c96a9;
  line-height: 1.65;
  margin: 0 0 22px 0;
}

.error-toast-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.btn-error-close {
  padding: 10px 28px;
  font-size: 13.5px;
  font-weight: 600;
  color: #ffffff;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 4px 14px rgba(107, 98, 233, 0.35);
  flex: 1;
}

.btn-error-close:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(107, 98, 233, 0.45);
}

/* Validation Error Styles */
.form-group.error input,
.form-group.error textarea,
.form-group.error select {
  border-color: rgba(233, 98, 98, 1);
  background: #fff5f5;
}

.form-group.error input:focus,
.form-group.error textarea:focus,
.form-group.error select:focus {
  border-color: rgba(233, 98, 98, 1);
  box-shadow: 0 0 0 3px rgba(233, 98, 98, 0.12);
}

.field-error {
  display: none;
  font-size: 12px;
  color: rgba(233, 98, 98, 1);
  margin-top: 4px;
  align-items: center;
  gap: 4px;
}

.field-error.active {
  display: flex;
}

.field-error i {
  font-size: 12px;
}

/* ================================================
   Animations
================================================ */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================================================
   Floating Contact Button with Tooltip
================================================ */
.floating-contact-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  color: #ffffff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(107, 98, 233, 0.4);
  transition: all 0.3s ease;
  animation: floatPulse 2s ease-in-out infinite;
}

.floating-contact-btn:hover {
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 32px rgba(107, 98, 233, 0.5);
  animation: none;
}

.floating-contact-btn i {
  font-size: 26px;
  transition: transform 0.3s ease;
}

.floating-contact-btn:hover i {
  transform: rotate(15deg) scale(1.1);
}

.floating-contact-btn::before {
  content: 'Contact Sales';
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(10px);
  background: rgba(30, 30, 40, 0.95);
  color: #ffffff;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  pointer-events: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  letter-spacing: 0.3px;
}

.floating-contact-btn:hover::before {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

@keyframes floatPulse {
  0%, 100% {
    transform: translateY(0);
    box-shadow: 0 8px 24px rgba(107, 98, 233, 0.4);
  }
  50% {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(107, 98, 233, 0.5);
  }
}

/* ================================================
   Responsive Design
================================================ */

/* Tablet */
@media (max-width: 768px) {
  .header-content {
    padding: 15px 0;
  }

  .logo-img {
    height: 35px;
  }

  .header-nav {
    gap: 12px;
  }

  .lang-button {
    padding: 6px 12px;
    font-size: 13px;
  }

  .btn-login,
  .btn-signup {
    padding: 8px 16px;
    font-size: 13px;
  }

  .landing-hero {
    padding-top: 120px;
  }

  .headline h1 {
    font-size: 45px;
  }

  .headline .headline-subtitle {
    font-size: 23px;
    letter-spacing: -0.5px;
  }

  .video-container {
    margin-bottom: 40px;
  }

  .bottom-description p {
    font-size: 16px;
  }

  /* Footer Tablet */
  .main-footer {
    padding: 50px 0 0;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-bottom: 40px;
  }

  .footer-bottom-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .footer-bottom-right {
    align-items: flex-start;
  }

  /* Contact Modal Tablet */
  .modal-header {
    padding: 30px 30px 25px;
  }

  .modal-title {
    font-size: 24px;
  }

  .modal-subtitle {
    font-size: 14px;
  }

  .modal-body {
    padding: 30px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .form-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .privacy-notice {
    text-align: center;
    justify-content: center;
  }

  .btn-submit {
    width: 100%;
    justify-content: center;
  }

  .btn-contact-modal {
    font-size: 17px;
  }

  /* Floating Button Tablet */
  .floating-contact-btn {
    bottom: 25px;
    right: 25px;
    width: 56px;
    height: 56px;
  }

  .floating-contact-btn i {
    font-size: 24px;
  }

  .floating-contact-btn::before {
    font-size: 13px;
    padding: 9px 14px;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .header-content {
    padding: 12px 0;
  }

  .logo-img {
    height: 30px;
  }

  .header-nav {
    gap: 8px;
  }

  .lang-button {
    padding: 6px 10px;
  }

  .lang-button span {
    display: none;
  }

  .btn-login {
    padding: 8px 12px;
    font-size: 12px;
  }

  .btn-signup {
    padding: 8px 16px;
    font-size: 12px;
  }

  .landing-hero {
    padding: 100px 0 40px;
  }

  .headline h1 {
    font-size: 40px;
    letter-spacing: -0.5px;
  }

  .headline .headline-subtitle {
    font-size: 20px;
    letter-spacing: -0.5px;
  }

  .video-wrapper {
    border-radius: 12px;
  }

  .main-video {
    max-height: 400px;
  }

  .bottom-description p {
    font-size: 14px;
  }

  .learn-more {
    font-size: 14px;
  }

  /* Footer Mobile */
  .main-footer {
    padding: 40px 0 0;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 35px;
    padding-bottom: 35px;
  }

  .footer-brand {
    font-size: 20px;
  }

  .footer-description {
    font-size: 13px;
  }

  .social-links a {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }

  .contact-title {
    font-size: 15px;
  }

  .contact-list li {
    font-size: 13px;
  }

  .copyright-text {
    font-size: 13px;
  }

  .company-details {
    font-size: 11px;
  }

  .footer-links {
    font-size: 12px;
    gap: 10px;
  }

  /* Contact Modal Mobile */
  .contact-modal {
    padding: 10px;
  }

  .modal-container {
    max-height: 95vh;
    border-radius: 18px;
  }

  .modal-header {
    padding: 25px 20px 20px;
  }

  .modal-title {
    font-size: 22px;
  }

  .modal-subtitle {
    font-size: 13px;
  }

  .modal-close {
    width: 36px;
    height: 36px;
    margin-left: 12px;
  }

  .modal-body {
    padding: 25px 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .form-group input,
  .form-group textarea,
  .form-group select {
    padding: 12px 14px;
    font-size: 14px;
  }

  .btn-submit {
    width: 100%;
    justify-content: center;
    padding: 13px 24px;
    font-size: 15px;
  }

  .btn-contact-modal {
    font-size: 16px;
  }

  .success-icon {
    width: 70px;
    height: 70px;
  }

  .success-icon i {
    font-size: 35px;
  }

  .form-success {
    padding: 30px 20px;
  }

  .form-success h3 {
    font-size: 22px;
  }

  .form-success p {
    font-size: 14px;
  }

  .success-actions {
    flex-direction: column;
    width: 100%;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
  }

  /* Error Toast Mobile */
  .error-toast {
    padding: 25px 20px;
    max-width: calc(100% - 30px);
  }

  .error-toast-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 16px;
  }

  .error-toast-icon i {
    font-size: 24px;
  }

  .error-toast h4 {
    font-size: 18px;
    margin-bottom: 10px;
  }

  .error-toast p {
    font-size: 13px;
    margin-bottom: 20px;
  }

  .btn-error-close {
    font-size: 13px;
    padding: 10px 20px;
  }

  /* Floating Button Mobile */
  .floating-contact-btn {
    bottom: 20px;
    right: 20px;
    width: 54px;
    height: 54px;
  }

  .floating-contact-btn i {
    font-size: 22px;
  }

  .floating-contact-btn::before,
  .floating-contact-btn::after {
    display: none;
  }
}

/* Large Desktop */
@media (min-width: 1400px) {
  .container {
    max-width: 1400px;
  }

  .headline h1 {
    font-size: 60px;
  }

  .headline .headline-subtitle {
    font-size: 26px;
    letter-spacing: 0.7px;
  }

  .video-container {
    max-width: 1100px;
  }
}

/* ================================================
   Additional Utilities
================================================ */
.text-center {
  text-align: center;
}

.mt-large {
  margin-top: 60px;
}

.mb-large {
  margin-bottom: 60px;
}

html:focus-within {
  scroll-behavior: smooth;
}

a:focus,
button:focus {
  outline: 2px solid var(--base-button-border);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}