/* ==========================================================================
   PLATINUM ENTERPRISES - CORE DESIGN SYSTEM & COMMON STYLES
   Domain: platinumenterprises.online
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700&display=swap');

:root {
  /* Brand Palette */
  --navy-primary: #10233E;
  --navy-dark: #0A1628;
  --navy-light: #1B365D;
  --navy-accent: #234B80;
  
  --platinum-silver: #D9D9D9;
  --platinum-light: #F0F2F5;
  --platinum-dark: #A6ADBA;
  
  --pure-white: #FFFFFF;
  --off-white: #F8FAFC;
  
  --gold-accent: #C9A227;
  --gold-hover: #D8B237;
  --gold-light: rgba(201, 162, 39, 0.15);

  /* Status Colors */
  --success: #10B981;
  --error: #EF4444;
  --warning: #F59E0B;

  /* Typography */
  --font-primary: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Elevation & Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-bg-light: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(217, 217, 217, 0.15);
  --glass-border-light: rgba(16, 35, 62, 0.1);
  --shadow-sm: 0 4px 6px -1px rgba(10, 22, 40, 0.05), 0 2px 4px -1px rgba(10, 22, 40, 0.03);
  --shadow-md: 0 10px 25px -3px rgba(10, 22, 40, 0.08), 0 4px 6px -2px rgba(10, 22, 40, 0.04);
  --shadow-lg: 0 20px 40px -5px rgba(10, 22, 40, 0.15);

  /* Layout & Transitions */
  --max-width: 1280px;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  background-color: var(--navy-dark);
  color: var(--pure-white);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--pure-white);
}

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

ul {
  list-style: none;
}

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

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

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

.section-title-group {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 4rem;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.1rem;
  background: var(--gold-light);
  color: var(--gold-accent);
  border: 1px solid rgba(201, 162, 39, 0.3);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.section-heading {
  font-size: 2.75rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.section-heading span {
  color: var(--gold-accent);
}

.section-subheading {
  font-size: 1.15rem;
  color: var(--platinum-silver);
  font-weight: 400;
}

/* Button Components */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.95rem 2.2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
  text-align: center;
}

.btn-primary {
  background-color: var(--gold-accent);
  color: var(--navy-dark);
  box-shadow: 0 4px 15px rgba(201, 162, 39, 0.3);
}

.btn-primary:hover {
  background-color: var(--gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(201, 162, 39, 0.45);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--pure-white);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--pure-white);
  transform: translateY(-2px);
}

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

.btn-outline:hover {
  background: var(--gold-accent);
  color: var(--navy-dark);
}

/* Glassmorphism Cards */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 2.5rem;
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.glass-card:hover {
  border-color: rgba(201, 162, 39, 0.5);
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(10, 22, 40, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(217, 217, 217, 0.1);
  transition: all var(--transition-fast);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 85px;
}

.logo-group {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.logo-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--gold-accent), #8E6E12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--navy-dark);
  box-shadow: 0 4px 12px rgba(201, 162, 39, 0.3);
}

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

.logo-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--pure-white);
  line-height: 1.1;
}

.logo-subtitle {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold-accent);
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--platinum-silver);
  position: relative;
  padding: 0.4rem 0;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-accent);
  transition: width var(--transition-fast);
}

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

/* User Greeting Badge inside Navbar */
.nav-auth-group {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.user-badge {
  display: none;
  align-items: center;
  gap: 0.6rem;
  background: rgba(201, 162, 39, 0.15);
  border: 1px solid rgba(201, 162, 39, 0.3);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold-accent);
}

.btn-logout {
  display: none;
  background: rgba(239, 68, 68, 0.15);
  color: #F87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
  padding: 0.4rem 0.9rem;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-logout:hover {
  background: #EF4444;
  color: var(--pure-white);
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2.5px;
  background-color: var(--pure-white);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

/* ==========================================================================
   UNIVERSAL FORM STYLES
   ========================================================================== */
.form-group {
  margin-bottom: 1.5rem;
  width: 100%;
}

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--pure-white);
}

.form-control {
  width: 100%;
  display: block;
  padding: 0.95rem 1.2rem;
  font-family: var(--font-primary);
  font-size: 1rem;
  color: var(--navy-dark);
  border: 1px solid var(--platinum-dark);
  border-radius: 8px;
  background: var(--pure-white);
  transition: all var(--transition-fast);
  box-sizing: border-box;
}

.form-control:focus {
  outline: none;
  border-color: var(--gold-accent);
  box-shadow: 0 0 0 4px rgba(201, 162, 39, 0.25);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin: 1.5rem 0;
  background: rgba(201, 162, 39, 0.1);
  padding: 1.2rem;
  border-radius: 8px;
  border: 1px solid rgba(201, 162, 39, 0.3);
}

.checkbox-group input[type="checkbox"] {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  accent-color: var(--gold-accent);
  cursor: pointer;
  flex-shrink: 0;
}

.checkbox-group label {
  font-size: 0.88rem;
  color: var(--pure-white);
  line-height: 1.6;
  cursor: pointer;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background-color: #060D18;
  border-top: 1px solid rgba(217, 217, 217, 0.1);
  padding-top: 5rem;
  color: var(--platinum-silver);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3.5rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(217, 217, 217, 0.1);
}

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

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 3px;
  background: var(--gold-accent);
  border-radius: 2px;
}

.footer-about p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--platinum-silver);
  margin-top: 1.25rem;
}

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

.footer-links a {
  font-size: 0.95rem;
  color: var(--platinum-silver);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-links a:hover {
  color: var(--gold-accent);
  transform: translateX(4px);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
  font-size: 0.92rem;
  line-height: 1.6;
}

.footer-contact-item svg {
  color: var(--gold-accent);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom {
  padding: 2rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--platinum-dark);
}

.footer-legal-links {
  display: flex;
  gap: 1.5rem;
}

.footer-legal-links a:hover {
  color: var(--gold-accent);
}

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

.toast {
  background: var(--navy-primary);
  border: 1px solid var(--gold-accent);
  color: var(--pure-white);
  padding: 1.2rem 1.6rem;
  border-radius: 12px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 320px;
  max-width: 420px;
  animation: slideInRight 0.35s ease forwards;
}

.toast.error {
  border-color: var(--error);
}

.toast.success {
  border-color: var(--success);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
  .section-heading {
    font-size: 2.25rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }

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

  .section-heading {
    font-size: 1.9rem;
  }

  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 85px;
    right: -100%;
    width: 85%;
    max-width: 380px;
    height: calc(100vh - 85px);
    background: var(--navy-primary);
    flex-direction: column;
    align-items: flex-start;
    padding: 3rem 2rem;
    gap: 1.5rem;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    transition: right var(--transition-normal);
    overflow-y: auto;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-link {
    font-size: 1.15rem;
    width: 100%;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(217, 217, 217, 0.1);
  }

  .nav-auth-group {
    flex-direction: column;
    width: 100%;
    margin-top: 1rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
