/* Nexa Login — PHP landing page (white + blue theme) */



:root {

  --bg: #ffffff;

  --bg-alt: #f8fafc;

  --border: #e2e8f0;

  --text: #0f172a;

  --muted: #64748b;

  --dim: #94a3b8;

  --blue: #2563eb;

  --blue-dark: #1d4ed8;

  --blue-light: #3b82f6;

  --blue-soft: #eff6ff;

  --blue-glow: rgba(37, 99, 235, 0.18);

  --radius: 16px;

  --container: 1120px;

}



*, *::before, *::after { box-sizing: border-box; }



html { scroll-behavior: smooth; }



body {

  margin: 0;

  font-family: 'Inter', system-ui, -apple-system, sans-serif;

  background: var(--bg);

  color: var(--text);

  line-height: 1.6;

  -webkit-font-smoothing: antialiased;

}



a { color: inherit; text-decoration: none; }



img { max-width: 100%; height: auto; display: block; }



button { font: inherit; cursor: pointer; }



.container {

  width: min(100% - 2rem, var(--container));

  margin-inline: auto;

}



main { overflow-x: hidden; }



/* Header */

.site-header {

  position: sticky;

  top: 0;

  z-index: 100;

  border-bottom: 1px solid var(--border);

  background: rgba(255, 255, 255, 0.95);

  backdrop-filter: blur(12px);

}



.header-inner {

  position: relative;

  display: flex;

  align-items: center;

  gap: 1rem;

  min-height: 64px;

}



.logo {

  display: flex;

  align-items: center;

  gap: 0.65rem;

  font-weight: 700;

  letter-spacing: 0.02em;

  flex-shrink: 0;

}



.logo-mark {

  display: flex;

  align-items: center;

  justify-content: center;

  width: 36px;

  height: 36px;

  border-radius: 10px;

  background: linear-gradient(135deg, var(--blue), var(--blue-light));

  color: #fff;

  font-size: 0.95rem;

  font-weight: 800;

  flex-shrink: 0;

}



.logo img.logo-mark {

  object-fit: cover;

  padding: 0;

}



.logo-text {

  font-size: 0.95rem;

  text-transform: uppercase;

  color: var(--blue);

  white-space: nowrap;

}



.nav {

  display: flex;

  align-items: center;

  gap: 1rem;

  margin-left: auto;

}



.nav a {

  font-size: 0.875rem;

  color: var(--muted);

  white-space: nowrap;

  transition: color 0.2s;

}



.nav a:hover { color: var(--text); }



.header-cta { flex-shrink: 0; }



.nav-toggle {

  display: none;

  margin-left: auto;

  background: none;

  border: none;

  padding: 0.25rem;

}



.nav-toggle span {

  display: block;

  width: 22px;

  height: 2px;

  margin: 5px 0;

  background: var(--text);

  border-radius: 2px;

}



/* Buttons */

.btn {

  display: inline-flex;

  align-items: center;

  justify-content: center;

  gap: 0.5rem;

  border-radius: 12px;

  font-weight: 600;

  font-size: 0.875rem;

  padding: 0.75rem 1.25rem;

  border: none;

  text-align: center;

  transition: opacity 0.2s, background 0.2s, border-color 0.2s, transform 0.15s;

}



.btn-primary {

  background: linear-gradient(135deg, var(--blue), var(--blue-light));

  color: #fff;

  box-shadow: 0 10px 28px var(--blue-glow);

}



.btn-primary:hover { opacity: 0.94; transform: translateY(-1px); }



.btn-ghost {

  border: 1px solid var(--border);

  background: var(--bg);

  color: var(--text);

}



.btn-ghost:hover { background: var(--bg-alt); border-color: #cbd5e1; }



.btn-sm { padding: 0.5rem 1rem; }

.btn-lg { padding: 0.9rem 1.35rem; font-size: 0.9375rem; }

.btn-block { width: 100%; }



.btn-disabled,

.btn-disabled:hover {

  opacity: 0.55;

  cursor: not-allowed;

  box-shadow: none;

  transform: none;

}



/* Hero */

.hero {

  padding: 3.5rem 0 3rem;

  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);

}



.hero-grid {

  display: grid;

  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);

  gap: 2.5rem;

  align-items: center;

}



.badge {

  display: inline-flex;

  padding: 0.35rem 0.75rem;

  border-radius: 999px;

  border: 1px solid rgba(37, 99, 235, 0.2);

  background: var(--blue-soft);

  color: var(--blue);

  font-size: 0.75rem;

  font-weight: 600;

  margin-bottom: 1rem;

}



.hero h1 {

  margin: 0;

  font-size: clamp(1.85rem, 4vw, 3rem);

  line-height: 1.1;

  letter-spacing: -0.03em;

}



.lead {

  margin: 1rem 0 0;

  color: var(--muted);

  font-size: 1rem;

  max-width: 32rem;

}



.hero-actions {

  display: flex;

  flex-wrap: wrap;

  gap: 0.75rem;

  margin-top: 1.5rem;

}



.hero-stats {

  list-style: none;

  padding: 0;

  margin: 1.75rem 0 0;

  display: flex;

  flex-wrap: wrap;

  gap: 1.25rem 1.75rem;

}



.hero-stats li { display: flex; flex-direction: column; gap: 0.1rem; }

.hero-stats strong { font-size: 0.9rem; }

.hero-stats span { font-size: 0.75rem; color: var(--dim); }



.hero-visual { min-width: 0; }



.hero-shot {

  border: 1px solid var(--border);

  border-radius: 14px;

  overflow: hidden;

  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.1);

  background: #eef0f4;

  line-height: 0;

}



.hero-shot img { width: 100%; height: auto; }



/* Trust bar */

.trust-bar {

  border-block: 1px solid var(--border);

  background: var(--bg);

}



.trust-inner {

  display: flex;

  flex-wrap: wrap;

  justify-content: center;

  gap: 1rem 1.75rem;

  padding: 0.9rem 0;

  font-size: 0.8125rem;

  color: var(--muted);

}



.trust-inner span::before {

  content: '✓ ';

  color: var(--blue);

  font-weight: 700;

}



/* Sections */

.section { padding: 4rem 0; }

.section-alt { background: var(--bg-alt); }



.section-head {

  text-align: center;

  max-width: 640px;

  margin: 0 auto 2rem;

}



.section-head h2 {

  margin: 0;

  font-size: clamp(1.6rem, 3vw, 2.1rem);

  letter-spacing: -0.02em;

}



.section-head p {

  margin: 0.65rem 0 0;

  color: var(--muted);

}



/* Platforms */

.section-platforms {

  padding: 4rem 0;

  background: #fff;

}



.platforms-title {

  text-align: center;

  font-size: clamp(1.35rem, 2.5vw, 1.85rem);

  font-weight: 700;

  color: #334155;

  max-width: 640px;

  margin: 0 auto 2.5rem;

  line-height: 1.3;

}



.platforms-grid {

  display: grid;

  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));

  gap: 1rem 1.25rem;

  max-width: 900px;

  margin: 0 auto;

}



.platform-item {

  display: flex;

  align-items: center;

  justify-content: center;

  gap: 0.5rem;

  padding: 0.65rem 0.75rem;

  border: 1px solid var(--border);

  border-radius: 10px;

  background: #fff;

  min-height: 48px;

}



.platform-item img {

  width: 22px;

  height: 22px;

  flex-shrink: 0;

}



.platform-item span {

  font-size: 0.8125rem;

  font-weight: 600;

  white-space: nowrap;

}



/* Dashboard preview */

.dashboard-tabs {

  display: flex;

  flex-wrap: wrap;

  justify-content: center;

  gap: 0.5rem;

  margin-bottom: 1.25rem;

}



.dashboard-tab {

  appearance: none;

  border: 1px solid var(--border);

  background: #fff;

  color: var(--muted);

  border-radius: 999px;

  padding: 0.45rem 1rem;

  font-size: 0.8125rem;

  font-weight: 600;

  transition: all 0.2s;

}



.dashboard-tab.active,

.dashboard-tab:hover {

  border-color: rgba(37, 99, 235, 0.35);

  background: var(--blue-soft);

  color: var(--blue);

}



.dashboard-frame {

  border: 1px solid var(--border);

  border-radius: 16px;

  overflow: hidden;

  box-shadow: 0 16px 48px rgba(15, 23, 42, 0.08);

  background: #eef0f4;

  line-height: 0;

  max-width: 100%;

}



.dashboard-frame img {

  width: 100%;

  height: auto;

  display: none;

}



.dashboard-frame img.active { display: block; }



/* Features */

.features-grid {

  display: grid;

  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));

  gap: 1rem;

}



.feature-card {

  padding: 1.25rem;

  border-radius: var(--radius);

  border: 1px solid var(--border);

  background: #fff;

}



.feature-card h3 {

  margin: 0 0 0.45rem;

  font-size: 1rem;

}



.feature-card p {

  margin: 0;

  font-size: 0.875rem;

  color: var(--muted);

}



/* Download */

.download-grid {

  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));

  gap: 1rem;

  margin-bottom: 1.5rem;

}



.download-card {

  position: relative;

  padding: 1.5rem;

  border-radius: var(--radius);

  border: 1px solid var(--border);

  background: #fff;

}



.download-card-primary {

  border-color: rgba(37, 99, 235, 0.3);

  background: linear-gradient(180deg, var(--blue-soft) 0%, #fff 70%);

}



.download-card h3 { margin: 0 0 0.35rem; font-size: 1.1rem; }

.download-card p { margin: 0 0 1rem; font-size: 0.875rem; color: var(--muted); }



.pill {

  position: absolute;

  top: 1rem;

  right: 1rem;

  font-size: 0.625rem;

  font-weight: 700;

  text-transform: uppercase;

  letter-spacing: 0.05em;

  padding: 0.2rem 0.5rem;

  border-radius: 999px;

  color: var(--blue);

  background: var(--blue-soft);

  border: 1px solid rgba(37, 99, 235, 0.2);

}



.meta-list { margin: 1rem 0 0; font-size: 0.75rem; }

.meta-list div {

  display: flex;

  justify-content: space-between;

  gap: 1rem;

  padding: 0.35rem 0;

  border-top: 1px solid var(--border);

}

.meta-list dt { color: var(--dim); }

.meta-list dd { margin: 0; color: var(--muted); }



.notice {

  font-size: 0.8125rem;

  color: #b45309;

  background: #fffbeb;

  border: 1px solid #fde68a;

  border-radius: 10px;

  padding: 0.75rem;

}



.two-col {

  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));

  gap: 1rem;

}



.info-card {

  padding: 1.25rem;

  border-radius: var(--radius);

  border: 1px solid var(--border);

  background: #fff;

}



.info-card h3 { margin: 0 0 0.85rem; font-size: 1rem; }



.steps {

  margin: 0;

  padding-left: 1.2rem;

  color: var(--muted);

  font-size: 0.875rem;

}



.steps li + li { margin-top: 0.5rem; }



.check-list {

  list-style: none;

  margin: 0;

  padding: 0;

  font-size: 0.875rem;

  color: var(--muted);

}



.check-list li {

  position: relative;

  padding-left: 1.4rem;

  margin-bottom: 0.5rem;

}



.check-list li::before {

  content: '✓';

  position: absolute;

  left: 0;

  color: var(--blue);

  font-weight: 700;

}



/* Contact */

.contact-wrap {

  max-width: 520px;

  margin-inline: auto;

}



.contact-form { display: grid; gap: 0.85rem; }



.form-row label {

  display: block;

  font-size: 0.8125rem;

  font-weight: 500;

  margin-bottom: 0.3rem;

}



.form-row input,

.form-row textarea {

  width: 100%;

  padding: 0.7rem 0.85rem;

  border-radius: 10px;

  border: 1px solid var(--border);

  background: #fff;

  color: var(--text);

  font: inherit;

}



.form-row input:focus,

.form-row textarea:focus {

  outline: none;

  border-color: rgba(37, 99, 235, 0.5);

  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);

}



.hp-field {

  position: absolute;

  left: -9999px;

  opacity: 0;

  height: 0;

  width: 0;

}



.alert {

  padding: 0.8rem 1rem;

  border-radius: 10px;

  margin-bottom: 1rem;

  font-size: 0.875rem;

}



.alert-success {

  background: var(--blue-soft);

  border: 1px solid rgba(37, 99, 235, 0.25);

  color: var(--blue-dark);

}



.alert-error {

  background: #fef2f2;

  border: 1px solid #fecaca;

  color: #b91c1c;

}



/* Footer */

.site-footer {

  border-top: 1px solid var(--border);

  padding: 2.5rem 0 1.75rem;

  background: var(--bg-alt);

}



.footer-grid {

  display: grid;

  grid-template-columns: 2fr 1fr 1fr;

  gap: 2rem;

}



.footer-tagline {

  color: var(--muted);

  font-size: 0.875rem;

  max-width: 26rem;

  margin: 0.65rem 0 0.85rem;

}



.footer-copy { font-size: 0.75rem; color: var(--dim); margin: 0; }



.site-footer h4 {

  margin: 0 0 0.65rem;

  font-size: 0.75rem;

  text-transform: uppercase;

  letter-spacing: 0.06em;

  color: var(--dim);

}



.site-footer ul {

  list-style: none;

  margin: 0;

  padding: 0;

}



.site-footer li + li { margin-top: 0.35rem; }



.site-footer a {

  font-size: 0.875rem;

  color: var(--muted);

}



.site-footer a:hover { color: var(--blue); }



/* Responsive */

@media (max-width: 960px) {

  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }

  .hero-visual { order: -1; }

  .footer-grid { grid-template-columns: 1fr 1fr; }

}



@media (max-width: 768px) {

  .nav {

    display: none;

    position: absolute;

    top: 100%;

    left: 0;

    right: 0;

    flex-direction: column;

    align-items: stretch;

    gap: 0;

    margin: 0;

    padding: 0.5rem;

    background: #fff;

    border-bottom: 1px solid var(--border);

    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);

  }



  .nav a {

    padding: 0.65rem 0.75rem;

    border-radius: 8px;

  }



  .nav a:hover { background: var(--bg-alt); }



  .nav.is-open { display: flex; }



  .header-cta { display: none; }



  .nav-toggle { display: block; }



  .platforms-grid {

    grid-template-columns: repeat(2, minmax(0, 1fr));

  }



  .footer-grid { grid-template-columns: 1fr; }



  .section { padding: 3rem 0; }

}



@media (max-width: 400px) {

  .platforms-grid { grid-template-columns: 1fr; }

}


