:root{
  --green-900:#042f24;
  --green-850:#06392b;
  --green-800:#0a4a36;
  --green-700:#116846;
  --green-600:#1f8a53;
  --green-500:#45a74d;
  --green-400:#73c24c;
  --white:#ffffff;
  --off-white:#f6f7f5;
  --panel:#fcfcfb;
  --line:#e7e9e6;
  --text:#17212b;
  --muted:#7b838d;
  --shadow:0 25px 60px rgba(16,24,40,.08);
  --radius-xl:28px;
  --radius-lg:20px;
  --radius-md:14px;
}

*{
  box-sizing:border-box;
}

html,body{
  margin:0;
  padding:0;
  font-family:'Inter',sans-serif;
  background:var(--off-white);
  color:var(--text);
}

body{
  min-height:100vh;
}

button,
input{
  font:inherit;
}

a{
  text-decoration:none;
}

.login-page{
  min-height:100vh;
  display:grid;
  grid-template-columns:1fr 1fr;
}

.login-brand-panel{
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at 20% 15%, rgba(115,194,76,.14), transparent 26%),
    radial-gradient(circle at 80% 25%, rgba(69,167,77,.12), transparent 30%),
    linear-gradient(180deg, #03261d 0%, #063426 52%, #082b20 100%);
  color:var(--white);
  display:flex;
  align-items:stretch;
  justify-content:center;
}

.brand-overlay{
  position:absolute;
  inset:0;
  background:
    linear-gradient(135deg, rgba(255,255,255,.02), transparent 30%),
    radial-gradient(circle at 50% 100%, rgba(0,0,0,.25), transparent 45%);
  pointer-events:none;
}

.brand-content{
  position:relative;
  z-index:1;
  width:min(720px, 100%);
  padding:52px 48px 36px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  min-height:100vh;
}

.brand-logo-wrap{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:14px;
}

.brand-logo-circle{
  width:74px;
  height:74px;
  color:#ffffff;
}

.brand-logo-circle svg{
  width:100%;
  height:100%;
}

.brand-name{
  font-size:44px;
  font-weight:800;
  line-height:1;
  letter-spacing:-.04em;
}

.brand-name-dark{
  color:#ffffff;
}

.brand-name-light{
  color:var(--green-400);
}

.brand-copy{
  margin-top:32px;
  max-width:520px;
}

.brand-copy h1{
  margin:0 0 18px;
  font-size:72px;
  line-height:.98;
  letter-spacing:-.05em;
  font-weight:800;
}

.brand-copy h1 span{
  color:var(--green-400);
}

.brand-copy p{
  margin:0;
  max-width:470px;
  font-size:19px;
  line-height:1.65;
  color:rgba(255,255,255,.88);
}

.brand-features{
  margin-top:42px;
  display:flex;
  flex-direction:column;
  gap:24px;
  max-width:500px;
}

.feature-item{
  display:grid;
  grid-template-columns:60px 1fr;
  gap:18px;
  align-items:start;
}

.feature-icon{
  width:60px;
  height:60px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:rgba(38,125,77,.28);
  color:#baf17d;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05);
}

.feature-icon svg{
  width:28px;
  height:28px;
}

.feature-item h3{
  margin:0 0 8px;
  font-size:30px;
  line-height:1.15;
  font-weight:700;
  color:#ffffff;
}

.feature-item p{
  margin:0;
  font-size:19px;
  line-height:1.6;
  color:rgba(255,255,255,.86);
}

.device-mockup{
  margin-top:28px;
  display:flex;
  justify-content:flex-end;
  position:relative;
}

.tablet-frame{
  width:430px;
  max-width:100%;
  background:#111;
  border-radius:28px;
  padding:14px;
  box-shadow:
    0 30px 50px rgba(0,0,0,.35),
    inset 0 1px 0 rgba(255,255,255,.04);
  transform:perspective(1200px) rotateX(8deg) rotateY(-18deg) rotateZ(2deg);
  transform-origin:center;
}

.tablet-screen{
  background:linear-gradient(180deg, #183126 0%, #0b1d17 100%);
  border-radius:20px;
  overflow:hidden;
  padding:16px;
}

.tablet-topbar{
  display:flex;
  align-items:center;
  gap:8px;
  margin-bottom:14px;
}

.tablet-dot{
  width:8px;
  height:8px;
  border-radius:999px;
  background:#9fe26c;
}

.tablet-title{
  font-size:12px;
  color:#d4ddcf;
  font-weight:600;
}

.tablet-tabs{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-bottom:14px;
}

.tablet-tabs span{
  font-size:11px;
  color:#d9e6d3;
  background:rgba(255,255,255,.08);
  padding:6px 10px;
  border-radius:999px;
}

.tablet-tabs .active{
  background:#7dc95a;
  color:#0d1c14;
  font-weight:700;
}

.tablet-body{
  display:grid;
  grid-template-columns:1fr 124px;
  gap:12px;
}

.tablet-list{
  background:rgba(255,255,255,.9);
  border-radius:16px;
  padding:10px;
  display:flex;
  flex-direction:column;
  gap:10px;
}

.tablet-item{
  display:grid;
  grid-template-columns:52px 1fr;
  gap:10px;
  align-items:center;
}

.tablet-item img{
  width:52px;
  height:52px;
  border-radius:12px;
  object-fit:cover;
}

.tablet-item strong{
  display:block;
  font-size:12px;
  color:#121212;
  margin-bottom:2px;
}

.tablet-item small{
  display:block;
  font-size:10px;
  color:#6f767d;
  margin-bottom:4px;
}

.tablet-item b{
  font-size:12px;
  color:#134f31;
}

.tablet-qr-box{
  background:#f5f0e8;
  border-radius:16px;
  padding:10px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
}

.fake-qr{
  width:74px;
  height:74px;
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:4px;
  margin-bottom:10px;
}

.fake-qr span{
  background:#111;
  border-radius:2px;
}

.tablet-qr-box p{
  margin:0;
  font-size:10px;
  text-align:center;
  color:#111;
  font-weight:700;
}

.wind-glow{
  position:absolute;
  right:90px;
  border-radius:50%;
  filter:blur(10px);
  pointer-events:none;
}

.wind-glow-1{
  top:140px;
  width:240px;
  height:240px;
  border-top:3px solid rgba(177,255,151,.3);
  border-right:3px solid transparent;
  border-left:3px solid transparent;
  border-bottom:3px solid transparent;
  transform:rotate(26deg);
}

.wind-glow-2{
  top:230px;
  width:320px;
  height:320px;
  border-top:3px solid rgba(177,255,151,.26);
  border-right:3px solid transparent;
  border-left:3px solid transparent;
  border-bottom:3px solid transparent;
  transform:rotate(34deg);
}

.wind-glow-3{
  top:345px;
  width:360px;
  height:360px;
  border-top:3px solid rgba(177,255,151,.24);
  border-right:3px solid transparent;
  border-left:3px solid transparent;
  border-bottom:3px solid transparent;
  transform:rotate(40deg);
}

.login-form-panel{
  background:#f7f8f6;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  padding:40px 36px 26px;
}

.login-card{
  width:min(620px, 100%);
  background:rgba(255,255,255,.75);
  border:1px solid rgba(20,30,20,.06);
  box-shadow:var(--shadow);
  border-radius:28px;
  padding:54px 50px 42px;
}

.login-card-head{
  text-align:center;
  margin-bottom:34px;
}

.login-card-head h2{
  margin:0 0 14px;
  font-size:32px;
  line-height:1.15;
  letter-spacing:-.03em;
  color:#182332;
}

.login-card-head p{
  margin:0;
  color:#8a9098;
  font-size:18px;
  line-height:1.6;
}

.login-form{
  display:flex;
  flex-direction:column;
  gap:22px;
}

.form-group{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.form-group label{
  font-size:17px;
  font-weight:500;
  color:#2d3742;
}

.input-wrap{
  position:relative;
  display:flex;
  align-items:center;
}

.input-icon{
  position:absolute;
  left:18px;
  width:22px;
  height:22px;
  color:#9aa1a9;
  display:grid;
  place-items:center;
}

.input-icon svg{
  width:22px;
  height:22px;
}

.input-wrap input{
  width:100%;
  height:60px;
  border:1.5px solid #e0e4df;
  background:#fcfcfb;
  border-radius:14px;
  padding:0 52px 0 54px;
  font-size:17px;
  color:#24303b;
  outline:none;
  transition:border-color .2s ease, box-shadow .2s ease;
}

.input-wrap input:focus{
  border-color:#5aa253;
  box-shadow:0 0 0 4px rgba(90,162,83,.12);
}

.input-wrap input::placeholder{
  color:#9aa1a9;
}

.password-toggle{
  position:absolute;
  right:16px;
  width:24px;
  height:24px;
  padding:0;
  border:none;
  background:transparent;
  color:#8f969d;
  cursor:pointer;
}

.password-toggle svg{
  width:24px;
  height:24px;
}

.form-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin-top:2px;
}

.checkbox-wrap{
  display:flex;
  align-items:center;
  gap:10px;
  font-size:16px;
  color:#4a545f;
  cursor:pointer;
}

.checkbox-wrap input{
  width:18px;
  height:18px;
  accent-color:#348a46;
}

.forgot-link{
  color:#348a46;
  font-size:16px;
  font-weight:500;
}

.login-btn{
  margin-top:8px;
  height:60px;
  border:none;
  border-radius:14px;
  background:linear-gradient(90deg, #1d6d3f 0%, #4ba946 100%);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:14px;
  font-size:22px;
  font-weight:700;
  cursor:pointer;
  box-shadow:0 18px 34px rgba(38,117,61,.18);
  transition:transform .2s ease, filter .2s ease;
}

.login-btn:hover{
  transform:translateY(-1px);
  filter:brightness(1.02);
}

.login-btn svg{
  width:24px;
  height:24px;
}

.login-footer{
  margin-top:34px;
  text-align:center;
}

.login-footer p{
  margin:0;
  color:#66707a;
  font-size:17px;
}

.login-footer a{
  color:#348a46;
  font-weight:600;
}

.copyright{
  margin-top:38px;
  color:#97a0a7;
  font-size:15px;
  text-align:center;
}

@media (max-width: 1200px){
  .brand-copy h1{
    font-size:58px;
  }

  .feature-item h3{
    font-size:24px;
  }

  .feature-item p,
  .brand-copy p{
    font-size:16px;
  }

  .tablet-frame{
    width:360px;
  }
}

@media (max-width: 980px){
  .login-page{
    grid-template-columns:1fr;
  }

  .brand-content{
    min-height:auto;
    padding:36px 22px 26px;
  }

  .brand-copy h1{
    font-size:44px;
  }

  .device-mockup{
    justify-content:center;
  }

  .wind-glow{
    display:none;
  }

  .login-form-panel{
    padding:22px 16px 28px;
  }

  .login-card{
    padding:32px 22px 26px;
  }

  .login-card-head h2{
    font-size:28px;
  }

  .login-card-head p{
    font-size:16px;
  }
}

@media (max-width: 640px){
  .brand-name{
    font-size:34px;
  }

  .brand-copy h1{
    font-size:38px;
  }

  .feature-item{
    grid-template-columns:48px 1fr;
    gap:14px;
  }

  .feature-icon{
    width:48px;
    height:48px;
  }

  .feature-item h3{
    font-size:19px;
  }

  .tablet-frame{
    transform:none;
    width:100%;
  }

  .tablet-body{
    grid-template-columns:1fr;
  }

  .tablet-qr-box{
    min-height:110px;
  }

  .form-row{
    flex-direction:column;
    align-items:flex-start;
  }

  .login-btn{
    font-size:19px;
  }
}

