/* ==========================================================================
   STELLION FINANCE CORPORATION - LEAD QUALIFICATION LANDING PAGE CSS
   Fully Responsive for Desktops, Laptops, Tablets, & Mobile Devices
   ========================================================================== */

@import url('style.css');

/* Custom CSS Variables for Landing Page */
:root {
  --landing-bg-gradient: radial-gradient(circle at 50% 0%, #141b2d 0%, #090b10 70%);
  --card-glass-bg: rgba(20, 26, 41, 0.75);
  --card-glass-border: rgba(212, 175, 55, 0.2);
  --card-glass-hover-border: rgba(212, 175, 55, 0.8);
  --input-bg: rgba(9, 11, 16, 0.6);
  --input-border: rgba(255, 255, 255, 0.12);
  --input-focus-border: var(--color-gold-primary);
}

/* Base Body & Layout for Landing Page */
body.landing-page {
  background: var(--landing-bg-gradient);
  color: #f8fafc;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow-x: hidden;
  font-family: var(--font-sans);
  -webkit-tap-highlight-color: transparent;
}

/* Background Ambient Glows */
.landing-ambient-glow {
  position: fixed;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 800px;
  height: 500px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, rgba(9, 11, 16, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

.landing-ambient-glow-bottom {
  position: fixed;
  bottom: -15%;
  right: -5%;
  width: 100%;
  max-width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(5, 150, 105, 0.06) 0%, rgba(9, 11, 16, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

/* Outer Container Wrapper */
.landing-wrapper {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: 100%;
}

/* Minimal Header Navigation */
.landing-header {
  min-height: 76px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(9, 11, 16, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
}

.landing-header-container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.landing-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}

.landing-brand img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.landing-brand-text {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  color: #ffffff;
  white-space: nowrap;
}

.landing-contact-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.landing-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #e2e8f0;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.55rem 1rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all 0.25s ease;
  white-space: nowrap;
}

.landing-contact-item:hover {
  background: rgba(212, 175, 55, 0.12);
  border-color: rgba(212, 175, 55, 0.4);
  color: var(--color-gold-light);
}

.landing-contact-item svg {
  width: 16px;
  height: 16px;
  color: var(--color-gold-primary);
  flex-shrink: 0;
}

.landing-whatsapp-btn {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34d399;
}

.landing-whatsapp-btn:hover {
  background: rgba(16, 185, 129, 0.25);
  border-color: rgba(16, 185, 129, 0.6);
  color: #6ee7b7;
}

.landing-whatsapp-btn svg {
  color: #34d399;
}

/* Main Hero Content Area */
.landing-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1.5rem;
  width: 100%;
}

.landing-main-container {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
}

/* Hero Section Header */
.landing-hero {
  text-align: center;
  margin-bottom: 2.25rem;
}

.landing-tagline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-gold-primary);
  background: rgba(212, 175, 55, 0.1);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(212, 175, 55, 0.25);
  margin-bottom: 1.15rem;
  max-width: 100%;
  white-space: normal;
}

.landing-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  line-height: 1.28;
  color: #ffffff;
  margin-bottom: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.landing-hero-title span {
  background: linear-gradient(135deg, #ffffff 30%, var(--color-gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.landing-hero-subtitle {
  font-size: clamp(0.925rem, 1.25vw, 1.075rem);
  color: #94a3b8;
  max-width: 760px;
  margin: 0 auto 1.5rem auto;
  line-height: 1.6;
  font-weight: 400;
}

.landing-question {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  color: var(--color-gold-primary);
  font-weight: 600;
  margin-top: 0.5rem;
  letter-spacing: 0.01em;
}

/* Selection State Container */
.landing-selection-view {
  transition: opacity 0.35s ease, transform 0.35s ease;
  width: 100%;
}

.landing-selection-view.hidden {
  display: none;
  opacity: 0;
  transform: translateY(-10px);
}

.landing-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
  margin-top: 1.5rem;
  width: 100%;
}

/* Enterprise Selection Cards */
.selection-card {
  position: relative;
  background: var(--card-glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--card-glass-border);
  border-radius: 16px;
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  text-align: left;
  min-height: 220px;
}

.selection-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--color-gold-primary), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
}

.selection-card:hover, .selection-card:focus-visible {
  transform: translateY(-5px);
  border-color: var(--card-glass-hover-border);
  box-shadow: 0 20px 40px -15px rgba(212, 175, 55, 0.25), 0 0 20px rgba(212, 175, 55, 0.15);
  background: rgba(24, 32, 50, 0.92);
  outline: none;
}

.selection-card:hover::before, .selection-card:focus-visible::before {
  opacity: 1;
}

.card-icon-badge {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.65rem;
  margin-bottom: 1.25rem;
  transition: transform 0.3s ease, background 0.3s ease;
  flex-shrink: 0;
}

.selection-card:hover .card-icon-badge {
  transform: scale(1.08);
  background: rgba(212, 175, 55, 0.22);
  border-color: var(--color-gold-primary);
}

.card-content h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: #ffffff;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.card-content p {
  font-size: 0.925rem;
  color: #94a3b8;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.card-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-gold-primary);
  transition: all 0.25s ease;
  margin-top: auto;
}

.selection-card:hover .card-cta-btn {
  color: #ffffff;
  transform: translateX(4px);
}

.card-cta-btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.25s ease;
}

.selection-card:hover .card-cta-btn svg {
  transform: translateX(4px);
}

/* Dynamic Forms Area */
.landing-form-view {
  display: none;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  width: 100%;
}

.landing-form-view.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.form-glass-card {
  background: var(--card-glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--card-glass-border);
  border-radius: 20px;
  padding: 2.25rem;
  box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.7);
  max-width: 860px;
  margin: 0 auto;
  width: 100%;
}

.form-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  gap: 1rem;
}

.form-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.5rem 0.95rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.form-back-btn:hover {
  color: var(--color-gold-light);
  background: rgba(212, 175, 55, 0.1);
  border-color: rgba(212, 175, 55, 0.3);
}

.form-title-badge {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.form-title-badge h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  color: #ffffff;
  font-weight: 700;
  margin: 0;
}

.form-title-badge .badge-tag {
  font-size: 0.725rem;
  font-weight: 700;
  color: var(--color-gold-primary);
  background: rgba(212, 175, 55, 0.12);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  border: 1px solid rgba(212, 175, 55, 0.25);
  text-transform: uppercase;
}

/* Form Layout Grid */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem 1.5rem;
  width: 100%;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  width: 100%;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #ffffff !important;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-bottom: 0.35rem;
}

.form-label .required-star {
  color: var(--color-gold-primary);
  font-weight: bold;
}

.form-control {
  width: 100%;
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  color: #ffffff;
  font-family: var(--font-sans);
  transition: all 0.25s ease;
  min-height: 44px;
}

.form-control:focus {
  outline: none;
  border-color: var(--input-focus-border);
  background: rgba(14, 20, 32, 0.95);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.form-control::placeholder {
  color: #94a3b8;
}

select.form-control {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23d4af37' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px;
  padding-right: 2.5rem;
}

select.form-control option {
  background: #0d111a;
  color: #ffffff;
}

textarea.form-control {
  min-height: 80px;
  resize: vertical;
}

/* Radio Group & Custom Checkbox */
.radio-options-group {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  padding: 0.5rem 0;
  flex-wrap: wrap;
}

.radio-custom-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #ffffff !important;
  cursor: pointer;
}

.radio-custom-label input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border: 1.5px solid var(--color-gold-primary);
  border-radius: 50%;
  outline: none;
  background: transparent;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.radio-custom-label input[type="radio"]:checked {
  background: var(--color-gold-primary);
  box-shadow: inset 0 0 0 4px #0d111a;
}

.checkbox-custom-label {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.875rem;
  color: #ffffff !important;
  cursor: pointer;
  margin-top: 0.5rem;
  line-height: 1.45;
}

.checkbox-custom-label input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border: 1.5px solid var(--input-border);
  border-radius: 4px;
  background: var(--input-bg);
  cursor: pointer;
  margin-top: 2px;
  position: relative;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.checkbox-custom-label input[type="checkbox"]:checked {
  background: var(--color-gold-primary);
  border-color: var(--color-gold-primary);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23090b10' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* Inline Error Messaging */
.form-error-msg {
  font-size: 0.78rem;
  color: #f87171;
  display: none;
  margin-top: 0.2rem;
}

.form-group.has-error .form-control {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.25) !important;
}

.form-group.has-error .form-error-msg {
  display: block;
}

/* Submit CTA Button */
.form-submit-container {
  margin-top: 1.75rem;
  grid-column: 1 / -1;
  width: 100%;
}

.btn-submit-gold {
  width: 100%;
  background: linear-gradient(135deg, #d4af37 0%, #b89228 100%);
  color: #090b10;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 0.95rem 1.5rem;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 25px -5px rgba(212, 175, 55, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  letter-spacing: 0.01em;
  min-height: 48px;
}

.btn-submit-gold:hover {
  background: linear-gradient(135deg, #e5c158 0%, #d4af37 100%);
  transform: translateY(-2px);
  box-shadow: 0 15px 30px -5px rgba(212, 175, 55, 0.55);
}

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

/* Success Card View */
.landing-success-view {
  display: none;
  opacity: 0;
  transform: scale(0.95);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  width: 100%;
}

.landing-success-view.active {
  display: block;
  opacity: 1;
  transform: scale(1);
}

.success-card {
  background: var(--card-glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--color-gold-primary);
  border-radius: 20px;
  padding: 3rem 2rem;
  text-align: center;
  max-width: 580px;
  margin: 0 auto;
  box-shadow: 0 25px 60px -15px rgba(212, 175, 55, 0.3);
  width: 100%;
}

.success-icon-badge {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  border: 2px solid #10b981;
  color: #10b981;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
}

.success-icon-badge svg {
  width: 36px;
  height: 36px;
}

.success-card h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 2.2rem);
  color: #ffffff;
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.success-card p {
  font-size: 1.05rem;
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 2.25rem;
}

.success-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}

.btn-visit-website {
  background: linear-gradient(135deg, #d4af37 0%, #b89228 100%);
  color: #090b10;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.95rem 1.5rem;
  border-radius: 10px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 10px 25px -5px rgba(212, 175, 55, 0.4);
  width: 100%;
  min-height: 48px;
}

.btn-visit-website:hover {
  background: linear-gradient(135deg, #e5c158 0%, #d4af37 100%);
  transform: translateY(-2px);
  box-shadow: 0 15px 30px -5px rgba(212, 175, 55, 0.6);
  color: #090b10;
}

.btn-reset-form {
  background: transparent;
  color: #94a3b8;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.25s ease;
  width: 100%;
  min-height: 44px;
}

.btn-reset-form:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.05);
}

/* Minimal Landing Footer */
.landing-footer {
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(9, 11, 16, 0.6);
  width: 100%;
}

.landing-footer-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #64748b;
  gap: 1rem;
}

.landing-footer-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.landing-footer-links a {
  color: #94a3b8;
  transition: color 0.2s ease;
}

.landing-footer-links a:hover {
  color: var(--color-gold-primary);
}

/* ==========================================================================
   COMPREHENSIVE MULTI-DEVICE RESPONSIVE BREAKPOINTS
   ========================================================================== */

/* Laptops & Small Desktops (992px to 1200px) */
@media (max-width: 1199px) {
  .landing-main {
    padding: 2rem 1.25rem;
  }
}

/* Tablets (768px to 991px) */
@media (max-width: 991px) {
  .landing-hero {
    margin-bottom: 1.75rem;
  }

  .landing-cards-grid {
    gap: 1.25rem;
  }

  .selection-card {
    padding: 1.75rem 1.5rem;
  }

  .form-glass-card {
    padding: 1.75rem 1.5rem;
  }
}

/* Mobile Devices (Up to 767px) */
@media (max-width: 767px) {
  .landing-header-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.85rem 1.25rem;
  }

  .landing-contact-actions {
    width: 100%;
    justify-content: space-between;
  }

  .landing-contact-item {
    font-size: 0.8rem;
    padding: 0.45rem 0.85rem;
  }

  .landing-main {
    padding: 1.5rem 1rem;
  }

  .landing-hero {
    text-align: left;
    margin-bottom: 1.5rem;
  }

  .landing-tagline {
    font-size: 0.7rem;
    padding: 0.3rem 0.75rem;
  }

  .landing-hero-subtitle {
    margin-left: 0;
    margin-right: 0;
  }

  .landing-cards-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .selection-card {
    padding: 1.5rem 1.25rem;
    min-height: auto;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .form-glass-card {
    padding: 1.35rem 1rem;
    border-radius: 16px;
  }

  .form-header-bar {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 0.85rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
  }

  .form-back-btn {
    align-self: flex-start;
  }

  .landing-footer-container {
    flex-direction: column;
    gap: 0.85rem;
    text-align: center;
  }

  .landing-footer-links {
    justify-content: center;
    gap: 1.25rem;
  }
}

/* Small Mobile Phones (Up to 480px) */
@media (max-width: 480px) {
  .landing-brand img {
    height: 34px;
  }

  .landing-brand-text {
    font-size: 1rem;
  }

  .landing-contact-item span {
    font-size: 0.75rem;
  }

  .selection-card {
    padding: 1.25rem 1rem;
  }

  .card-icon-badge {
    width: 46px;
    height: 46px;
    font-size: 1.4rem;
    margin-bottom: 1rem;
  }

  .card-content h3 {
    font-size: 1.25rem;
  }

  .card-content p {
    font-size: 0.875rem;
    margin-bottom: 1.15rem;
  }

  .btn-submit-gold {
    font-size: 0.95rem;
    padding: 0.85rem 1rem;
  }

  .success-card {
    padding: 2rem 1.25rem;
  }
}
