/* Dayforce Services Group - Professional Stylesheet */
:root {
  --navy: #0B1F3A;
  --navy-dark: #061525;
  --navy-light: #1A365D;
  --gold: #C9A227;
  --gold-light: #E8C547;
  --gold-dark: #A8841A;
  --gray-900: #1A202C;
  --gray-700: #4A5568;
  --gray-500: #718096;
  --gray-300: #CBD5E0;
  --gray-100: #F7FAFC;
  --white: #FFFFFF;
  --success: #38A169;
  --error: #E53E3E;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --radius: 8px;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  line-height: 1.6;
  color: var(--gray-900);
  background: var(--white);
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.5rem); }
h4 { font-size: 1.125rem; }

.lead {
  font-size: 1.25rem;
  color: var(--gray-700);
  max-width: 700px;
}

.text-gold { color: var(--gold); }
.text-navy { color: var(--navy); }
.text-muted { color: var(--gray-500); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.btn-primary:hover {
  background: var(--navy-light);
  border-color: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-gold {
  background: var(--gold);
  color: var(--navy-dark);
  border-color: var(--gold);
}

.btn-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline-white:hover {
  background: var(--white);
  color: var(--navy);
}

/* Header / Navigation */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  border-bottom: 1px solid var(--gray-300);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo img {
  height: 48px;
  width: auto;
}

.logo-text {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.5px;
}

.logo-text span {
  color: var(--gold);
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav a {
  padding: 8px 16px;
  font-weight: 500;
  color: var(--gray-700);
  border-radius: 6px;
  font-size: 0.95rem;
}

.nav a:hover,
.nav a.active {
  color: var(--navy);
  background: var(--gray-100);
}

.nav a.active {
  font-weight: 600;
  color: var(--navy);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
  transition: var(--transition);
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, var(--navy-light) 100%);
  color: var(--white);
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201, 162, 39, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero-badge {
  display: inline-block;
  background: rgba(201, 162, 39, 0.2);
  color: var(--gold-light);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 20px;
  border: 1px solid rgba(201, 162, 39, 0.3);
}

.hero h1 {
  color: var(--white);
  margin-bottom: 20px;
}

.hero .lead {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 24px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.stat-item h3 {
  color: var(--gold);
  font-size: 2rem;
  margin-bottom: 4px;
}

.stat-item p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

/* Sections */
.section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 48px;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header p {
  color: var(--gray-700);
  font-size: 1.125rem;
}

.bg-light {
  background: var(--gray-100);
}

.bg-navy {
  background: var(--navy);
  color: var(--white);
}

.bg-navy h2,
.bg-navy h3 {
  color: var(--white);
}

/* Cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.card {
  background: var(--white);
  border-radius: 12px;
  padding: 32px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--gray-300);
  height: 100%;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}

.card-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--gold);
  font-size: 1.5rem;
}

.card h3 {
  margin-bottom: 12px;
}

.card p {
  color: var(--gray-700);
  font-size: 0.95rem;
}

.card ul {
  margin-top: 16px;
}

.card ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  color: var(--gray-700);
  font-size: 0.9rem;
}

.card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: bold;
}

/* Features / Detailed Services */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 64px;
}

.feature-row:nth-child(even) {
  direction: rtl;
}

.feature-row:nth-child(even) > * {
  direction: ltr;
}

.feature-content h3 {
  margin-bottom: 16px;
}

.feature-content p {
  color: var(--gray-700);
  margin-bottom: 16px;
}

.feature-list {
  margin-top: 20px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  color: var(--gray-700);
}

.feature-list li::before {
  content: '';
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  margin-top: 8px;
}

.feature-visual {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: 16px;
  padding: 40px;
  color: var(--white);
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feature-visual h4 {
  color: var(--gold);
  margin-bottom: 12px;
}

/* CTA */
.cta {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  padding: 80px 0;
  text-align: center;
  color: var(--white);
}

.cta h2 {
  color: var(--white);
  margin-bottom: 16px;
}

.cta p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  margin: 0 auto 32px;
  font-size: 1.125rem;
}

/* About / Trust */
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
  margin-top: 40px;
}

.trust-item {
  text-align: center;
}

.trust-item strong {
  display: block;
  font-size: 1.75rem;
  color: var(--gold);
}

.trust-item span {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Contact Form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
}

.contact-info h3 {
  margin-bottom: 16px;
}

.contact-info p {
  color: var(--gray-700);
  margin-bottom: 24px;
}

.contact-details {
  margin-top: 24px;
}

.contact-details li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}

.contact-details .icon {
  width: 40px;
  height: 40px;
  background: var(--gray-100);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  flex-shrink: 0;
}

.form-card {
  background: var(--white);
  border-radius: 12px;
  padding: 36px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-300);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition);
  background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(11, 31, 58, 0.15);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 24px;
}

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

.checkbox-group label {
  font-size: 0.9rem;
  color: var(--gray-700);
  font-weight: 400;
  line-height: 1.5;
  cursor: pointer;
}

.checkbox-group a {
  color: var(--navy);
  text-decoration: underline;
  font-weight: 500;
}

.checkbox-group a:hover {
  color: var(--gold-dark);
}

.form-note {
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-top: 12px;
}

/* Footer */
.footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand img {
  height: 44px;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 300px;
}

.footer h4 {
  color: var(--white);
  margin-bottom: 20px;
  font-size: 1rem;
}

.footer ul li {
  margin-bottom: 10px;
}

.footer ul a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.footer ul a:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 0.875rem;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-bottom a:hover {
  color: var(--gold);
}

/* Privacy page */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h2 {
  margin-top: 40px;
  margin-bottom: 16px;
}

.legal-content h3 {
  margin-top: 28px;
  margin-bottom: 12px;
}

.legal-content p,
.legal-content ul {
  margin-bottom: 16px;
  color: var(--gray-700);
}

.legal-content ul {
  padding-left: 24px;
}

.legal-content ul li {
  list-style: disc;
  margin-bottom: 8px;
}

/* Page header for inner pages */
.page-header {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  color: var(--white);
  padding: 60px 0;
  text-align: center;
}

.page-header h1 {
  color: var(--white);
  margin-bottom: 12px;
}

.page-header p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto;
}

/* Breadcrumb */
.breadcrumb {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 12px;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.8);
}

.breadcrumb a:hover {
  color: var(--gold);
}

/* Responsive */
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .feature-row {
    grid-template-columns: 1fr;
  }
  .feature-row:nth-child(even) {
    direction: ltr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 16px;
    box-shadow: var(--shadow-lg);
    border-top: 1px solid var(--gray-300);
  }
  .nav.open {
    display: flex;
  }
  .nav a {
    width: 100%;
    padding: 12px 16px;
  }
  .mobile-toggle {
    display: block;
  }
  .header-inner {
    position: relative;
  }
  .hero {
    padding: 60px 0 80px;
  }
  .section {
    padding: 60px 0;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-actions {
    flex-direction: column;
  }
  .hero-actions .btn {
    width: 100%;
  }
}

/* Utility */
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.text-center { text-align: center; }

/* Success message for form */
.form-success {
  display: none;
  background: #F0FFF4;
  border: 1px solid #9AE6B4;
  color: #276749;
  padding: 16px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  text-align: center;
}

.form-success.show {
  display: block;
}
