/* Background Grid & Ambient Glows */
.tech-grid-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: 48px 48px;
    background-image: 
      linear-gradient(to right, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
      linear-gradient(to bottom, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    mask-image: radial-gradient(ellipse 90% 90% at 50% 40%, black 20%, transparent 85%);
    -webkit-mask-image: radial-gradient(ellipse 90% 90% at 50% 40%, black 20%, transparent 85%);
    pointer-events: none;
    z-index: 0;
  }
  .login-glow-sphere-1 {
    position: absolute;
    top: 15%;
    left: 5%;
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.28) 0%, rgba(0, 240, 255, 0.08) 45%, transparent 70%);
    filter: blur(60px);
    pointer-events: none;
    z-index: 0;
  }
  .login-glow-sphere-2 {
    position: absolute;
    bottom: 10%;
    right: 5%;
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(20, 77, 199, 0.25) 0%, rgba(37, 99, 235, 0.1) 50%, transparent 70%);
    filter: blur(70px);
    pointer-events: none;
    z-index: 0;
  }
  /* Main Section */
  .login-section {
    min-height: calc(100vh - 120px);
    padding: 120px 0 80px;
    position: relative;
    display: flex;
    align-items: center;
    z-index: 1;
  }
  /* Left Column Styling */
  .login-info-col {
    padding-right: 20px;
  }
  .badge-pill-glow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 9999px;
    background: linear-gradient(180deg, rgba(19, 97, 199, 0.35) 0%, rgba(11, 59, 121, 0.35) 100%);
    border: 1px solid rgba(96, 165, 250, 0.35);
    backdrop-filter: blur(12px);
    color: #dbeafe;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.2), 0 0 15px rgba(20, 77, 199, 0.3);
  }
  .dot-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #00f0ff;
    box-shadow: 0 0 8px #00f0ff;
    animation: pulseDot 2s infinite;
  }
  @keyframes pulseDot {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 240, 255, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(0, 240, 255, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 240, 255, 0); }
  }
  .login-hero-title {
    font-size: clamp(2.2rem, 3.8vw, 3.2rem);
    font-weight: 800;
    line-height: 1.15;
    color: #ffffff;
    letter-spacing: -0.035em;
    margin-bottom: 20px;
  }
  .text-gradient-cyan {
    background: linear-gradient(135deg, #ffffff 15%, #67e8f9 55%, #00f0ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  .login-hero-desc {
    font-size: 1.05rem;
    line-height: 1.65;
    color: #cbd5e1;
    margin-bottom: 36px;
    max-width: 520px;
  }
  /* Feature/Plan Info Card */
  .login-plan-card {
    display: flex;
    align-items: center;
    gap: 18px;
    background: rgba(8, 17, 38, 0.72);
    border: 1px solid rgba(59, 130, 246, 0.28);
    border-radius: 20px;
    padding: 20px 24px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.7), inset 0 1px 1px rgba(255, 255, 255, 0.12);
    max-width: 500px;
    transition: all 0.3s ease;
  }
  .login-plan-card:hover {
    border-color: rgba(0, 240, 255, 0.45);
    box-shadow: 0 18px 40px -10px rgba(0, 0, 0, 0.8), 0 0 25px rgba(0, 240, 255, 0.2);
    transform: translateY(-2px);
  }
  .login-plan-icon-wrap {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.35) 0%, rgba(0, 240, 255, 0.25) 100%);
    border: 1px solid rgba(0, 240, 255, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: #00f0ff;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
  }
  .login-plan-info h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
  }
  .login-plan-info p {
    font-size: 13px;
    color: #94a3b8;
    margin-bottom: 0;
    line-height: 1.4;
  }
  /* Right Column: Floating Auth Card */
  .login-card {
    position: relative;
    background: linear-gradient(180deg, rgba(10, 22, 51, 0.88) 0%, rgba(4, 10, 26, 0.96) 100%);
    border: 1px solid rgba(59, 130, 246, 0.35);
    border-radius: 28px;
    padding: 42px 38px;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 25px 65px -15px rgba(0, 0, 0, 0.95), 0 0 45px rgba(37, 99, 235, 0.18), inset 0 1px 1.5px rgba(255, 255, 255, 0.18);
    overflow: hidden;
  }
  .login-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20%;
    right: 20%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(0, 240, 255, 0.85), transparent);
  }
  .login-badge-welcome {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 14px;
    border-radius: 9999px;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #34d399;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 18px;
  }
  .pulse-green {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 8px #10b981;
  }
  .login-card-title {
    font-size: 1.85rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.03em;
    margin-bottom: 8px;
  }
  .login-card-subtitle {
    font-size: 14px;
    color: #94a3b8;
    line-height: 1.5;
    margin-bottom: 28px;
  }
  /* Inputs with Icons */
  .login-form-group {
    margin-bottom: 20px;
  }
  .login-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13.5px;
    font-weight: 600;
    color: #e2e8f0;
    margin-bottom: 8px;
  }
  .login-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
  }
  .login-input-icon {
    position: absolute;
    left: 16px;
    color: #64748b;
    font-size: 16px;
    pointer-events: none;
    z-index: 2;
    transition: color 0.25s ease;
  }
  .login-input-field {
    width: 100%;
    background: rgba(3, 8, 22, 0.75) !important;
    border: 1px solid rgba(59, 130, 246, 0.28) !important;
    border-radius: 14px !important;
    color: #ffffff !important;
    font-size: 14.5px !important;
    padding: 13px 44px 13px 44px !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  }
  .login-input-field::placeholder {
    color: #64748b !important;
    font-size: 14px;
  }
  .login-input-field:focus {
    background: rgba(5, 12, 32, 0.95) !important;
    border-color: #00f0ff !important;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.25) !important;
    outline: none !important;
  }
  .login-input-wrap:focus-within .login-input-icon {
    color: #00f0ff;
  }
  .login-eye-btn {
    position: absolute;
    right: 14px;
    background: transparent;
    border: none;
    color: #64748b;
    font-size: 16px;
    cursor: pointer;
    padding: 4px 6px;
    transition: all 0.2s ease;
    z-index: 2;
  }
  .login-eye-btn:hover {
    color: #00f0ff;
  }
  /* Checkbox & Forgot */
  .login-checkbox-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 14px;
    margin-bottom: 24px;
  }
  .login-custom-check {
    display: flex;
    align-items: center;
    gap: 9px;
    cursor: pointer;
    font-size: 13px;
    color: #94a3b8;
    margin-bottom: 0;
    user-select: none;
  }
  .login-custom-check input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 17px;
    height: 17px;
    border: 1.5px solid rgba(59, 130, 246, 0.4);
    border-radius: 5px;
    background: rgba(3, 8, 22, 0.8);
    cursor: pointer;
    display: grid;
    place-content: center;
  }
  .login-custom-check input[type="checkbox"]:checked {
    background: #2563eb;
    border-color: #00f0ff;
  }
  .login-custom-check input[type="checkbox"]:checked::before {
    content: "✔";
    color: #ffffff;
    font-size: 10px;
    font-weight: 900;
  }
  .login-forgot-link {
    color: #38bdf8;
    font-size: 13px;
    text-decoration: none;
    font-weight: 500;
  }
  .login-forgot-link:hover {
    color: #00f0ff;
    text-decoration: underline;
  }
  /* Submit Button */
  .login-submit-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(180deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 15.5px;
    padding: 14px 24px;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.5), inset 0 1px 1.5px rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .login-submit-btn:hover {
    background: linear-gradient(180deg, #3b82f6 0%, #2563eb 100%);
    box-shadow: 0 12px 35px rgba(59, 130, 246, 0.7), 0 0 20px rgba(0, 240, 255, 0.35);
    transform: translateY(-2px);
  }
  /* Footer & Security Footnote */
  .login-footer-switch {
    text-align: center;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 13.5px;
    color: #94a3b8;
  }
  .login-footer-switch a {
    color: #00f0ff;
    text-decoration: none;
    font-weight: 600;
  }
  .login-security-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 20px;
    font-size: 12px;
    color: #64748b;
  }
  .login-security-strip span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
  }
  .text-cyan {
    color: #00f0ff !important;
  }
  /* Responsive adjustment for small screens */
  @media (max-width: 767px) {
    .login-section {
      padding: 90px 0 50px;
    }
    .login-info-col {
      padding-right: 0;
      text-align: center;
      margin-bottom: 30px;
    }
    .login-plan-card {
      margin: 0 auto;
      text-align: left;
    }
    .login-card {
      padding: 30px 20px;
    }
  }