:root{
  --radius: 18px;
  --radius-2: 24px;
  --max: 1120px;
  --pad: 22px;
  --pad-lg: 34px;
  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji", "Segoe UI Emoji";

  --primary: #4f86ff;
  --primary-2: #6ee7ff;
}

body.mode-dark{
  --bg: #0b1220;
  --panel: rgba(255, 255, 255, 0.06);
  --panel-2: rgba(255, 255, 255, 0.09);
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.68);
  --line: rgba(255, 255, 255, 0.12);
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}

body.mode-light{
  --bg: #f6f8fc;
  --panel: rgba(15, 23, 42, 0.06);
  --panel-2: rgba(15, 23, 42, 0.10);
  --text: rgba(0, 0, 0, 0.92);
  --muted: rgba(0, 0, 0, 0.62);
  --line: rgba(0, 0, 0, 0.16);
  --shadow: 0 18px 50px rgba(15, 23, 42, 0.14);
}



*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}


a{
  color: inherit;
  text-decoration: none;
}
a:hover{ text-decoration: underline; }

.container{
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(11, 18, 32, 0.45);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 180ms ease, border-color 180ms ease;
}
.site-header.scrolled{
  background: rgba(11, 18, 32, 0.72);
  border-bottom-color: rgba(255, 255, 255, 0.10);
}

body.mode-light .site-header{
  background: rgba(246, 248, 252, 0.72);
  border-bottom-color: rgba(15, 23, 42, 0.10);
}
body.mode-light .site-header.scrolled{
  background: rgba(246, 248, 252, 0.92);
  border-bottom-color: rgba(15, 23, 42, 0.16);
}


.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
}

.brand{
  display: inline-flex;
  align-items: center;
  min-width: 0;
}


.brand-link{
  display: inline-flex;
  align-items: center;
}

.brand-logo{
  display: block;
  height: 54px;
  width: auto;
  max-width: 320px;
  object-fit: contain;
  background: transparent;
  border: 0;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
}



.brand-mark{
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 10px 28px rgba(79, 134, 255, 0.28);
}



.brand-name{
  font-weight: 800;
  letter-spacing: 0.2px;
  font-size: 15px;
}
.brand-tagline{
  font-size: 12px;
  color: var(--muted);
}


.nav{
  display: flex;
  align-items: center;
  gap: 14px;
}
.nav a{
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
  transition: background 160ms ease, color 160ms ease;
}
.nav a:hover{
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  text-decoration: none;
}
.nav .nav-cta{
  background: linear-gradient(135deg, rgba(79, 134, 255, 0.95), rgba(110, 231, 255, 0.85));
  color: #071021;
  box-shadow: 0 12px 26px rgba(79, 134, 255, 0.20);
}
.nav .nav-cta:hover{
  filter: brightness(1.02);
  background: linear-gradient(135deg, rgba(79, 134, 255, 1), rgba(110, 231, 255, 0.92));
}

.nav-toggle{
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  padding: 10px;
}
.nav-toggle:focus{ outline: 2px solid rgba(110, 231, 255, 0.45); outline-offset: 2px; }
.nav-toggle-bar{
  display: block;
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 4px;
  margin: 5px 0;
}

.hero{
  position: relative;
}

.carousel{
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.carousel-track{
  display: flex;
  width: 100%;
  transition: transform 520ms ease;
}

.carousel-slide{
  position: relative;
  width: 100%;
  min-height: 76vh;
  flex: 0 0 100%;
}

.carousel-image{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.04) contrast(1.04);
  transform: scale(1.02);
}

.carousel-overlay{
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 10, 18, 0.86) 0%, rgba(6, 10, 18, 0.60) 55%, rgba(6, 10, 18, 0.30) 100%),
    radial-gradient(900px 520px at 18% 45%, rgba(79, 134, 255, 0.22), transparent 60%),
    linear-gradient(180deg, rgba(6, 10, 18, 0.18) 0%, rgba(6, 10, 18, 0.55) 100%);
}

body.mode-light .carousel-overlay{
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.86) 0%, rgba(255, 255, 255, 0.60) 55%, rgba(255, 255, 255, 0.22) 100%),
    radial-gradient(900px 520px at 18% 45%, rgba(79, 134, 255, 0.18), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.10) 0%, rgba(255, 255, 255, 0.50) 100%);
}


.carousel-content{
  position: relative;
  padding: 86px var(--pad) 56px var(--pad);
}

.hero-badge{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.10);
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.2px;
}

body.mode-light .hero-badge{
  background: rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.12);
  color: rgba(0, 0, 0, 0.80);
}



.hero-title{
  margin: 16px 0 10px 0;
  font-size: clamp(34px, 4vw, 56px);
  letter-spacing: -0.7px;
  line-height: 1.04;
  max-width: 720px;
}

.hero-subtitle{
  margin: 0 0 22px 0;
  max-width: 620px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
}

body.mode-light .hero-subtitle{
  color: rgba(0, 0, 0, 0.72);
}



.hero-actions{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 14px;
  font-weight: 800;
  font-size: 14px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  transition: transform 140ms ease, filter 140ms ease, background 140ms ease;
  text-decoration: none;
}
.btn:hover{
  transform: translateY(-1px);
  text-decoration: none;
}
.btn:active{
  transform: translateY(0px);
}
.btn-primary{
  background: linear-gradient(135deg, rgba(79, 134, 255, 0.95), rgba(110, 231, 255, 0.90));
  color: #071021;
  box-shadow: 0 14px 34px rgba(79, 134, 255, 0.22);
}
.btn-secondary{
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

body.mode-light .btn-secondary{
  color: rgba(0, 0, 0, 0.92);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.18);
}


.btn-block{
  width: 100%;
}

.carousel-control{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(6, 10, 18, 0.40);
  backdrop-filter: blur(12px);
  color: rgba(255, 255, 255, 0.92);
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.35);
}
.carousel-control span{
  font-size: 26px;
  line-height: 1;
  margin-top: -2px;
}
.carousel-control.prev{ left: 16px; }
.carousel-control.next{ right: 16px; }
.carousel-control:hover{
  background: rgba(6, 10, 18, 0.55);
}
.carousel-control:focus{ outline: 2px solid rgba(110, 231, 255, 0.45); outline-offset: 2px; }

.carousel-dots{
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(6, 10, 18, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(12px);
}
.dot{
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.30);
  cursor: pointer;
}
.dot.active{
  background: rgba(110, 231, 255, 0.95);
  width: 18px;
}

.section{
  padding: 76px 0;
}
.section-muted{
  background: rgba(255, 255, 255, 0.03);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

body.mode-light .section-muted{
  background: rgba(15, 23, 42, 0.03);
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.section-kicker{
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.22px;
}

body.mode-light .section-kicker{
  color: rgba(15, 23, 42, 0.72);
  background: rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.14);
}


.section-title{
  margin: 14px 0 10px 0;
  font-size: clamp(26px, 3vw, 38px);
  letter-spacing: -0.4px;
  line-height: 1.14;
}
.section-text{
  margin: 0;
  color: var(--muted);
  max-width: 760px;
}

body.mode-light #about .section-text{
  color: rgba(0, 0, 0, 0.92);
}


.section-header{
  margin-bottom: 26px;
}

.grid-two{
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
  align-items: start;
}

.about-highlights{
  margin-top: 18px;
  display: grid;
  gap: 12px;
}
.highlight{
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel);
}

.highlight-title{
  font-weight: 900;
  margin-bottom: 6px;
}
.highlight-text{
  color: var(--muted);
  font-size: 14px;
}

.about-card{
  border-radius: var(--radius-2);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.about-card-inner{
  padding: 22px;
  display: grid;
  gap: 14px;
}
.about-stat{
  padding: 14px 16px;
  border-radius: var(--radius);
  background: rgba(6, 10, 18, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

body.mode-light .about-stat{
  background: rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(15, 23, 42, 0.14);
}

.about-stat-number{
  font-weight: 950;
  font-size: 18px;
}
.about-stat-label{
  color: var(--muted);
  font-size: 13px;
  margin-top: 2px;
}
.about-card-note{
  color: rgba(255, 255, 255, 0.80);
  font-size: 14px;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: rgba(79, 134, 255, 0.12);
  border: 1px solid rgba(79, 134, 255, 0.18);
}

body.mode-light .about-card-note{
  color: rgba(0, 0, 0, 0.92);
}


.cards{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.card{
  border-radius: var(--radius-2);
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 20px;
  box-shadow: var(--shadow);
}

.card-icon{
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(79, 134, 255, 0.16);
  border: 1px solid rgba(79, 134, 255, 0.20);
  color: rgba(110, 231, 255, 0.95);
  font-weight: 950;
  letter-spacing: 0.2px;
  margin-bottom: 12px;
}

body.mode-light .card-icon{
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(15, 23, 42, 1);
  color: rgba(255, 255, 255, 0.98);
}

.card-title{
  margin: 0 0 8px 0;
  font-size: 18px;
  font-weight: 950;
}
.card-text{
  margin: 0 0 12px 0;
  color: var(--muted);
  font-size: 14px;
}
.card-list{
  margin: 0;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

body.mode-light .card-list{
  color: rgba(15, 23, 42, 0.92);
}

.card-list li{ margin: 6px 0; }

.contact-cards{
  margin-top: 18px;
  display: grid;
  gap: 12px;
}
.contact-card{
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel);
}

.contact-label{
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.2px;
  margin-bottom: 6px;
}
.contact-value{
  font-weight: 850;
  color: rgba(255, 255, 255, 0.92);
}

body.mode-light .contact-label{
  color: rgba(0, 0, 0, 0.92);
}

body.mode-light .contact-value{
  color: rgba(15, 23, 42, 0.92);
}

.form-card{
  border-radius: var(--radius-2);
  border: 1px solid var(--line);
  background: var(--panel-2);
  box-shadow: var(--shadow);
  padding: 22px;
}

.form-title{
  margin: 0 0 12px 0;
  font-size: 18px;
  font-weight: 950;
}
.contact-form{
  display: grid;
  gap: 12px;
}
.field{
  display: grid;
  gap: 6px;
}
.field-label{
  font-size: 12px;
  color: var(--muted);
  font-weight: 850;
  letter-spacing: 0.18px;
}
.field-input{
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(6, 10, 18, 0.35);
  color: rgba(255, 255, 255, 0.92);
  padding: 12px 12px;
  outline: none;
}

body.mode-light .field-input{
  background: rgba(255, 255, 255, 0.75);
  color: rgba(15, 23, 42, 0.92);
}

.field-input:focus{
  border-color: rgba(110, 231, 255, 0.42);
  box-shadow: 0 0 0 3px rgba(110, 231, 255, 0.12);
}
.field-textarea{
  resize: vertical;
  min-height: 140px;
}
.form-note{
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.60);
  font-size: 12px;
}

body.mode-light .form-note{
  color: rgba(15, 23, 42, 0.92);
}


.alert{
  border-radius: 16px;
  padding: 12px 12px;
  margin-bottom: 12px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  font-weight: 800;
  font-size: 13px;
}
.alert-success{
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.22);
  color: rgba(209, 250, 229, 0.92);
}
.alert-error{
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.22);
  color: rgba(254, 226, 226, 0.92);
}

.footer{
  padding: 44px 0 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.10);
}

body.mode-light .footer{
  border-top: 1px solid rgba(15, 23, 42, 0.10);
  background: rgba(15, 23, 42, 0.03);
}

.footer-grid{
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 14px;
  align-items: start;
}
.footer-title{
  font-weight: 950;
  font-size: 16px;
}
.footer-heading{
  font-weight: 950;
  margin-bottom: 8px;
}
.footer-text{
  color: var(--muted);
  font-size: 13px;
  margin: 6px 0;
}

body.mode-light .footer-block .footer-text{
  color: rgba(0, 0, 0, 0.92);
  font-weight: 400;
}

.footer-link{
  color: rgba(110, 231, 255, 0.92);
  font-weight: 850;
  font-size: 13px;
}

body.mode-light .footer-block .footer-text .footer-link{
  color: rgba(0, 0, 0, 0.92);
  font-weight: 400;
  text-decoration: none;
}

body.mode-light .footer-block .footer-text .footer-link:hover{
  text-decoration: underline;
}


body.mode-light .footer-brand .footer-link{
  color: rgba(0, 0, 0, 0.92);
}

.footer-bottom{
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.footer-small{
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
}

@media (max-width: 980px){
  .grid-two{
    grid-template-columns: 1fr;
  }
  .cards{
    grid-template-columns: 1fr;
  }
  .footer-grid{
    grid-template-columns: 1fr 1fr;
  }
  .carousel-slide{
    min-height: 72vh;
  }
}

@media (max-width: 760px){
  .nav-toggle{ display: inline-flex; }
  .nav{
    position: absolute;
    top: 72px;
    right: var(--pad);
    left: var(--pad);
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border-radius: 20px;
    background: rgba(11, 18, 32, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  }
  .nav.open{ display: flex; }
  .nav a{ width: 100%; }
  .carousel-control.prev{ left: 10px; }
  .carousel-control.next{ right: 10px; }
  .carousel-content{
    padding-top: 78px;
  }
  .hero-title{
    max-width: 100%;
  }
  .footer-grid{
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px){
  body.mode-light .nav{
    background: rgba(246, 248, 252, 0.98);
    border: 1px solid rgba(15, 23, 42, 0.12);
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.14);
  }
  body.mode-light .nav a{
    color: rgba(15, 23, 42, 0.72);
  }
  body.mode-light .nav a:hover{
    background: rgba(15, 23, 42, 0.06);
    color: rgba(15, 23, 42, 0.92);
  }
}
.mode-light .alert-text-black {
  color: #000000;
}

