:root {
  --sammi-bg: #0b1724;
  --sammi-bg-2: #122640;
  --sammi-panel: rgba(28, 48, 76, 0.84);
  --sammi-panel-solid: #1c304c;
  --sammi-panel-soft: rgba(43, 67, 101, 0.78);
  --sammi-text: #f8fafc;
  --sammi-muted: #cbd5e1;
  --sammi-muted-2: #94a3b8;
  --sammi-blue: #38bdf8;
  --sammi-indigo: #6366f1;
  --sammi-violet: #8b5cf6;
  --sammi-green: #22c55e;
  --sammi-gold: #f59e0b;
  --sammi-border: rgba(191, 219, 254, 0.14);
  --sammi-border-strong: rgba(191, 219, 254, 0.25);
  --sammi-shadow: 0 24px 80px rgba(0, 0, 0, 0.26);
}

html {
  scroll-padding-top: 92px;
}

body {
  background:
    radial-gradient(circle at 14% 0%, rgba(56, 189, 248, 0.3), transparent 36%),
    radial-gradient(circle at 86% 12%, rgba(96, 165, 250, 0.26), transparent 32%),
    radial-gradient(circle at 50% 100%, rgba(34, 197, 94, 0.1), transparent 36%),
    linear-gradient(180deg, #102b46 0%, #0d2135 48%, #0b1724 100%),
    var(--sammi-bg);
  background-attachment: fixed;
  color: var(--sammi-text);
  font-family: Inter, "Open Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: #93c5fd;
}

#header {
  top: 14px;
  right: 18px;
  left: 18px;
  width: auto;
  min-height: 68px;
  padding: 10px 0;
  background: rgba(15, 32, 51, 0.78);
  border: 1px solid var(--sammi-border);
  border-radius: 999px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

#header.header-scrolled {
  background: rgba(15, 32, 51, 0.92);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.34);
}

#header .container {
  max-width: 1180px;
}

#header .logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

#header .logo img {
  max-height: 38px;
  filter: drop-shadow(0 0 18px rgba(56, 189, 248, 0.26));
}

#header .logo h1 {
  font-size: 24px;
  letter-spacing: 0;
}

.navbar a,
.navbar a:focus {
  padding: 9px 12px;
  color: var(--sammi-muted);
  font-size: 14px;
  font-weight: 700;
  border-radius: 999px;
}

.navbar a:hover,
.navbar .active,
.navbar .active:focus,
.navbar li:hover > a {
  color: white;
  background: rgba(255, 255, 255, 0.08);
}

.navbar .dropdown ul,
.navbar-mobile ul,
.navbar-mobile .dropdown ul {
  background: rgba(17, 24, 39, 0.98);
  border: 1px solid var(--sammi-border);
  border-radius: 8px;
  box-shadow: var(--sammi-shadow);
}

.navbar .btn-primary {
  padding: 9px 15px;
  color: white;
  font-weight: 800;
  background: linear-gradient(135deg, var(--sammi-blue), var(--sammi-violet));
  border: 0;
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(56, 189, 248, 0.24);
}

.header-social-links a,
.header-social-links i {
  color: var(--sammi-muted);
}

.header-social-links span:hover i {
  color: white;
}

#hero {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: center;
  margin-top: 0;
  padding: 128px 0 88px;
  background: transparent;
  overflow: hidden;
}

#hero::before {
  content: "";
  position: absolute;
  inset: 96px 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

#hero::after {
  display: none;
}

#hero .container {
  position: relative;
  z-index: 2;
}

#hero .row {
  min-height: 540px;
  align-items: center;
}

#hero .hero-img {
  position: absolute;
  top: 116px;
  right: clamp(-80px, -4vw, 18px);
  z-index: -1;
  width: min(650px, 50vw);
  opacity: 0.9;
  text-align: right;
  pointer-events: none;
}

#hero .hero-img img {
  width: 100%;
  max-width: none;
  filter: drop-shadow(0 34px 80px rgba(0, 0, 0, 0.52));
}

#hero h1 {
  margin-bottom: 16px;
  color: white;
  font-family: Poppins, Inter, sans-serif;
  font-size: clamp(68px, 10vw, 132px);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: 0;
}

#hero h2 {
  max-width: 650px;
  margin-bottom: 16px;
  color: var(--sammi-text);
  font-size: clamp(23px, 3vw, 38px);
  line-height: 1.12;
  font-weight: 750;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 610px;
  margin: 0 0 28px;
  color: var(--sammi-muted);
  font-size: 18px;
  line-height: 1.7;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  margin: 0 0 18px;
  padding: 7px 12px;
  color: #bfdbfe;
  background: rgba(56, 189, 248, 0.13);
  border: 1px solid rgba(147, 197, 253, 0.18);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.hero-eyebrow span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sammi-green);
  box-shadow: 0 0 16px rgba(34, 197, 94, 0.76);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

#hero .btn-get-started,
.btn-secondary-action,
.cta .cta-btn,
.portfolio .portfolio-wrap .portfolio-links a,
#contact input[type=submit],
#contact .php-email-form button[type=submit] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  color: white;
  font-family: Inter, "Raleway", sans-serif;
  font-size: 14px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: none;
  background: linear-gradient(135deg, var(--sammi-blue), var(--sammi-violet));
  border: 1px solid rgba(147, 197, 253, 0.24);
  border-radius: 999px;
  box-shadow: 0 16px 38px rgba(56, 189, 248, 0.22);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

#hero .btn-get-started:hover,
.btn-secondary-action:hover,
.cta .cta-btn:hover,
#contact input[type=submit]:hover,
#contact .php-email-form button[type=submit]:hover {
  color: white;
  text-decoration: none;
  transform: translateY(-2px);
  background: linear-gradient(135deg, #0ea5e9, #7c3aed);
}

.btn-secondary-action {
  color: var(--sammi-text);
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--sammi-border-strong);
  box-shadow: none;
}

.btn-secondary-action:hover {
  background: rgba(255, 255, 255, 0.1);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 150px));
  gap: 10px;
  max-width: 520px;
}

.hero-metrics div {
  padding: 12px 13px;
  background: rgba(28, 48, 76, 0.76);
  border: 1px solid var(--sammi-border);
  border-radius: 8px;
  backdrop-filter: blur(14px);
}

.hero-metrics strong,
.hero-metrics span {
  display: block;
}

.hero-metrics strong {
  color: white;
  font-size: 17px;
  line-height: 1.1;
}

.hero-metrics span {
  margin-top: 4px;
  color: var(--sammi-muted-2);
  font-size: 12px;
  line-height: 1.3;
}

section {
  padding: 82px 0;
}

#main {
  position: relative;
  z-index: 4;
  margin-top: 0;
  background: transparent;
}

.section-bg,
.integrations,
.about .container,
.contact .info,
.contact .php-email-form,
#footer,
#footer .footer-top {
  background: transparent;
}

.section-title {
  max-width: 820px;
  margin: 0 auto;
}

.section-title h2 {
  color: white;
  font-family: Poppins, Inter, sans-serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 780;
  letter-spacing: 0;
}

.section-title p,
.about .content,
.features .nav-link p,
.integrations .description,
.portfolio .portfolio-info p,
.testimonials .testimonial-item p,
.faq .faq-list p,
.contact .info p,
#footer .footer-top .footer-info p,
#footer .footer-top .footer-links ul a {
  color: var(--sammi-muted);
}

.about {
  position: relative;
  z-index: 5;
  margin-top: 0;
  padding-top: 78px;
}

.about .container,
.features .container,
.integrations .container,
.portfolio .container,
.testimonials .container,
.team .container,
.faq .container,
.contact .container {
  max-width: 1180px;
}

.about .container {
  padding: 38px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025)),
    rgba(28, 48, 76, 0.76);
  border: 1px solid var(--sammi-border);
  border-radius: 8px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(18px);
}

.about .carousel,
.features video,
.portfolio .portfolio-wrap,
.team .member,
.testimonials .testimonial-item,
.faq .faq-list li,
.contact .info,
.contact .php-email-form {
  background: var(--sammi-panel);
  border: 1px solid var(--sammi-border);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.about .content h3 {
  color: white;
  font-weight: 760;
  letter-spacing: 0;
}

.about .content ul i {
  color: var(--sammi-green);
}

.features .nav-tabs {
  gap: 10px;
}

.features .nav-link {
  padding: 18px;
  color: var(--sammi-muted);
  background: rgba(28, 48, 76, 0.62);
  border: 1px solid var(--sammi-border);
  border-left: 3px solid rgba(56, 189, 248, 0.4);
  border-radius: 8px;
}

.features .nav-link h4 {
  color: white;
  font-size: 17px;
  letter-spacing: 0;
}

.features .nav-link:hover,
.features .nav-link.active {
  background: rgba(56, 189, 248, 0.14);
  border-color: rgba(147, 197, 253, 0.3);
  border-left-color: var(--sammi-blue);
}

.features .tab-content {
  text-align: center;
}

.features video {
  width: min(100%, 590px);
}

.integrations .icon-box {
  width: 100%;
  padding: 26px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025)), var(--sammi-panel-solid);
  border: 1px solid var(--sammi-border);
  border-bottom: 1px solid var(--sammi-border-strong);
  border-radius: 8px;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.23);
}

.integrations > .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.integrations .section-title {
  grid-column: 1 / -1;
}

.integrations .row {
  display: contents;
}

.integrations .row > [class*="col-"] {
  width: auto;
  max-width: none;
  margin-bottom: 0 !important;
  padding-right: 0;
  padding-left: 0;
}

.integrations .icon-box:hover,
.portfolio .portfolio-wrap:hover,
.team .member:hover {
  transform: translateY(-4px);
  border-color: rgba(147, 197, 253, 0.32);
}

.integrations .icon {
  display: block;
  width: auto;
  height: 58px;
  margin-bottom: 16px;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.integrations .icon i {
  display: inline-block;
  color: var(--sammi-violet);
  font-size: 50px;
}

.integrations .icon img {
  width: auto;
  max-width: 58px;
  max-height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.32));
}

.integrations .title a,
.integrations .title {
  color: white;
}

.integrations .icon-box-obs .icon,
.integrations .icon-box-youtube .icon,
.integrations .icon-box-voice .icon,
.integrations .icon-box-elgato .icon,
.integrations .icon-box-miu .icon {
  border-bottom: 0;
}

.portfolio #portfolio-flters {
  padding: 6px;
  background: rgba(17, 24, 39, 0.72);
  border: 1px solid var(--sammi-border);
  border-radius: 999px;
}

.portfolio #portfolio-flters li {
  margin: 0;
  padding: 9px 14px;
  color: var(--sammi-muted);
  border-radius: 999px;
}

.portfolio #portfolio-flters li:hover,
.portfolio #portfolio-flters li.filter-active {
  color: white;
  background: rgba(56, 189, 248, 0.16);
}

.portfolio .portfolio-wrap {
  background: var(--sammi-panel-solid);
  aspect-ratio: 4 / 3;
}

.portfolio .portfolio-wrap > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portfolio .portfolio-wrap::before {
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  background:
    linear-gradient(180deg, rgba(8, 11, 18, 0.18), rgba(8, 11, 18, 0.88)),
    rgba(15, 23, 42, 0.28) !important;
  opacity: 0;
}

.portfolio .portfolio-wrap:hover::before {
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  opacity: 1;
}

.portfolio .portfolio-wrap .portfolio-info {
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
  padding: 24px 26px 82px;
  background: transparent !important;
  transform: none !important;
}

.portfolio .portfolio-info h4,
.testimonials .testimonial-item h3,
.team .member .member-info h4,
.faq .faq-list .question {
  color: white;
  letter-spacing: 0;
}

.portfolio .portfolio-info p {
  margin: 0 auto;
  max-width: 290px;
  color: var(--sammi-muted);
  font-size: 13px;
  line-height: 1.45;
  text-transform: none;
}

.portfolio .portfolio-wrap:hover .portfolio-info {
  top: 0 !important;
  opacity: 1;
}

.portfolio .portfolio-wrap .portfolio-links {
  right: 0 !important;
  bottom: 26px !important;
  left: 0 !important;
  transform: none !important;
}

.portfolio .portfolio-wrap:hover .portfolio-links {
  bottom: 26px !important;
  opacity: 1;
}

.portfolio .portfolio-wrap .portfolio-links a {
  width: 46px;
  height: 46px;
  margin: 0;
  padding: 0;
  font-size: 22px;
  line-height: 46px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28);
}

.cta {
  background:
    linear-gradient(90deg, rgba(14, 165, 233, 0.22), rgba(139, 92, 246, 0.2)),
    linear-gradient(rgba(8, 11, 18, 0.9), rgba(8, 11, 18, 0.9)),
    url("../img/cta-bg.jpg") center center;
  background-size: cover;
  border-block: 1px solid var(--sammi-border);
}

.cta h3 {
  color: white;
  font-weight: 800;
}

.cta p {
  color: var(--sammi-muted);
}

.testimonials .testimonial-item {
  padding: 28px;
}

.testimonials .testimonial-item .testimonial-img {
  border: 4px solid rgba(255, 255, 255, 0.12);
}

.testimonials .swiper-pagination .swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.5);
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background: var(--sammi-blue);
}

.team {
  background: transparent;
  background-size: cover;
}

.team::before {
  display: none;
}

.team .row {
  justify-content: center;
}

.team .member {
  background: var(--sammi-panel-solid);
  text-align: center;
  margin-bottom: 0 !important;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

.team .member img {
  width: 100%;
}

.team-member-info {
  max-width: 100%;
  margin: 0 0 80px;
  padding: 18px;
  background: rgba(17, 24, 39, 0.9);
  border: 1px solid var(--sammi-border);
  border-top: 0;
  border-radius: 0 0 8px 8px;
  text-align: center;
}

.team-member-info h4 {
  position: static;
  margin: 0 0 4px;
  padding: 0;
  color: white;
  font-size: 17px;
  font-weight: 800;
}

.team-member-info h4::after {
  display: none;
}

.team-member-info span {
  display: block;
  color: var(--sammi-muted-2);
  font-size: 13px;
  font-style: normal;
}

.faq .faq-list li {
  padding: 18px 20px;
  background: rgba(17, 24, 39, 0.72);
}

.faq .faq-list .icon-help {
  color: var(--sammi-blue);
}

.faq .faq-list .icon-show,
.faq .faq-list .icon-close {
  color: var(--sammi-muted-2);
}

.contact .info,
.contact .php-email-form {
  padding: 28px;
  border-top: 0;
  border-bottom: 0;
}

.contact .info i {
  color: var(--sammi-blue);
  background: rgba(56, 189, 248, 0.11);
}

.contact .info h4 {
  color: white;
}

.contact .php-email-form input,
.contact .php-email-form textarea {
  color: white;
  background: rgba(8, 11, 18, 0.64);
  border: 1px solid var(--sammi-border);
  border-radius: 8px;
}

.contact .php-email-form input:focus,
.contact .php-email-form textarea:focus {
  border-color: rgba(56, 189, 248, 0.55);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.14);
}

#footer {
  border-top: 1px solid var(--sammi-border);
}

#footer .footer-top {
  padding-top: 56px;
}

#footer .footer-top h4,
#footer .footer-top .footer-info h3 {
  color: white;
}

#footer .footer-top .social-links a {
  background: rgba(56, 189, 248, 0.14);
  border: 1px solid rgba(147, 197, 253, 0.16);
}

#footer .footer-top .social-links a:hover {
  background: linear-gradient(135deg, var(--sammi-blue), var(--sammi-violet));
}

.back-to-top {
  background: linear-gradient(135deg, var(--sammi-blue), var(--sammi-violet));
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28);
}

@media (max-width: 991px) {
  #header {
    right: 10px;
    left: 10px;
    min-height: 64px;
    overflow: visible;
    border-radius: 22px;
  }

  #header .container {
    position: relative;
  }

  #header .logo h1 {
    display: block;
    font-size: 21px;
  }

  .mobile-nav-toggle {
    position: relative;
    z-index: 1002;
    color: white;
    font-size: 30px;
  }

  .navbar-mobile {
    position: static;
    overflow: visible;
    background: transparent;
    backdrop-filter: none;
  }

  .navbar-mobile .mobile-nav-toggle {
    position: relative;
    top: auto;
    right: auto;
  }

  .navbar-mobile ul {
    display: block;
    position: absolute;
    top: calc(100% + 14px);
    right: 0;
    left: 0;
    bottom: auto;
    max-height: calc(100vh - 104px);
    padding: 14px;
    overflow-y: auto;
    background: rgba(15, 32, 51, 0.96);
    border: 1px solid var(--sammi-border);
    border-radius: 18px;
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.36);
    backdrop-filter: blur(12px);
  }

  .navbar-mobile li {
    margin: 2px 0;
  }

  .navbar-mobile a,
  .navbar-mobile a:focus {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    color: var(--sammi-muted);
    border-radius: 8px;
  }

  .navbar-mobile a:hover,
  .navbar-mobile .active,
  .navbar-mobile li:hover > a {
    color: white;
    background: rgba(255, 255, 255, 0.08);
  }

  .navbar-mobile .dropdown ul {
    position: static;
    display: none;
    margin: 6px 0 8px;
    padding: 8px;
    background: rgba(8, 17, 29, 0.62);
    border: 1px solid var(--sammi-border);
    border-radius: 12px;
    box-shadow: none;
  }

  .navbar-mobile .dropdown > .dropdown-active {
    display: block;
  }

  #hero {
    min-height: auto;
    padding: 124px 0 64px;
    background: transparent;
  }

  #main {
    margin-top: 0;
  }

  #hero .row {
    min-height: auto;
  }

  #hero .hero-img {
    position: relative;
    top: auto;
    right: auto;
    z-index: 1;
    order: 2 !important;
    width: 100%;
    margin: 34px auto 0;
    opacity: 1;
    text-align: center;
  }

  #hero .col-lg-6.pt-5 {
    order: 1 !important;
  }

  #hero .hero-img img {
    width: min(86%, 440px);
  }

  .hero-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 100%;
  }

  .header-social-links {
    display: none !important;
  }
}

@media (max-width: 575px) {
  #header .logo h1 {
    display: block;
    font-size: 18px;
  }

  #hero h1 {
    font-size: 58px;
  }

  #hero h2 {
    font-size: 24px;
  }

  .hero-copy {
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  #hero .btn-get-started,
  .btn-secondary-action {
    width: 100%;
  }

  .about .container {
    padding: 24px;
  }

  section {
    padding: 64px 0;
  }
}
