
/* ========================================
   PATIK STUDIOS - CLIENT & PROJECT PORTAL
======================================== */

:root {
  --background: #041321;
  --navy: #061e38;
  --panel: #0b2539;
  --cyan: #00d7e7;
  --cyan-light: #9bf5ff;
  --white: #ffffff;
  --muted: #b5c7d6;
  --border: #244358;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--background);
  color: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
input {
  font: inherit;
}

[hidden] {
  display: none !important;
}


/* ========================================
   APPLICATION HEADER
======================================== */

.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 15px 5%;
  min-height: 95px;
  background: #051727;
  border-bottom: 1px solid var(--cyan);
}

.brand {
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand img {
  width: 180px;
  height: auto;
}

.brand span {
  border-left: 1px solid var(--cyan);
  padding-left: 22px;
  font-size: 19px;
  font-weight: 600;
}

.back-link {
  color: var(--cyan);
  font-size: 15px;
  border: 1px solid var(--cyan);
  padding: 10px 18px;
  border-radius: 7px;
  transition: background 0.2s;
}

.back-link:hover {
  background: rgba(0, 215, 231, 0.1);
}


/* ========================================
   MAIN WELCOME LAYOUT
======================================== */

.welcome-layout {
  width: min(1450px, 92%);
  margin: 45px auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  align-items: start;
  gap: 55px;
  flex: 1;
}

.welcome-content {
  padding: 15px 0;
}

.eyebrow {
  color: var(--cyan);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 3px;
}

.welcome-heading h1 {
  margin: 16px 0 20px;
  font-size: clamp(32px, 3.4vw, 52px);
  line-height: 1.15;
  letter-spacing: -1px;
}

.welcome-heading p {
  color: var(--muted);
  font-size: 18px;
  max-width: 700px;
  margin-bottom: 28px;
}


/* ========================================
   ARCHITECTURAL IMAGE
======================================== */

.welcome-image {
  border: 1px solid var(--cyan);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.25);
}

.welcome-image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}


/* ========================================
   PLATFORM FEATURES
======================================== */

.platform-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-top: 25px;
}

.feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  text-align: center;
  padding: 22px 15px;
  background: linear-gradient(
    135deg,
    #0b2539,
    #061725
  );
  border: 1px solid var(--border);
  border-radius: 10px;
}

.feature svg {
  width: 38px;
  height: 38px;
  fill: none;
  stroke: var(--cyan-light);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature h3 {
  font-size: 16px;
  line-height: 1.4;
  margin: 0 0 8px;
}

.feature p {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
}


/* ========================================
   ACCOUNT PANEL
======================================== */

.account-panel {
  background: linear-gradient(
    145deg,
    #0b2539,
    #071b2b
  );
  border: 1px solid var(--cyan);
  border-radius: 16px;
  padding: 35px 40px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.account-brand {
  text-align: center;
  margin-bottom: 30px;
}

.account-brand img {
  width: 280px;
  margin: 0 auto;
}

.account-brand p {
  color: var(--muted);
  font-size: 14px;
  font-style: italic;
  margin: 5px 0;
}

.auth-panel h2 {
  font-size: 28px;
  line-height: 1.3;
  margin: 0 0 8px;
  text-align: center;
}

.auth-description {
  font-size: 16px;
  color: var(--muted);
  margin: 0 0 28px;
  text-align: center;
}


/* ========================================
   LOGIN & REGISTRATION FORMS
======================================== */

fieldset {
  border: none;
  padding: 0;
  margin: 0;
  min-width: 0;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-field label {
  font-size: 15px;
  font-weight: 600;
}

.form-field input {
  width: 100%;
  min-height: 52px;
  background: #061725;
  color: var(--white);
  border: 1px solid #426075;
  border-radius: 7px;
  padding: 12px 15px;
  font-size: 16px;
  outline: none;
  transition: border-color 0.2s;
}

.form-field input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 8px rgba(0, 215, 231, 0.15);
}

.form-field input::placeholder {
  color: #849aac;
  font-size: 14px;
}

.form-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 5px 0 25px;
}

.remember-option {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
}

.remember-option input {
  accent-color: var(--cyan);
  width: 16px;
  height: 16px;
}

.text-button {
  padding: 0;
  border: none;
  background: transparent;
  color: var(--cyan);
  font-size: 14px;
  cursor: pointer;
}


/* ========================================
   APPLICATION BUTTONS
======================================== */

.button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  padding: 12px 20px;
  border-radius: 7px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.2s;
}

.primary-button {
  background: var(--cyan);
  color: #041321;
  border: 1px solid var(--cyan);
}

.primary-button:hover:not(:disabled) {
  background: #72f4ff;
}

.secondary-button {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--cyan);
}

.secondary-button:hover {
  background: rgba(0, 215, 231, 0.12);
}

button:disabled,
input:disabled {
  cursor: not-allowed;
}

button:disabled {
  opacity: 0.55;
}


/* ========================================
   ACCOUNT DIVIDER
======================================== */

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 25px 0;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  height: 1px;
  background: var(--border);
  flex: 1;
}


/* ========================================
   DEVELOPMENT NOTICE
======================================== */

.development-notice {
  margin-top: 25px;
  padding: 12px 15px;
  background: rgba(0, 215, 231, 0.05);
  border: 1px solid var(--border);
  border-radius: 7px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}


/* ========================================
   FOOTER
======================================== */

.app-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 5%;
  background: #03101c;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px;
}

.app-footer p {
  margin: 0;
}

.app-footer a {
  color: var(--cyan);
}


/* ========================================
   TABLET RESPONSIVE DESIGN
======================================== */

@media (max-width: 1100px) {

  .welcome-layout {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .account-panel {
    padding: 28px;
  }

  .platform-features {
    grid-template-columns: 1fr;
  }

  .feature {
    flex-direction: row;
    text-align: left;
  }

  .feature svg {
    flex-shrink: 0;
  }

  .auth-panel h2 {
    font-size: 25px;
  }

}


/* ========================================
   MOBILE RESPONSIVE DESIGN
======================================== */

@media (max-width: 750px) {

  .app-header {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    padding: 15px;
  }

  .brand {
    justify-content: center;
    gap: 12px;
  }

  .brand img {
    width: 135px;
  }

  .brand span {
    font-size: 13px;
    padding-left: 12px;
  }

  .welcome-layout {
    grid-template-columns: 1fr;
    margin: 25px auto;
    gap: 30px;
  }

  .account-panel {
    grid-row: 1;
    padding: 25px 20px;
  }

  .account-brand img {
    width: 230px;
  }

  .welcome-heading {
    text-align: center;
  }

  .welcome-heading h1 {
    font-size: 34px;
  }

  .welcome-heading p {
    font-size: 16px;
  }

  .form-options {
    flex-wrap: wrap;
  }

  .app-footer {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

}