/* Imports */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css');

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: linear-gradient(135deg, #14142b, #1f1f4a);
  color: #ffffff;
  line-height: 1.6;
}

/* Header */
header {
  background-color: #171738;
  padding: 1.25rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #2e2e5e;
}

header img {
  height: 50px;
}

nav a {
  color: #b5c7ff;
  margin-left: 2rem;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  font-size: 1rem;
}

nav a:hover {
  color: #4da6ff;
}

/* Hero Section */
.hero {
  background: linear-gradient(145deg, #10102b, #1c1c3f);
  padding: 8rem 2rem 6rem;
  text-align: center;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: #cbd0e8;
}

.buttons a {
  text-decoration: none;
  padding: 0.85rem 1.75rem;
  border-radius: 8px;
  font-weight: bold;
  margin: 0 0.5rem;
  display: inline-block;
  font-size: 1rem;
}

.btn-primary {
  background-color: #4da6ff;
  color: #fff;
}

.btn-secondary {
  background-color: #2e305c;
  color: #b5c7ff;
}

.btn-primary.large {
  font-size: 1.25rem;
  padding: 1rem 2.5rem;
}

/* Features Grid */
.features-alt {
  padding: 5rem 2rem;
  background: #f5f7fb;
  color: #1a1a1a;
  text-align: center;
}

.features-alt .section-title {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #1a1a3a;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: auto;
}

.feature {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.feature:hover {
  transform: translateY(-5px);
}

.feature-icon {
  font-size: 2.5rem;
  color: #4da6ff;
  margin-bottom: 1rem;
}

.feature h3 {
  color: #333;
  margin-bottom: 0.5rem;
}

.feature p {
  color: #666;
  font-size: 0.95rem;
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, #1b1d52, #2c3193);
  color: white;
  padding: 4rem 2rem;
  text-align: center;
}

.cta-banner h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

/* Footer Layout */
footer {
  background-color: #171738;
  color: #ccc;
  padding: 3rem 2rem;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
}

.footer-column {
  flex: 1;
  min-width: 220px;
  margin-bottom: 2rem;
}

.footer-column h4 {
  color: #fff;
  margin-bottom: 1rem;
}

.footer-column p {
  font-size: 0.9rem;
}

.social-icons a {
  display: inline-block;
  margin-right: 10px;
  color: #ccc;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #4da6ff;
}

/* Newsletter Form */
.newsletter-form {
  display: flex;
  margin-top: 0.5rem;
}

.newsletter-form input[type="email"] {
  flex: 1;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 6px 0 0 6px;
  outline: none;
}

.newsletter-form button {
  background-color: #4da6ff;
  border: none;
  padding: 0 1rem;
  color: white;
  border-radius: 0 6px 6px 0;
  cursor: pointer;
  transition: background 0.3s ease;
}

.newsletter-form button:hover {
  background-color: #358ee9;
}

/* Responsive Enhancements */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }

  .cta-banner h2 {
    font-size: 1.5rem;
  }

  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form input[type="email"],
  .newsletter-form button {
    width: 100%;
    border-radius: 6px;
    margin-top: 0.5rem;
  }

  .newsletter-form input[type="email"] {
    margin-top: 0;
  }
}

.newsletter-description {
  font-size: 0.9rem;
  color: #bbb;
  margin-bottom: 0.75rem;
}

/* Pricing Grid */
.pricing-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.pricing-card {
  background: #1f1f4a;
  color: #ffffff;
  padding: 2rem;
  width: 280px;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0,0,0,0.15);
  text-align: center;
  transition: transform 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-5px);
}

.pricing-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #A1C4FF;
}

.price {
  font-size: 2rem;
  margin: 1rem 0;
}

.price span {
  font-size: 1rem;
  color: #bbb;
}

.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.pricing-card li {
  margin-bottom: 0.75rem;
  text-align: left;
}

.pricing-card .fa-check {
  color: #4CAF50;
  margin-right: 8px;
}

.pricing-card .fa-times {
  color: #d9534f;
  margin-right: 8px;
}

.pricing-card a.btn-primary {
  display: inline-block;
  margin-top: 1rem;
  background-color: #4da6ff;
  color: white;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.pricing-card a.btn-primary:hover {
  background-color: #358ee9;
}

.pricing-card.popular {
  border: 2px solid #4da6ff;
}

.pricing-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

/* Auth Pages */
.auth-page {
  background: linear-gradient(135deg, #14142b, #1f1f4a);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-container {
  background: #171738;
  padding: 3rem;
  border-radius: 14px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  text-align: center;
}

.auth-container h2 {
  margin-bottom: 0.5rem;
}

.auth-container p {
  color: #b5c7ff;
  margin-bottom: 2rem;
}

.auth-container input {
  width: 100%;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  border-radius: 8px;
  border: none;
  background: #1f1f4a;
  color: white;
}

.auth-container input::placeholder {
  color: #9aa4ff;
}

.auth-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.auth-row a {
  color: #4da6ff;
  text-decoration: none;
}

.auth-error {
  background: #a94442;
  padding: 0.75rem;
  border-radius: 6px;
  margin-bottom: 1rem;
}

.btn-primary.full {
  width: 100%;
}


/* ===== LaneLink Premium Polish (Safe Additions) ===== */

header {
  backdrop-filter: blur(10px);
}

nav a {
  position: relative;
}

.nav-btn {
  padding: 0.5rem 1.1rem;
  border-radius: 8px;
  background: #2e305c;
  color: #b5c7ff;
  font-weight: 600;
}

.nav-btn.primary {
  background: linear-gradient(135deg, #4da6ff, #6f8cff);
  color: #fff;
}

.nav-muted {
  color: #9aa4ff;
}

.hero-content h1 {
  line-height: 1.15;
}

.hero-content h1 .accent {
  color: #4da6ff;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(77,166,255,0.18), transparent 60%);
  pointer-events: none;
}

.feature {
  border: 1px solid rgba(0,0,0,0.06);
}

.feature:hover {
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.btn-primary,
.btn-secondary {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover,
.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

/* ===== Auth Page Visual Upgrade ===== */

.auth-page {
  padding: 4rem 1.5rem;
}

.auth-container {
  position: relative;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.08);
}

.auth-container::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 14px;
  background: linear-gradient(
    135deg,
    rgba(77,166,255,0.35),
    transparent 40%
  );
  opacity: 0.25;
  pointer-events: none;
}

.auth-form {
  margin-top: 2rem;
}

.auth-field {
  text-align: left;
  margin-bottom: 1.25rem;
}

.auth-field label {
  display: block;
  font-size: 0.85rem;
  color: #b5c7ff;
  margin-bottom: 0.35rem;
}

.auth-field input {
  width: 100%;
}

.remember {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.auth-container h2 {
  font-size: 1.75rem;
}

.auth-container p {
  font-size: 0.95rem;
}

.btn-primary.full {
  margin-top: 1rem;
  font-size: 1rem;
}

/* ===== Auth: Remember Me Polish ===== */

.auth-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.75rem;
}

.remember {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #b5c7ff;
  cursor: pointer;
}

/* Hide default checkbox */
.remember input[type="checkbox"] {
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  border: 1px solid rgba(255,255,255,0.25);
  background: #1f1f4a;
  display: inline-grid;
  place-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

/* Checked state */
.remember input[type="checkbox"]:checked {
  background: linear-gradient(135deg, #4da6ff, #6f8cff);
  border-color: transparent;
}

.remember input[type="checkbox"]:checked::after {
  content: "✓";
  font-size: 12px;
  color: #fff;
  font-weight: 700;
}

/* ===== Auth: Sign In Button Upgrade ===== */

.btn-primary.full {
  height: 46px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  background: linear-gradient(135deg, #4da6ff, #6f8cff);
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow:
    0 10px 30px rgba(77,166,255,0.35),
    inset 0 1px 0 rgba(255,255,255,0.25);
}

.btn-primary.full:hover {
  transform: translateY(-1px);
  box-shadow:
    0 14px 40px rgba(77,166,255,0.45),
    inset 0 1px 0 rgba(255,255,255,0.3);
}

.btn-primary.full:active {
  transform: translateY(0);
  box-shadow:
    0 6px 18px rgba(77,166,255,0.3),
    inset 0 2px 6px rgba(0,0,0,0.25);
}


/* ===== Dashboard UI ===== */

.dashboard {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.dashboard-header {
  margin-bottom: 3rem;
}

.dashboard-header h1 {
  font-size: 2.2rem;
  margin-bottom: 0.25rem;
}

.dashboard-header p {
  color: #b5c7ff;
  font-size: 1rem;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.dashboard-card {
  background: linear-gradient(180deg, #181a3a, #12132d);
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.dashboard-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 80px rgba(0,0,0,0.45);
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #4da6ff, #6f8cff);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.card-icon i {
  color: white;
  font-size: 1.1rem;
}

.dashboard-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.dashboard-card p {
  font-size: 0.9rem;
  color: #b5c7ff;
  margin-bottom: 1.25rem;
}

.card-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: #4da6ff;
  text-decoration: none;
}

.card-link:hover {
  text-decoration: underline;
}

.dashboard-actions {
  margin-top: 3rem;
  text-align: right;
}

/* ===== Footer Upgrade ===== */

.site-footer {
  background: linear-gradient(180deg, #14142b, #101026);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 4rem 2rem 2rem;
}

.site-footer .footer-container {
  max-width: 1200px;
  margin: 0 auto;
  gap: 3rem;
}

.site-footer h4 {
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.site-footer p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #b5c7ff;
}

/* Social Icons */
.social-icons {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.social-icons a {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #1f1f4a;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b5c7ff;
  font-size: 1.1rem;
  transition: all 0.25s ease;
}

.social-icons a:hover {
  background: linear-gradient(135deg, #4da6ff, #6f8cff);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(77,166,255,0.35);
}

/* Footer links */
.site-footer a {
  color: #b5c7ff;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer a:hover {
  color: #ffffff;
}

/* Footer bottom */
.footer-bottom {
  text-align: center;
  margin-top: 3rem;
  font-size: 0.8rem;
  color: #9aa4ff;
}

/* Mobile polish */
@media (max-width: 768px) {
  .social-icons {
    justify-content: center;
  }

  .footer-bottom {
    margin-top: 2rem;
  }
}

/* ===== Center Last Feature Cards ===== */

/* ===== Center Bottom Feature Row ===== */

.feature-row-center {
  grid-column: 1 / -1;        /* span full grid width */
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.feature-row-center .feature {
  max-width: 320px;
}


/* ===== Launch Demo Button (Final Polish) ===== */

.demo-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  height: 52px;

  border-radius: 14px;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.3px;

  background: linear-gradient(
    135deg,
    #4da6ff 0%,
    #6f8cff 100%
  );

  color: #ffffff;
  text-decoration: none;

  box-shadow:
    0 12px 35px rgba(77,166,255,0.45),
    inset 0 1px 0 rgba(255,255,255,0.35);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    filter 0.25s ease;
}

.demo-cta:hover {
  transform: translateY(-3px);
  filter: brightness(1.05);

  box-shadow:
    0 18px 55px rgba(77,166,255,0.6),
    inset 0 1px 0 rgba(255,255,255,0.4);
}

.demo-cta:active {
  transform: translateY(-1px);

  box-shadow:
    0 8px 22px rgba(77,166,255,0.35),
    inset 0 2px 6px rgba(0,0,0,0.25);
}


/* ===== Licenses Page ===== */

.licenses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.license-card {
  background: linear-gradient(180deg, #181a3a, #12132d);
  border-radius: 16px;
  padding: 1.75rem;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.license-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}

.license-header h3 {
  font-size: 1.1rem;
}

.license-status {
  font-size: 0.75rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-weight: 600;
}

.license-status.active {
  background: rgba(76,175,80,0.15);
  color: #6cff9a;
}

.license-status.demo {
  background: rgba(77,166,255,0.15);
  color: #7db7ff;
}

.license-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.license-details span {
  display: block;
  font-size: 0.75rem;
  color: #b5c7ff;
}

.license-details strong {
  font-size: 1rem;
}

.license-actions {
  display: flex;
  justify-content: flex-end;
}

/* ===== License Detail Page ===== */

.license-detail-card {
  background: linear-gradient(180deg, #181a3a, #12132d);
  border-radius: 18px;
  padding: 2.25rem;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 25px 70px rgba(0,0,0,0.4);
}

.license-detail-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.license-detail-header h2 {
  font-size: 1.3rem;
}

.license-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.license-detail-grid span {
  display: block;
  font-size: 0.75rem;
  color: #b5c7ff;
  margin-bottom: 0.25rem;
}

.license-detail-grid strong {
  font-size: 1rem;
}

.license-detail-actions {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
}
