* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  margin: 0;
  background-size: cover;
}

body {
  font-family: "Segoe UI", Arial, sans-serif;
  background: #fff;
  display: flex;
  flex-direction: column;
}

#hectra-root {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.hectra-content-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

#hectra-welcome {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
}

#hectra-welcome div {
  text-align: center;
  color: white;
}

#hectra-welcome h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 16px;
}

#hectra-welcome p {
  font-size: 18px;
  margin-bottom: 32px;
}

.btn {
  margin: 5px;
}

.hectra-navbar {
  background: #4a90a4;
  border-bottom: 1px solid #3a7a94;
}

.hectra-navbar .navbar-brand img {
  max-height: 50px;
}

.hectra-navbar .nav-link {
  color: #fff !important;
  font-weight: 500;
  transition: 0.15s;
}

.hectra-navbar .nav-link:hover {
  opacity: 0.8;
}

.hectra-navbar .btn-secondary {
  background: #6a7a8a;
  border-color: #6a7a8a;
  color: #fff;
  font-weight: 600;
}

.hectra-navbar .btn-secondary:hover {
  background: #5a6a7a;
  border-color: #5a6a7a;
}

.hectra-navbar .btn-primary {
  background: #00b300;
  border-color: #00b300;
  color: #fff;
  font-weight: 600;
}

.hectra-navbar .btn-primary:hover {
  background: #009900;
  border-color: #009900;
}

.hectra-footer {
  background: #f5f5f5;
  border-top: 1px solid #ddd;
  margin-top: auto;
  color: #666;
  font-size: 14px;
}

.hectra-footer a {
  color: #4a90a4;
  text-decoration: none;
}

.hectra-footer a:hover {
  text-decoration: underline;
}

.topbar {
  height: 60px;
  background: #000;
  border-bottom: 1px solid #1f1f1f;
  display: flex;
  align-items: center;
  padding: 0 20px;
  gap: 16px;
}

.logo {
  width: 240px;
  height: 100%;
  display: flex;
  align-items: center;
}

.logo img {
  width: 180px;
  height: 40px;
  object-fit: contain;
}

.top-links {
  display: flex;
  gap: 20px;
  flex: 1;
}

.top-links a {
  color: #ccc;
  text-decoration: none;
  font-weight: 500;
  padding: 6px 4px;
  border-bottom: 2px solid transparent;
  transition: 0.15s;
}

.top-links a:hover {
  color: #fff;
  border-bottom: 2px solid #fff;
}

.search-wrap {
  flex: 1;
  position: relative;
  max-width: 700px;
}

.search-wrap input {
  width: 100%;
  height: 34px;
  border-radius: 17px;
  border: none;
  padding: 0 42px 0 15px;
  background: #fff;
  color: #000;
}

.tag-btn {
  position: absolute;
  right: 10px;
  top: 7px;
  background: #eee;
  border-radius: 10px;
  padding: 2px 9px;
  font-size: 11px;
  cursor: pointer;
  color: #333;
}

.top-icons {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
}

.login-btn,
.register-btn {
  padding: 8px 16px;
  font-size: 13px;
  cursor: pointer;
  transition: 0.15s;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  border: none;
}

.login-btn {
  background: transparent;
  color: #fff;
  border: 1px solid #fff;
}

.login-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.register-btn {
  background: #00b300;
  color: #fff;
}

.register-btn:hover {
  background: #009900;
}

.landing-container {
  width: 100%;
  min-height: calc(100vh - 60px);
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('../../Assets/IMG/placeholder.png');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-section {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('../../Assets/IMG/placeholder.png');
  background-size: cover;
  background-position: center;
  min-height: calc(100vh - 60px);
}

.hero-content {
  background: #fff;
  padding: 52px;
  border-radius: 0;
  max-width: 520px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.hero-content h1 {
  font-size: 26px;
  font-weight: 700;
  color: #333;
  margin-bottom: 31px;
  text-align: center;
}

.register-form {
  display: flex;
  flex-direction: column;
}

.register-form input,
.register-form select {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 17px;
  font-family: inherit;
}

.register-form input:focus,
.register-form select:focus {
  outline: none;
  border-color: #4a90a4;
  box-shadow: 0 0 0 2px rgba(74, 144, 164, 0.1);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.form-row select {
  margin: 0;
}

.checkbox-group {
  margin: 8px 0;
}

.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #666;
  cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin: 0;
}

.signup-btn {
  width: 100%;
  padding: 12px;
  background: #00b300;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.15s;
  margin-top: 8px;
}

.signup-btn:hover {
  background: #009900;
}

.what-section {
  width: 100%;
  background: linear-gradient(rgba(26, 26, 26, 0.8), rgba(26, 26, 26, 0.8)), url('../../Assets/IMG/placeholder.png');
  background-size: cover;
  background-position: center;
  padding: 60px 20px;
}

.what-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 40px;
  align-items: center;
}

.what-image {
  flex: 0 0 40%;
}

.what-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.what-text {
  flex: 1;
}

.what-text h2 {
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
}

.what-text p {
  font-size: 14px;
  color: #ccc;
  line-height: 1.6;
}

.showcase-section {
  width: 100%;
  background: #0a0a0a;
  padding: 40px 20px;
}

.showcase-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.showcase-item {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.showcase-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.device-section {
  width: 100%;
  background: #f5f5f5;
  padding: 60px 20px;
  text-align: center;
}

.device-section h2 {
  font-size: 32px;
  font-weight: 700;
  color: #333;
  margin-bottom: 16px;
}

.device-section p {
  font-size: 14px;
  color: #666;
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.device-grid {
  max-width: 1200px;
  margin: 0 auto 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.device-item {
  text-align: center;
}

.device-item img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  margin-bottom: 12px;
}

.device-label {
  font-size: 14px;
  font-weight: 600;
  color: #333;
}

.platform-buttons {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.platform-btn {
  background: #333;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.15s;
}

.platform-btn:hover {
  background: #555;
}


@media (max-width: 768px) {
  .topbar {
    padding: 0 12px;
    gap: 8px;
  }

  .logo {
    width: auto;
    min-width: 120px;
  }

  .logo img {
    width: 120px;
    height: 40px;
  }

  .top-links {
    display: none;
  }

  .search-wrap {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .top-icons {
    gap: 8px;
  }

  .login-btn,
  .register-btn {
    padding: 6px 12px;
    font-size: 12px;
  }

  .register-container {
    padding: 40px 20px;
  }

  .register-title {
    font-size: 32px;
    margin-bottom: 8px;
  }

  .register-subtitle {
    font-size: 16px;
    margin-bottom: 24px;
  }

  .form-group {
    margin-bottom: 20px;
  }

  .form-group label {
    font-size: 16px;
    margin-bottom: 8px;
  }

  .form-group input {
    padding: 12px 14px;
    font-size: 14px;
  }

  .terms-text {
    font-size: 12px;
    margin: 20px 0;
  }

  .btn-create {
    padding: 14px;
    font-size: 14px;
    margin-bottom: 16px;
  }

  .signin-link {
    font-size: 14px;
  }

  .what-content {
    flex-direction: column;
    gap: 20px;
  }

  .what-image {
    flex: 0 0 100%;
  }

  .what-text h2 {
    font-size: 24px;
  }

  .showcase-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .showcase-item {
    height: 150px;
  }

  .device-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .device-item img {
    height: 150px;
  }
}

@media (max-width: 480px) {
  .topbar {
    padding: 0 8px;
    gap: 4px;
  }

  .logo {
    min-width: 100px;
  }

  .logo img {
    width: 100px;
    height: 35px;
  }

  .login-btn,
  .register-btn {
    padding: 6px 10px;
    font-size: 11px;
  }

  .register-container {
    padding: 30px 16px;
  }

  .register-title {
    font-size: 28px;
  }

  .register-subtitle {
    font-size: 14px;
  }

  .form-group label {
    font-size: 14px;
  }

  .form-group input {
    padding: 10px 12px;
    font-size: 13px;
  }

  .terms-text {
    font-size: 11px;
    margin: 16px 0;
  }

  .btn-create {
    padding: 12px;
    font-size: 13px;
  }

  .signin-link {
    font-size: 12px;
  }

  .showcase-grid {
    grid-template-columns: 1fr;
  }

  .device-grid {
    grid-template-columns: 1fr;
  }

  .platform-buttons {
    flex-direction: column;
  }

  .platform-btn {
    width: 100%;
  }
}
