/* ============================================
   LINOIRIS TECHNOLOGIES — Dark SaaS Theme
   ============================================ */

:root {
  --accent:        #4f6ef7;
  --accent-dark:   #3b5fe0;
  --accent-cyan:   #38bdf8;
  --accent-glow:   rgba(79, 110, 247, 0.22);
  --navy:          #ffffff;
  --text:          rgba(255, 255, 255, 0.88);
  --muted:         rgba(255, 255, 255, 0.48);
  --bg:            #080d1f;
  --bg-alt:        #0d1530;
  --bg-card:       rgba(255, 255, 255, 0.04);
  --border:        rgba(255, 255, 255, 0.09);
  --shadow-sm:     0 1px 3px rgba(0,0,0,0.4), 0 2px 10px rgba(0,0,0,0.3);
  --shadow-hover:  0 12px 48px rgba(79, 110, 247, 0.22);
  --radius-sm:     8px;
  --radius-md:     14px;
  --radius-lg:     20px;
}

/* ── Base ── */

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Rubik', sans-serif;
  color: var(--text);
  background-color: var(--bg) !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Force dark on all sections */
section, .section, .cta {
  background-color: var(--bg);
}

.bg-light, .section.bg-light {
  background-color: var(--bg-alt) !important;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  color: #fff;
}

p { color: var(--text); }

.text-muted { color: var(--muted) !important; }
.text-custom { color: var(--accent) !important; }
.bg-light { background-color: var(--bg-alt) !important; }

/* ── Navbar ── */

.navbar-custom {
  background: #080d1f;
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
  transition: padding 0.3s ease, box-shadow 0.3s ease;
}

.navbar-custom.scrolled {
  background: #080d1f !important;
  border-bottom-color: rgba(79, 110, 247, 0.2) !important;
  padding: 12px 0 !important;
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.5) !important;
}

.navbar-custom .navbar-brand {
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #fff !important;
}

.navbar-custom .navbar-nav li a {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  padding: 10px 0;
  margin: 0 14px;
  transition: color 0.2s;
  position: relative;
}

.navbar-custom .navbar-nav li a:hover,
.navbar-custom .navbar-nav li.active a {
  color: #fff;
}

.navbar-custom .navbar-nav li.active a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

.navbar-toggler {
  border: 1px solid var(--border);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  color: #fff !important;
}

.navbar-collapse {
  background: rgba(8, 13, 31, 0.98);
}

/* ── Hero ── */

.section#home {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  background-size: cover;
  background-position: center;
}

.bg-overlay {
  background: linear-gradient(135deg, rgba(8, 13, 50, 0.88) 0%, rgba(8, 13, 31, 0.82) 100%);
  opacity: 1 !important;
}

.hero-container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-badge {
  display: inline-block;
  background: rgba(79, 110, 247, 0.14);
  border: 1px solid rgba(79, 110, 247, 0.35);
  color: var(--accent-cyan);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.home-title {
  font-size: 3.2rem;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #fff;
}

.home-desc {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  letter-spacing: 0;
  margin: 20px 0 0 0;
  max-width: 480px;
}

.hero-cta {
  margin-top: 36px;
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.hero-img {
  filter: brightness(1.05) drop-shadow(0 0 60px rgba(79, 110, 247, 0.3));
  max-width: 90%;
}

/* Hide legacy wave/pattern markup */
.wave-effect { display: none; }
.bg-pattern-effect { display: none; }
.display-table, .display-table-cell { display: block !important; }

/* ── Section headings ── */

.section {
  padding-top: 80px;
  padding-bottom: 80px;
  position: relative;
}

.section-title {
  text-transform: none;
  letter-spacing: -0.02em;
  font-size: 2.1rem;
  font-weight: 700;
  color: #fff;
  padding-bottom: 0;
}

.section-title-border {
  width: 36px;
  height: 3px;
  border-radius: 2px;
  background-color: var(--accent) !important;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.75;
}

/* ── Services ── */

.services-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  transition: background 0.3s ease, border-color 0.3s ease,
              box-shadow 0.3s ease, transform 0.3s ease;
}

.hover-effect:hover { transform: translateY(-6px); }

.services-box:hover {
  background: rgba(79, 110, 247, 0.08);
  border-color: rgba(79, 110, 247, 0.3);
  box-shadow: var(--shadow-hover);
  transform: translateY(-6px);
}

.services-box i {
  font-size: 26px;
  height: 60px;
  width: 60px;
  background: linear-gradient(135deg, rgba(79, 110, 247, 0.2) 0%, rgba(56, 189, 248, 0.15) 100%);
  border-radius: 14px;
  box-shadow: none !important;
  line-height: 60px;
  color: var(--accent-cyan) !important;
}

.services-box:hover i {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-cyan) 100%) !important;
  color: #fff !important;
  transition: all 0.25s ease;
}

.services-box h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  padding-top: 14px !important;
}

.services-box p {
  font-size: 0.9rem;
  line-height: 1.65;
  padding-top: 6px !important;
  color: var(--muted);
}

/* ── Features ── */

.features-box h3 {
  font-size: 1.9rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin-bottom: 16px;
}

.web-desc {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--muted);
}

.features-item-list li {
  font-size: 0.95rem;
  color: var(--text);
  padding: 7px 0 7px 28px;
  line-height: 1.6;
}

.features-item-list li:before {
  width: 8px;
  height: 8px;
  background-color: var(--accent) !important;
  top: 14px;
  left: 2px;
}

/* ── CTA — Web Description ── */

.bg-web-desc {
  background: none !important;
}

.bg-web-desc .bg-overlay {
  background: linear-gradient(135deg, #1d4ed8 0%, #4f46e5 50%, #7c3aed 100%);
  opacity: 1 !important;
}

.section-lg h2 {
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* ── Process ── */

.process-step-number {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: rgba(79, 110, 247, 0.2);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
  user-select: none;
}

.process-box i {
  font-size: 38px;
  line-height: 1.2;
  color: var(--accent) !important;
}

.process-box h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
}

.process-box p {
  font-size: 0.9rem;
  color: var(--muted);
}

.plan-line:before {
  border-color: var(--border);
}

/* ── Get Started ── */

.bg-get-start {
  background: none !important;
}

.bg-get-start .bg-overlay {
  background: linear-gradient(135deg, #1e3a8a 0%, #312e81 100%);
  opacity: 1 !important;
  border-radius: var(--radius-lg);
}

.section.section-lg.bg-get-start {
  padding: 60px 0;
}

.section.section-lg.bg-get-start .container {
  background: linear-gradient(135deg, #1d4ed8 0%, #4f46e5 60%, #7c3aed 100%);
  border-radius: 24px;
  padding: 64px 48px;
  position: relative;
  overflow: hidden;
}

.section.section-lg.bg-get-start .bg-overlay {
  display: none;
}

.get-started-title {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* ── Buttons ── */

.btn-custom {
  background: var(--accent);
  border-color: var(--accent) !important;
  color: #fff !important;
  border-radius: var(--radius-sm);
  font-weight: 500;
  padding: 11px 26px;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s !important;
}

.btn-custom:hover,
.btn-custom:focus,
.btn-custom:active {
  background: var(--accent-dark) !important;
  border-color: var(--accent-dark) !important;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(79, 110, 247, 0.45) !important;
}

.btn-bg-white {
  background: rgba(255,255,255,0.12) !important;
  color: #fff !important;
  border: 1.5px solid rgba(255,255,255,0.3) !important;
  border-radius: var(--radius-sm) !important;
  font-weight: 600;
  font-size: 0.88rem;
  transition: all 0.2s !important;
  backdrop-filter: blur(8px);
}

.btn-bg-white:hover {
  background: rgba(255,255,255,0.22) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.25) !important;
}

/* ── Contact ── */

#contact {
  background: var(--bg);
}

.form-control {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm) !important;
  height: 50px;
  font-size: 0.93rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  padding-left: 16px;
}

.form-control::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.form-control:focus {
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 3px rgba(79, 110, 247, 0.15) !important;
  background: rgba(79, 110, 247, 0.06);
  color: #fff;
}

textarea.form-control {
  height: auto;
  padding-top: 14px;
  border-radius: var(--radius-sm) !important;
}

.submitBnt { min-width: 140px; }

.contact-title {
  font-size: 1rem;
  font-weight: 500;
  color: var(--muted);
}

/* ── Social bar ── */

.cta.bg-light {
  background: var(--bg-alt) !important;
  border-top: 1px solid var(--border);
}

.contact-title.pe-7s-mail-open,
.cta .contact-title {
  color: var(--muted);
}

.social-icon {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--muted) !important;
  width: 44px;
  height: 44px;
  font-size: 15px;
  line-height: 40px;
  transition: all 0.2s ease;
}

.social-icon:hover {
  border-color: var(--accent);
  color: var(--accent) !important;
  background: rgba(79, 110, 247, 0.1);
  transform: translateY(-2px);
}

/* ── Footer ── */

.footer-alt {
  background: #050912;
  padding: 18px 0;
  border-top: 1px solid var(--border);
}

.copy-rights {
  color: rgba(255, 255, 255, 0.28) !important;
  font-size: 0.82rem;
}

/* ── Mesh/glow accents ── */

.section#home::after {
  content: '';
  position: absolute;
  top: 20%;
  right: 0;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle at center, rgba(79, 110, 247, 0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

/* ── Responsive ── */

@media (max-width: 991px) {
  .hero-visual {
    margin-top: 48px;
    justify-content: center;
  }

  .home-desc { max-width: 100%; }
}

@media (max-width: 768px) {
  .home-title        { font-size: 2.2rem; }
  .section-title     { font-size: 1.7rem; }
  .get-started-title { font-size: 1.9rem; }
  .features-box h3   { font-size: 1.5rem; }

  .section.section-lg.bg-get-start .container {
    padding: 40px 28px;
  }
}
