/* ═══════════════════════════════════════════════════════════════
   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;
}

/* ═══ Success Action Buttons ═══ */
.success-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.action-btn {
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.action-btn-primary {
  background: linear-gradient(135deg, #3ecfaa 0%, #2b9e82 100%);
  color: #0a0b0d !important;
  box-shadow: 0 2px 10px rgba(62, 207, 170, 0.25);
}
.action-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(62, 207, 170, 0.4);
  color: #0a0b0d !important;
}
.action-btn-secondary {
  background: var(--bg-input);
  color: var(--light-gray) !important;
  border: 1px solid var(--border);
}
.action-btn-secondary:hover {
  background: var(--border);
  color: var(--white) !important;
  border-color: var(--green);
}

/* ═══ 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; }
}

/* ═══ WELCOME BACK BANNER (for returning users) ═══ */
.welcome-back {
  display: flex;
  align-items: center;
  gap: 16px;
  background: linear-gradient(135deg, rgba(62, 207, 170, 0.12), rgba(62, 207, 170, 0.04));
  border: 1px solid rgba(62, 207, 170, 0.35);
  border-radius: 12px;
  padding: 18px 22px;
  margin-bottom: 22px;
  animation: slideDown 0.4s ease-out;
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.welcome-back .wb-icon {
  font-size: 36px;
  flex-shrink: 0;
  animation: waveHand 1.5s ease-in-out infinite;
}
@keyframes waveHand {
  0%, 100% { transform: rotate(0); }
  25% { transform: rotate(15deg); }
  75% { transform: rotate(-10deg); }
}
.welcome-back .wb-content h3 {
  color: var(--green);
  font-size: 18px;
  margin: 0 0 4px 0;
  font-weight: 700;
}
.welcome-back .wb-content h3 .wb-name {
  color: var(--white);
}
.welcome-back .wb-content h3 .wb-count {
  color: var(--light-gray);
  font-size: 14px;
  font-weight: 500;
}
.welcome-back .wb-content p {
  color: var(--light-gray);
  font-size: 13px;
  margin: 0;
  line-height: 1.5;
}
.welcome-back .wb-forget {
  color: var(--green);
  text-decoration: underline;
  cursor: pointer;
}
.welcome-back .wb-forget:hover {
  color: #60e5c4;
}

/* Success page — download count badge */
.success-count {
  display: inline-block;
  background: rgba(62, 207, 170, 0.15);
  color: var(--green);
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  margin: 12px auto 18px;
  border: 1px solid rgba(62, 207, 170, 0.3);
}

/* ═══ v3: OTP VIEW STYLES ═══ */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.otp-wrap {
  margin: 30px 0 20px;
  text-align: center;
}

.otp-input {
  width: 100%;
  max-width: 360px;
  padding: 20px 24px;
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  letter-spacing: 14px;
  background: var(--bg-input);
  border: 2px solid var(--border);
  border-radius: 12px;
  color: var(--white);
  font-family: var(--font-mono);
  transition: all 0.2s;
}
.otp-input:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(62, 207, 170, 0.15);
}
.otp-input::placeholder {
  color: var(--gray);
  letter-spacing: 14px;
}

.otp-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  flex-wrap: wrap;
  gap: 10px;
}

.otp-timer {
  font-size: 13px;
  color: var(--light-gray);
  font-weight: 500;
}
.otp-timer.expired {
  color: #ff6b6b;
  font-weight: 700;
}

.otp-link {
  color: var(--green);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}
.otp-link:hover {
  text-decoration: underline;
}

.otp-help {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  text-align: center;
}
.otp-help p {
  color: var(--gray);
  font-size: 13px;
  margin: 6px 0;
  line-height: 1.6;
}
.otp-help a {
  color: #25d366;
  font-weight: 600;
}

@media (max-width: 500px) {
  .otp-input {
    font-size: 28px;
    letter-spacing: 8px;
    padding: 16px;
  }
  .otp-actions {
    justify-content: center;
  }
}

/* ═══ v3.1: WINDOWS DEFENDER WARNING INFO ═══ */

/* Pre-install collapsible info (on form view) */
.pre-install-info {
  margin-top: 20px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.pre-install-info[open] {
  border-color: #ff9f43;
}
.pre-install-info summary {
  padding: 14px 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  list-style: none;
  user-select: none;
  transition: background 0.15s;
}
.pre-install-info summary::-webkit-details-marker {
  display: none;
}
.pre-install-info summary::after {
  content: "▼";
  margin-left: auto;
  color: var(--gray);
  font-size: 10px;
  transition: transform 0.2s;
}
.pre-install-info[open] summary::after {
  transform: rotate(180deg);
}
.pre-install-info summary:hover {
  background: rgba(255, 159, 67, 0.04);
}
.pi-icon {
  font-size: 18px;
}
.pi-text {
  color: var(--light-gray);
  font-size: 13px;
  font-weight: 500;
}
.pi-body {
  padding: 4px 18px 18px;
  border-top: 1px solid var(--border);
}
.pi-body p {
  color: var(--light-gray);
  font-size: 13px;
  line-height: 1.6;
  margin: 12px 0 10px;
}
.pi-body ol {
  color: var(--light-gray);
  font-size: 13px;
  padding-left: 22px;
  margin: 8px 0 12px;
}
.pi-body ol li {
  margin-bottom: 6px;
  line-height: 1.6;
}
.pi-body strong {
  color: #ff9f43;
}
.pi-small {
  font-size: 12px !important;
  color: var(--gray) !important;
  padding-top: 10px;
  border-top: 1px dashed var(--border);
  margin-top: 12px !important;
}

/* ═══ Success Page: Windows Warning Box ═══ */
.windows-warning-box {
  background: linear-gradient(135deg, rgba(255, 159, 67, 0.08), rgba(255, 159, 67, 0.02));
  border: 1px solid rgba(255, 159, 67, 0.35);
  border-radius: 14px;
  padding: 22px 24px;
  margin: 26px 0;
  text-align: left;
}

.ww-header {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 18px;
}
.ww-icon {
  font-size: 32px;
  flex-shrink: 0;
  line-height: 1;
}
.ww-header h3 {
  color: #ff9f43;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 4px;
  line-height: 1.4;
}
.ww-subtitle {
  color: var(--light-gray);
  font-size: 13px;
  margin: 0;
}

.ww-body {
  padding-left: 46px;
}

.ww-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.ww-step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.ww-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, #ff9f43, #ff7e3d);
  color: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
}
.ww-step-text {
  color: var(--light-gray);
  font-size: 14px;
  line-height: 1.6;
  padding-top: 3px;
}
.ww-step-text strong {
  color: var(--white);
}

.ww-reassurance {
  background: rgba(62, 207, 170, 0.06);
  border: 1px solid rgba(62, 207, 170, 0.2);
  border-radius: 10px;
  padding: 14px 16px;
  margin-top: 10px;
}
.ww-reassurance p {
  color: var(--light-gray);
  font-size: 13px;
  line-height: 1.7;
  margin-bottom: 10px;
}
.ww-reassurance p:last-child {
  margin-bottom: 0;
}
.ww-reassurance strong {
  color: var(--green);
}
.ww-note {
  font-size: 12.5px !important;
  padding-top: 10px;
  border-top: 1px dashed rgba(62, 207, 170, 0.2);
  margin-top: 12px !important;
}

@media (max-width: 600px) {
  .ww-body {
    padding-left: 0;
  }
  .ww-header h3 {
    font-size: 15px;
  }
}

/* Footer legal links */
.footer-legal{max-width:1100px;margin:22px auto 0;padding-top:18px;border-top:1px solid var(--border,#2a2e34);text-align:center;font-size:13px;color:var(--gray,#8a8f98);display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:6px 12px}
.footer-legal a{color:var(--light-gray,#c7cbd1)}
.footer-legal a:hover{color:var(--green,#3ecfaa)}
.footer-legal .sep{color:var(--dim-gray,#5a5e66)}
@media (max-width:768px){.footer-legal{padding:18px 10px 0}}

/* Footer legal links v2 (center + gray) */
.site-footer .footer-legal{max-width:1100px;margin:22px auto 0 !important;padding-top:18px;border-top:1px solid var(--border,#2a2e34);text-align:center !important;font-size:13px;display:flex !important;flex-wrap:wrap;justify-content:center !important;align-items:center;gap:6px 12px}
.site-footer .footer-legal a{color:#8a8f98 !important}
.site-footer .footer-legal a:hover{color:var(--green,#3ecfaa) !important}
.site-footer .footer-legal .sep{color:#5a5e66 !important}
