/* ═══════════════════════════════════════════════════════════════
   BRILLIANTBULL DOWNLOAD LANDING — Professional Dark Theme
═══════════════════════════════════════════════════════════════ */

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

:root {
  --bg-main:    #0a0b0d;
  --bg-top:     #111316;
  --bg-card:    #16191d;
  --bg-input:   #1a1d21;
  --border:     #2a2e34;
  --border-accent: #3ecfaa;
  --green:      #3ecfaa;
  --green-dim:  #2b9e82;
  --red:        #ff5f5f;
  --orange:     #ff9f43;
  --yellow:     #ffd93d;
  --white:      #ffffff;
  --light-gray: #c7cbd1;
  --gray:       #8a8f98;
  --dim-gray:   #5a5e66;
  --font-sans:  -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-mono:  "SF Mono", Monaco, Consolas, "Courier New", monospace;
}

html, body {
  background: var(--bg-main);
  color: var(--white);
  font-family: var(--font-sans);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--green); text-decoration: none; }
a:hover { color: var(--white); }

.hidden { display: none !important; }

/* ═══ TOP NAV BAR ═══ */
.topbar {
  background: var(--bg-top);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
}
.topbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
  display: block;
}
.brand-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 0.5px;
}
.brand-tag {
  font-size: 10px;
  color: var(--dim-gray);
  font-weight: 600;
  letter-spacing: 2px;
  padding-left: 10px;
  border-left: 1px solid var(--border);
}
.nav-links { display: flex; gap: 20px; }
.nav-link {
  color: var(--light-gray);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-link:hover { color: var(--green); }

/* ═══ HERO SECTION ═══ */
.hero {
  padding: 60px 24px 40px;
  text-align: center;
  background: radial-gradient(ellipse at top, rgba(62, 207, 170, 0.08), transparent 70%);
}
.hero-inner {
  max-width: 900px;
  margin: 0 auto;
}
.hero-logo {
  width: 120px;
  height: 120px;
  border-radius: 24px;
  object-fit: cover;
  margin-bottom: 20px;
  box-shadow: 0 20px 60px rgba(62, 207, 170, 0.15),
              0 0 80px rgba(255, 95, 95, 0.08);
}
.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(62, 207, 170, 0.1);
  border: 1px solid rgba(62, 207, 170, 0.3);
  color: var(--green);
  font-size: 12px;
  font-weight: 600;
  border-radius: 100px;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}
.hero-title {
  font-size: 52px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -1.2px;
  margin-bottom: 20px;
}
.gradient-text {
  background: linear-gradient(135deg, #3ecfaa 0%, #60e5c4 50%, #a2f0d9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 18px;
  color: var(--light-gray);
  margin-bottom: 30px;
  line-height: 1.6;
}
.hero-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
}
.pill {
  padding: 6px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--light-gray);
  font-size: 13px;
  font-weight: 500;
  border-radius: 100px;
}

/* ═══ DOWNLOAD CARD ═══ */
.download-section {
  padding: 20px 24px 60px;
}
.download-card {
  max-width: 680px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4),
              0 0 40px rgba(62, 207, 170, 0.05);
}
.card-header {
  text-align: center;
  margin-bottom: 28px;
}
.card-header h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
}
.card-sub {
  color: var(--gray);
  font-size: 14px;
}

/* ═══ FORM ═══ */
.lead-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-row-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
label {
  font-size: 13px;
  font-weight: 600;
  color: var(--light-gray);
  letter-spacing: 0.2px;
}
.req { color: var(--red); }
.opt { color: var(--dim-gray); font-weight: 400; font-size: 11px; }

input[type="text"],
input[type="tel"],
input[type="email"],
select {
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--white);
  font-size: 15px;
  font-family: var(--font-sans);
  transition: all 0.2s;
  width: 100%;
}
input:focus,
select:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(62, 207, 170, 0.15);
}
input::placeholder { color: var(--dim-gray); }

/* Mobile number with prefix */
.mobile-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.mobile-prefix {
  position: absolute;
  left: 14px;
  color: var(--gray);
  font-size: 15px;
  font-weight: 500;
  pointer-events: none;
  z-index: 1;
}
.mobile-wrap input { padding-left: 48px; }

select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%238a8f98' d='M6 8L0 0h12z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.checkbox-row { margin-top: 8px; }
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 13px;
  color: var(--light-gray);
  line-height: 1.5;
  font-weight: 400;
}
.checkbox-label input[type="checkbox"] {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  cursor: pointer;
  accent-color: var(--green);
}
.checkbox-label a { color: var(--green); text-decoration: underline; }

.err {
  color: var(--red);
  font-size: 12px;
  min-height: 14px;
  font-weight: 500;
}

/* ═══ DOWNLOAD BUTTON ═══ */
.download-btn {
  margin-top: 12px;
  background: linear-gradient(135deg, #3ecfaa 0%, #2b9e82 100%);
  color: #0a0b0d;
  border: none;
  border-radius: 12px;
  padding: 18px 24px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font-sans);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  transition: all 0.2s;
  box-shadow: 0 4px 20px rgba(62, 207, 170, 0.3);
  letter-spacing: 0.3px;
}
.download-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(62, 207, 170, 0.5);
}
.download-btn:active:not(:disabled) { transform: translateY(0); }
.download-btn:disabled {
  opacity: 0.5;
  cursor: wait;
  transform: none;
}
.btn-icon { font-size: 22px; margin-right: 2px; }
.btn-text {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
}
.btn-size {
  font-size: 11px;
  opacity: 0.7;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.form-footer {
  text-align: center;
  color: var(--gray);
  font-size: 12px;
  margin-top: 8px;
}

/* ═══ SUCCESS VIEW ═══ */
#successView {
  text-align: center;
  padding: 20px 0;
}
.success-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, #3ecfaa 0%, #2b9e82 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: #0a0b0d;
  font-weight: 700;
  box-shadow: 0 0 40px rgba(62, 207, 170, 0.4);
}
.success-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
}
.success-text {
  color: var(--light-gray);
  font-size: 15px;
  margin-bottom: 20px;
}
.success-meta {
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--light-gray);
  text-align: left;
  margin: 0 auto 24px;
  max-width: 380px;
  line-height: 1.8;
}
.success-meta strong { color: var(--green); }
.next-steps {
  text-align: left;
  background: rgba(62, 207, 170, 0.05);
  border: 1px solid rgba(62, 207, 170, 0.2);
  border-radius: 8px;
  padding: 18px 22px;
  max-width: 480px;
  margin: 0 auto 20px;
}
.next-steps h3 {
  font-size: 15px;
  color: var(--green);
  margin-bottom: 10px;
}
.next-steps ol {
  margin-left: 18px;
  color: var(--light-gray);
  font-size: 14px;
  line-height: 1.9;
}
.success-contact {
  color: var(--gray);
  font-size: 13px;
  margin-top: 16px;
}

/* ═══ INFO SECTION (3 cards) ═══ */
.info-section {
  padding: 40px 24px 60px;
  max-width: 1100px;
  margin: 0 auto;
}
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 26px;
}
.info-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--green);
}
.info-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.info-card li {
  font-size: 14px;
  color: var(--light-gray);
  line-height: 1.6;
  padding-left: 2px;
}
.info-card strong { color: var(--white); }

/* ═══ FOOTER ═══ */
.site-footer {
  background: var(--bg-top);
  border-top: 1px solid var(--border);
  padding: 32px 24px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
  align-items: start;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 6px;
}
.footer-logo-img {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  object-fit: cover;
}
.footer-brand p { color: var(--gray); font-size: 13px; }
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-links a {
  color: var(--light-gray);
  font-size: 14px;
}
.footer-copy {
  color: var(--gray);
  font-size: 13px;
  text-align: right;
  line-height: 1.6;
}
.disclaimer { color: var(--dim-gray); font-size: 12px; }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 768px) {
  .topbar-inner { padding: 0 16px; }
  .brand-tag { display: none; }
  .hero { padding: 40px 16px 30px; }
  .hero-title { font-size: 36px; letter-spacing: -0.8px; }
  .hero-sub { font-size: 15px; }
  .download-card { padding: 24px 20px; margin: 0 4px; border-radius: 12px; }
  .card-header h2 { font-size: 22px; }
  .form-row-split { grid-template-columns: 1fr; gap: 18px; }
  .info-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; gap: 20px; }
  .footer-copy { text-align: center; }
  .footer-links { align-items: center; }
}
