/* GLOBAL STYLE SHEET - NEXTGEN ENTERPRISES (nextgenenterprises.shop) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800;900&display=swap');

:root {
  /* Theme Colors */
  --primary: #111827;
  --secondary: #1E40AF;
  --accent: #06B6D4;
  --highlight: #8B5CF6;
  --bg-main: #F8FAFC;
  --bg-dark: #0F172A;
  --text-main: #111827;
  --text-muted: #475569;
  --white: #FFFFFF;
  --border-color: #E2E8F0;
  
  /* Fonts */
  --font-title: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacers & Radii */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);

  /* Glassmorphism & glows */
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.4);
  --shadow-sm: 0 2px 8px rgba(17, 24, 39, 0.04);
  --shadow-md: 0 10px 30px -10px rgba(17, 24, 39, 0.08);
  --shadow-lg: 0 20px 40px -15px rgba(17, 24, 39, 0.12);
  --glow-cyan: 0 0 20px rgba(6, 182, 212, 0.25);
  --glow-purple: 0 0 20px rgba(139, 92, 246, 0.25);
}

/* RESETS */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  color: var(--text-main);
  font-weight: 800;
  line-height: 1.2;
}

/* LAYOUT CONTAINER */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-padding {
  padding: 8.5rem 0;
}

/* STICKY HEADER */
.sticky-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(248, 250, 252, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 1000;
  border-bottom: 1px solid rgba(30, 64, 175, 0.08);
  transition: var(--transition);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
  transition: var(--transition);
}

/* BRAND LOGO */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.logo-badge {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
  color: var(--white);
  font-family: var(--font-title);
  font-weight: 900;
  font-size: 1.3rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3);
}

.logo-text-wrapper {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--primary);
  font-family: var(--font-title);
  letter-spacing: -0.02em;
}

.logo-sub {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  font-weight: 700;
}

/* NAVIGATION MENU */
.nav-menu {
  display: flex;
  gap: 2.2rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--secondary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--highlight) 100%);
  transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

/* NAV AUTH */
.nav-auth {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

#userGreetingNav {
  display: none;
  align-items: center;
  gap: 0.8rem;
  font-weight: 700;
  color: var(--secondary);
}

.btn-logout {
  font-size: 0.8rem;
  color: #EF4444;
  cursor: pointer;
  font-weight: 700;
}

.btn-nav-login {
  color: var(--primary);
  font-weight: 700;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-sm);
}

.btn-nav-register {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
  color: var(--white);
  font-weight: 700;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 14px rgba(30, 64, 175, 0.2);
}

.btn-nav-register:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(6, 182, 212, 0.35);
}

/* HAMBURGER */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.nav-hamburger span {
  width: 100%;
  height: 3px;
  background-color: var(--primary);
  border-radius: 4px;
  transition: var(--transition);
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.4rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(6, 182, 212, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(6, 182, 212, 0.4);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent) 0%, var(--highlight) 100%);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(139, 92, 246, 0.25);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(139, 92, 246, 0.4);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: rgba(17, 24, 39, 0.05);
  transform: translateY(-2px);
}

/* GLASSMORPHISM CARD */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.glass-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(6, 182, 212, 0.35);
  background: rgba(255, 255, 255, 0.85);
}

/* FORM ELEMENTS */
.form-group {
  margin-bottom: 1.6rem;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 0.95rem 1.3rem;
  font-size: 0.95rem;
  font-family: var(--font-body);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--text-main);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.15);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin: 1.4rem 0;
}

.checkbox-group input[type="checkbox"] {
  margin-top: 0.35rem;
  width: 18px;
  height: 18px;
  accent-color: var(--secondary);
  cursor: pointer;
}

.checkbox-group label {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  cursor: pointer;
  user-select: none;
}

/* TOAST INJECTOR */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.toast {
  background: var(--primary);
  color: var(--white);
  padding: 1.1rem 1.8rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  gap: 0.9rem;
  transform: translateY(25px);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.4s ease;
  border: 1px solid rgba(6, 182, 212, 0.2);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast span:first-child {
  color: var(--accent);
  font-size: 1.25rem;
}

/* FOOTER */
.site-footer {
  background: var(--primary);
  color: #94A3B8;
  padding: 6.5rem 0 3.5rem 0;
  font-size: 0.95rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr 0.8fr 1.1fr;
  gap: 4.5rem;
  margin-bottom: 5rem;
}

.footer-brand p {
  line-height: 1.7;
  margin-top: 1.2rem;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 1.6rem;
  position: relative;
  padding-bottom: 0.6rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 2.5px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--highlight) 100%);
}

.footer-links li {
  margin-bottom: 0.9rem;
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 5px;
}

.footer-contact-list li {
  margin-bottom: 1.2rem;
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
}

.footer-contact-list li span:first-child {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2.5rem;
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
}

/* SCROLLBAR AESTHETIC */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-main);
}

::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 20px;
  border: 2.5px solid var(--bg-main);
}

::-webkit-scrollbar-thumb:hover {
  background: #94A3B8;
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
  }
}

@media (max-width: 768px) {
  .nav-hamburger {
    display: flex;
  }
  .nav-menu {
    position: fixed;
    top: 90px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 90px);
    background: var(--bg-main);
    flex-direction: column;
    padding: 3rem 2rem;
    gap: 2rem;
    transition: var(--transition);
    border-top: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
  }
  .nav-menu.mobile-open {
    left: 0;
  }
  .nav-auth {
    display: none; /* In mobile drawer instead */
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  .section-padding {
    padding: 5.5rem 0;
  }
}
