@import 'variables.css';
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg-color);
  color: var(--text-main);
  padding: 0;
  font-size: var(--text-base);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.topbar {
  background: var(--bg-surface);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.topbar-inner {
  min-height: clamp(64px, 8vw, 84px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: var(--text-md);
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--primary-color);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 24px);
  margin-left: auto;
  margin-right: 18px;
}

.nav a {
  text-decoration: none;
  font-size: var(--text-sm);
  color: var(--text-muted);
  white-space: nowrap;
}

.actions {
  display: flex;
  gap: 8px;
}

.btn-outline,
.btn-solid {
  cursor: pointer;
  border-radius: 8px;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-outline {
  min-width: clamp(60px, 8vw, 100px);
  height: var(--btn-height-sm);
  background: transparent;
  border: 1.5px solid var(--primary-color);
  color: var(--primary-color);
  font-size: var(--text-sm);
  padding: 0 12px;
}

.btn-solid {
  min-width: clamp(60px, 8vw, 100px);
  height: var(--btn-height-sm);
  background: var(--btn-gradient);
  border: none;
  color: var(--btn-text);
  font-size: var(--text-sm);
  padding: 0 12px;
  font-weight: 700;
}

.hero {
  background: linear-gradient(180deg, #111 0%, #000 100%);
  color: #fff;
  padding: var(--section-padding) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.hero h1 {
  font-size: clamp(32px, 4vw, 41.8px);
  line-height: 1.1;
  font-weight: 400; /* Matching snippet's fontWeight: 400 */
  margin-bottom: 12px;
}

.hero p {
  font-size: 18px;
  line-height: 27px;
  max-width: 720px;
  color: rgba(255, 255, 255, 0.88);
}

.signup-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: start;
}

.card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: clamp(20px, 4vw, 40px);
}

.badge {
  display: inline-flex;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(241, 201, 125, 0.1);
  color: var(--primary-color);
  font-size: var(--text-xs);
  font-weight: 700;
  margin-bottom: 16px;
  border: 1px solid rgba(241, 201, 125, 0.2);
}

.title {
  font-size: 29.9px;
  font-weight: 400; /* Matching snippet's fontWeight: 400 */
  color: var(--text-main);
  margin-bottom: 8px;
}

.subtitle {
  font-size: 16px;
  line-height: 24px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 16px;
}

.field .label {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 8px;
  display: block;
}

.field.full {
  grid-column: span 2;
  width: 100%;
}

.input,
.select {
  width: 100%;
  height: 52px;
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  background: #111; /* Solid dark background for better compatibility */
  border-radius: 12px;
  padding: 0 16px;
  font-size: 15px;
  color: #fff;
  outline: none;
}

.textarea {
  width: 100%;
  height: 200px;
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  background: #111;
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 15px;
  color: #fff;
  outline: none;
  resize: none;
  grid-column: span 2;
}

.select option {
  background: #111;
  color: #fff;
}

.phone-row {
  display: flex;
  gap: 10px;
  align-items: center;
  width: 100%;
}

.prefix {
  width: 110px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #2A2A2A;
  border: none;
  border-radius: 14px;
  font-size: 15px;
  color: #E5E2E1;
  flex-shrink: 0;
}

.phone-row .input {
  flex: 1;
  height: 52px;
  background: #2A2A2A;
  border: none;
  border-radius: 14px;
  padding: 16px;
  font-size: 16px;
  color: #A89D89;
}

.agree {
  font-size: 14px;
  margin: 24px 0;
  display: block;
  color: #555555;
  line-height: 21px;
}

.agree a {
  color: var(--primary-color);
  text-decoration: none;
}

.submit-btn {
  width: 100%;
  height: var(--btn-height-md);
  background: var(--btn-gradient);
  border: none;
  border-radius: 12px;
  color: var(--btn-text);
  font-size: var(--text-base);
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: opacity 0.2s;
}

.submit-btn:hover {
  opacity: 0.9;
}

.login-line {
  font-size: 14px;
  margin-top: 16px;
  color: var(--text-muted);
  text-align: center;
}

.login-line a {
  color: var(--primary-color);
  font-weight: 700;
  text-decoration: none;
}

.side-card h3 {
  font-size: 24px;
  font-weight: 400; /* Matching snippet's fontWeight: 400 */
  margin-bottom: 16px;
  color: var(--text-main);
}

.feature-item {
  font-size: 15px;
  line-height: 22.5px;
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
}

.feature-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(241, 201, 125, 0.1);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

.info-box {
  padding: 18px;
  font-size: 15px;
  line-height: 24px;
  background: rgba(241, 201, 125, 0.05);
  border-radius: 16px;
  color: var(--text-muted);
  border: 1px solid rgba(241, 201, 125, 0.1);
}

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

@media (max-width: 768px) {
  .topbar-inner {
    flex-direction: column;
    padding: 16px 0;
    gap: 16px;
  }
  
  .nav {
    display: none;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
  }
}

