:root {
  --bg-color: #050505;
  /* Deeper black for qbt.kz feel */
  --text-color: #ffffff;
  --primary-color: #00d4ff;
  --secondary-color: #6e00ff;
  --accent-color: #00ff88;
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  --shadow-color: rgba(0, 0, 0, 0.8);
  --font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

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

.hidden {
  display: none !important;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  overflow: hidden;
  height: 100vh;
  width: 100vw;
}

#app {
  width: 100%;
  height: 100vh;
}

/* Header Styles */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.2rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2000;
  background: linear-gradient(90deg, #050505 0%, #1a0033 100%);
  border-bottom: 1px solid #7001cc;
  box-shadow: 0 4px 20px rgba(112, 1, 204, 0.2);
}

.logo-img {
  height: 65px;
  width: auto;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 2rem;
}

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

.header-contact {
  display: flex;
  flex-direction: column;
  font-size: 0.9rem;
  color: #aaa;
  font-weight: 500;
}

.contact-item {
  line-height: 1.2;
  color: #fff;
  text-decoration: none;
  transition: color 0.2s;
}

.contact-item:hover {
  color: var(--primary-color);
}

.nav-links {
  display: none;
}

/* Split Layout */
.landing-container {
  height: 100vh;
}

.split-layout {
  display: flex;
  height: 100vh;
  width: 100%;
}

.left-panel {
  flex: 1.2;
  position: relative;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8)), url('./assets/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem;
  overflow: hidden;
}

.left-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 30%, rgba(0, 212, 255, 0.15), transparent 70%);
  z-index: 1;
}

.cert-content {
  position: relative;
  z-index: 10;
  max-width: 600px;
  margin-top: 4rem;
}

.cert-badge {
  display: inline-block;
  background: var(--primary-color);
  color: #000;
  padding: 0.4rem 1rem;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
}

.landing-title {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #fff 0%, #aaa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.landing-desc {
  font-size: 1rem;
  color: #fff;
  margin-bottom: 2rem;
  max-width: 500px;
  line-height: 1.5;
}

.cert-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 450px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.5s ease;
}

.cert-image-wrapper:hover {
  transform: scale(1.02) translateY(-10px);
}

.qsp-cert-img {
  width: 100%;
  display: block;
}

.right-panel {
  flex: 1;
  background: radial-gradient(circle at top right, rgba(112, 1, 204, 0.15), transparent 50%),
    linear-gradient(135deg, #0a0a0c 0%, #15002b 100%);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 10rem 4rem 4rem 4rem;
  border-left: 1px solid #330066;
  overflow-y: auto;
}

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

/* Support Check Styling */
.support-section {
  width: 100%;
}

.support-section .section-title {
  font-size: 2rem;
  margin-bottom: 1rem;
  text-align: left;
}

.support-section .support-desc {
  color: #fff;
  margin-bottom: 2.5rem;
  text-align: left;
  font-size: 1.1rem;
}

.support-card {
  background: #1e1e22;
  border-radius: 20px;
  padding: 2.5rem;
  border: 1px solid #333;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.input-group {
  display: flex;
  background: #2a2a2e;
  padding: 0.6rem;
  border-radius: 14px;
  border: 1px solid #444;
  margin-bottom: 2rem;
  /* Increased to fit two rows comfortably */
}

.input-field-wrapper {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
}

.custom-placeholder {
  position: absolute;
  left: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  pointer-events: none;
  line-height: 1.3;
  transition: opacity 0.2s;
  z-index: 5;
}

.custom-placeholder span:first-child {
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
}

.custom-placeholder span:last-child {
  font-size: 0.85rem;
  color: #aaa;
  font-weight: 400;
}

.input-group input {
  flex: 1;
  background: transparent;
  border: none;
  color: #fff;
  padding: 0.8rem 1rem;
  font-size: 1.1rem;
  outline: none;
  z-index: 10;
}

.btn-check-status {
  display: none;
  background: var(--primary-color);
  color: #000;
  padding: 0.6rem 1.4rem;
  /* Reduced from 1rem 2.5rem */
  border-radius: 8px;
  font-weight: 700;
  border: none;
  font-size: 0.85rem;
  /* Reduced from 1.1rem */
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(0, 212, 255, 0.2);
}

.btn-check-status:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 212, 255, 0.4);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), #00aacc);
  color: #000;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  font-weight: 700;
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 25px rgba(0, 212, 255, 0.2);
  width: 100%;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(0, 212, 255, 0.4);
  filter: brightness(1.1);
}

.btn-primary:active {
  transform: translateY(-1px);
}

.result-area {
  margin-top: 2rem;
  border-top: 1px solid #333;
  padding-top: 2rem;
}

.status-header h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.status-active {
  color: #00ff88;
}

.status-expired {
  color: #ffaa00;
}

.status-error {
  color: #ff4444;
}

.status-icon {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  display: block;
}

/* Ticket Form Area */
.ticket-form-area {
  background: #1a1a1e !important;
  border: 1px solid #333 !important;
  padding: 1.5rem !important;
  border-radius: 12px !important;
  color: #eee !important;
}

.ticket-form-area label {
  color: #aaa;
}

.ticket-form-area input,
.ticket-form-area textarea {
  background: #252529 !important;
  border: 1px solid #333 !important;
  color: #fff !important;
}

.btn-secondary {
  background: var(--glass-bg);
  color: #fff;
  border: 1px solid var(--primary-color);
  padding: 1rem 2rem;
  border-radius: 10px;
  cursor: pointer;
  width: 100%;
  font-weight: 700;
  font-size: 1.05rem;
  transition: all 0.3s;
}

.btn-secondary:hover {
  background: var(--primary-color);
  color: #000;
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

/* Scrollbar */
.right-panel::-webkit-scrollbar {
  width: 6px;
}

.right-panel::-webkit-scrollbar-track {
  background: #000;
}

.right-panel::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 10px;
}

/* Language Switcher Styling */
#langSwitcher option {
  background: #111;
  color: #fff;
}

#langSwitcher {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 0.5rem 2.2rem 0.5rem 1rem;
  border-radius: 8px;
  outline: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: calc(100% - 0.8rem) center;
  transition: all 0.3s;
}

#langSwitcher:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--primary-color);
}

/* Media Queries */
@media (max-width: 1024px) {
  .landing-title {
    font-size: 2.8rem;
  }

  .left-panel {
    padding: 3rem;
  }
}

@media (max-width: 768px) {
  .split-layout {
    flex-direction: column;
    height: auto;
  }

  body {
    overflow-y: auto;
    height: auto;
  }

  .left-panel {
    height: auto;
    min-height: 400px;
    flex: none;
    width: 100%;
    padding: 8rem 2rem 3rem 2rem;
  }

  .right-panel {
    height: auto;
    flex: none;
    width: 100%;
    padding: 3rem 1.5rem;
    border-left: none;
    border-top: 1px solid #1a1a1c;
  }

  .site-header {
    padding: 1rem;
    flex-direction: column;
    gap: 1.2rem;
    text-align: center;
    position: relative;
  }

  .logo-container {
    flex-direction: column;
    gap: 0.5rem;
  }

  .header-actions {
    width: 100%;
    justify-content: center;
    gap: 0.8rem;
    flex-wrap: wrap;
  }

  .landing-title {
    font-size: 2.2rem;
    text-align: center;
  }

  .cert-badge {
    display: block;
    margin: 0 auto 1.5rem auto;
    width: fit-content;
    text-align: center;
  }

  .landing-desc {
    text-align: center;
    margin: 0 auto 2rem auto;
  }

  .cert-image-wrapper {
    margin: 0 auto;
    max-width: 300px;
  }

  .support-section .section-title,
  .support-section .support-desc {
    text-align: center;
  }

  .btn-check-status {
    display: block;
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
  }

  .input-group {
    flex-direction: column;
    background: transparent;
    border: none;
    padding: 0;
    gap: 1rem;
    min-height: auto;
  }

  .input-field-wrapper {
    width: 100%;
    min-height: 75px;
    background: #2a2a2e;
    border: 1px solid #444;
    border-radius: 12px;
  }

  .input-group input {
    background: transparent;
    border: none;
    padding: 1.2rem;
  }
}