:root {
  --bg-color: #FAFAFC;
  --text-main: #111118;
  --text-muted: #6B7280;
  --primary: #6343F2;
  /* approximate from the mockup */
  --primary-hover: #5031D1;
  --white: #FFFFFF;
  --border-color: #E5E7EB;
  --input-bg: #FFFFFF;
  --error: #EF4444;
  --font-family: 'Inter', sans-serif;
  --border-radius: 12px;
  --modal-bg: rgba(255, 255, 255, 0.95);
}

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

body {
  font-family: var(--font-family);
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.5;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Navbar */
.navbar {
  width: 100%;
  padding: 2rem 4rem;
  display: flex;
  align-items: center;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
}

.logo {
  height: 40px;
}

/* Hero Section */
.hero {
  display: flex;
  flex-direction: row;
  min-height: 100vh;
  padding: 6rem 8rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 600px;
  z-index: 2;
}

.hero-title {
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  color: var(--text-main);
}

.hero-title .highlight {
  color: var(--primary);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 90%;
  font-weight: 400;
  line-height: 1.6;
}

.cta-container {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.cta-container input {
  padding: 1rem 1.5rem;
  border: 1px solid var(--border-color);
  border-radius: 30px;
  font-size: 1rem;
  font-family: var(--font-family);
  width: 300px;
  outline: none;
  transition: all 0.2s ease;
  background-color: var(--white);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.cta-container input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99, 67, 242, 0.2);
}

.primary-btn {
  background-color: var(--primary);
  color: var(--white);
  border: none;
  padding: 1rem 2rem;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--font-family);
  box-shadow: 0 4px 14px rgba(99, 67, 242, 0.4);
}

.primary-btn:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99, 67, 242, 0.5);
}

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

/* Graphics Side - Pure CSS aesthetic */
.hero-graphics {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-3d-logo {
  max-width: 80%;
  height: auto;
  transform: translate(10%, -5%);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translate(10%, -5%) translateY(0);
  }

  50% {
    transform: translate(10%, -5%) translateY(-20px);
  }

  100% {
    transform: translate(10%, -5%) translateY(0);
  }
}

/* Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(17, 17, 24, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 100;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 1rem;
}

.modal-overlay.hidden {
  opacity: 0;
  visibility: hidden;
}

.modal-container {
  background: var(--modal-bg);
  width: 100%;
  max-width: 650px;
  max-height: 90vh;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(255, 255, 255, 0.5) inset;
  position: relative;
  overflow-y: auto;
  transform: scale(1) translateY(0);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.modal-overlay.hidden .modal-container {
  transform: scale(0.95) translateY(20px);
}

.close-modal-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-muted);
  transition: color 0.2s ease;
  z-index: 10;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.close-modal-btn:hover {
  color: var(--text-main);
  background: rgba(0, 0, 0, 0.05);
}

.modal-header {
  padding: 2.5rem 2.5rem 1rem;
}

.modal-header h2 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.modal-header p {
  color: var(--text-muted);
}

.modal-body {
  padding: 0 2.5rem 2.5rem;
}

/* Form Styles */
.form-row {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin-bottom: 1.25rem;
}

.form-row .form-group {
  margin-bottom: 0;
}

label {
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: #374151;
}

input[type="text"],
input[type="email"],
select {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  font-size: 0.95rem;
  font-family: var(--font-family);
  background: rgba(255, 255, 255, 0.7);
  transition: all 0.2s ease;
}

input:focus,
select:focus {
  outline: none;
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(99, 67, 242, 0.15);
}

.checkbox-options,
.radio-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.checkbox-label,
.radio-label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-weight: 400;
  font-size: 0.9rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 8px;
  transition: background 0.2s;
}

.checkbox-label:hover,
.radio-label:hover {
  background: rgba(0, 0, 0, 0.03);
}

input[type="checkbox"],
input[type="radio"] {
  margin-top: 0.15rem;
  accent-color: var(--primary);
}

.submit-btn {
  width: 100%;
  padding: 1rem;
  margin-top: 1.5rem;
  border-radius: var(--border-radius);
  font-size: 1.1rem;
}

.submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.error-msg {
  color: var(--error);
  font-size: 0.8rem;
  margin-top: 0.5rem;
  display: none;
}

/* Success State */
.modal-success {
  padding: 4rem 2.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.modal-success.hidden {
  display: none;
}

.success-icon {
  width: 64px;
  height: 64px;
  background: #10B981;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
}

.modal-success h2 {
  margin-bottom: 1rem;
}

.modal-success p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
  .navbar {
    padding: 1.5rem 2rem;
  }

  .hero {
    flex-direction: column-reverse;
    padding: 7rem 2rem 3rem;
  }

  .hero-content {
    align-items: center;
    text-align: center;
  }

  .hero-3d-logo {
    transform: translate(0, 0);
    animation: float-mobile 6s ease-in-out infinite;
    margin-bottom: 1rem;
  }

  .hero-title {
    font-size: 2.75rem;
  }

  .cta-container {
    flex-direction: column;
    width: 100%;
  }

  .cta-container input,
  .primary-btn {
    width: 100%;
  }

  .form-row {
    flex-direction: column;
    gap: 0;
  }

  .checkbox-options,
  .radio-options {
    grid-template-columns: 1fr;
  }
}

@keyframes float-mobile {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0);
  }
}