@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');

:root {
  /* Core colors */
  --primary: #234976;
  --primary-dark: #13304f;
  --primary-light: #3767a5;
  --accent: #d9822b;
  --accent-light: #f7b36b;
  
  /* Neutral palette */
  --neutral-50: #f8fafc;
  --neutral-100: #f0f5fa;
  --neutral-200: #e2e8f0;
  --neutral-300: #cbd5e1;
  --neutral-400: #94a3b8;
  --neutral-500: #64748b;
  --neutral-600: #475569;
  --neutral-700: #334155;
  --neutral-800: #1e293b;
  --neutral-900: #0f172a;
  
  /* Status colors */
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --info: #3b82f6;
  
  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-24: 6rem;
  
  /* Typography */
  --font-primary: 'Inter', sans-serif;
  --font-display: 'Playfair Display', serif;
  
  /* Shadow & Effects */
  --border-radius: 0.375rem;
  --border-radius-lg: 0.5rem;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-md: 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);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --max-width: 1200px;
  --transition: all 0.3s ease;
}

/* Base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-primary);
  color: var(--neutral-700);
  line-height: 1.6;
  background-color: var(--neutral-50);
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  margin-bottom: var(--space-4);
  line-height: 1.3;
  color: var(--primary-dark);
}

h1 {
  font-size: 2.75rem;
  font-weight: 700;
}

h2 {
  font-size: 2.25rem;
  font-weight: 600;
  color: var(--primary);
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
}

h4 {
  font-size: 1.25rem;
  font-weight: 600;
}

h5 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary);
}

p, li {
  margin-bottom: 1rem;
  font-size: 1rem;
  color: var(--neutral-700);
}

a {
  color: var(--primary-light);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent);
  text-decoration: underline;
}

strong, b {
  font-weight: 600;
  color: var(--neutral-900);
}

ul, ol {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

/* Layout */
.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--primary);
  box-shadow: var(--shadow-md);
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.35rem;
  font-weight: 700;
  color: white;
}

.logo i {
  color: var(--accent);
  font-size: 1.5rem;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  margin-bottom: 0;
}

.nav-link {
  color: var(--neutral-200);
  font-weight: 500;
  text-decoration: none;
  padding: 0.5rem 0.75rem;
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: white;
  background-color: rgba(255, 255, 255, 0.15);
}

.nav-link i {
  margin-right: 0.5rem;
  color: var(--accent-light);
}

.menu-toggle {
  display: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: white;
}

/* Hero Section */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  padding: 4rem 0;
  text-align: center;
  color: white;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='3'/%3E%3Ccircle cx='13' cy='13' r='3'/%3E%3C/g%3E%3C/svg%3E");
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero h1 {
  color: white;
  font-size: 3rem;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero p {
  color: var(--neutral-100);
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto;
}

/* Main content */
.main {
  padding: 3rem 0;
}

/* Section styling */
.section {
  margin-bottom: 3.5rem;
  padding: 2.5rem;
  background-color: white;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
}

.section-header {
  margin-bottom: 2rem;
  position: relative;
}

.section-header::after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 0;
  width: 120px;
  height: 4px;
  background: linear-gradient(to right, var(--primary), var(--accent));
  border-radius: 4px;
}

/* Highlight box */
.highlight-box {
  background-color: var(--primary-light);
  background: linear-gradient(135deg, rgba(35, 73, 118, 0.1), rgba(55, 103, 165, 0.15));
  border-left: 4px solid var(--primary);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  margin: 2rem 0;
}

.highlight-box h3 {
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.highlight-box h3 i {
  color: var(--accent);
}

.highlight-box p {
  margin-bottom: 0;
}

/* Benefit card */
.benefit-card {
  background-color: var(--neutral-50);
  border-radius: var(--border-radius);
  padding: 1.75rem;
  margin-top: 2rem;
  box-shadow: var(--shadow);
}

.benefit-card h4 {
  margin-bottom: 1.25rem;
  color: var(--primary);
}

.check-list {
  list-style: none;
  padding-left: 0;
}

.check-list li {
  padding-left: 2rem;
  position: relative;
  margin-bottom: 0.75rem;
}

.check-list li:before {
  content: "✅";
  position: absolute;
  left: 0;
}

.highlight-text {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--primary-dark);
  padding: 1rem;
  background-color: rgba(217, 130, 43, 0.1);
  border-radius: var(--border-radius);
}

/* Card Grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.info-card {
  background-color: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow);
  border: 1px solid var(--neutral-200);
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.card-header {
  background: linear-gradient(to right, var(--primary), var(--primary-light));
  color: white;
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.card-header i {
  font-size: 1.5rem;
  color: var(--accent-light);
}

.card-header h3 {
  margin-bottom: 0;
  color: white;
  font-size: 1.3rem;
}

.card-body {
  padding: 1.5rem;
}

.card-body p:last-child {
  margin-bottom: 0;
}

/* Two column layout */
.two-column {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.reason-card {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--neutral-200);
  transition: var(--transition);
}

.reason-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.icon-circle {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background-color: var(--primary-light);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.reason-card h3 {
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.reason-card ul {
  list-style: none;
  padding-left: 0;
}

.reason-card li {
  margin-bottom: 0.75rem;
  position: relative;
  padding-left: 1.5rem;
}

.reason-card li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

/* Report types */
.report-types {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.report-card {
  display: flex;
  background-color: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.report-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.report-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  font-size: 1.75rem;
  color: white;
}

.report-card.clean .report-icon {
  background-color: var(--success);
}

.report-card.qualified .report-icon {
  background-color: var(--warning);
}

.report-card.adverse .report-icon {
  background-color: var(--danger);
}

.report-card.disclaimer .report-icon {
  background-color: var(--info);
}

.report-content {
  padding: 1.25rem;
  flex: 1;
}

.report-content h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  color: var(--primary);
}

.report-content p:last-child {
  margin-bottom: 0;
}

/* GRC Audit Best Practices */
.practices-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.practice {
  position: relative;
  background-color: white;
  border-radius: var(--border-radius);
  padding: 2rem 1.5rem 1.5rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--neutral-200);
}

.practice:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.practice-number {
  position: absolute;
  top: -1rem;
  left: 1.5rem;
  background-color: var(--accent);
  color: white;
  font-weight: 700;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.practice h3 {
  margin-top: 0.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.practice p {
  margin-bottom: 0;
}

/* Audit Lifecycle */
.lifecycle-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.lifecycle-phase {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}

.phase-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  border-radius: 50%;
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: 0.5rem;
  box-shadow: var(--shadow);
}

.phase-content {
  background-color: white;
  padding: 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  flex: 1;
  border-left: 4px solid var(--primary);
}

.phase-content h3 {
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.phase-content ul {
  margin-bottom: 0;
}

.connector {
  margin-left: 1.75rem;
  height: 2rem;
  width: 2px;
  background-color: var(--primary);
}

/* Call to action */
.cta {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  padding: 4rem 0;
  color: white;
  text-align: center;
  margin: 2rem 0;
}

.cta h2 {
  color: white;
  font-size: 2.25rem;
  margin-bottom: 1.25rem;
}

.cta p {
  color: var(--neutral-100);
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: var(--primary);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  border: none;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  text-decoration: none;
  color: white;
}

.btn-large {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.btn-secondary {
  background-color: var(--accent);
  color: white;
}

.btn-secondary:hover {
  background-color: #c67625;
  color: white;
}

.btn i {
  font-size: 0.9em;
}

/* Footer */
.footer {
  background-color: var(--neutral-900);
  color: var(--neutral-300);
  padding: 4rem 0 0;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-section h3 {
  color: white;
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

.footer-section p {
  color: var(--neutral-300);
  margin-bottom: 0.75rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin-bottom: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--neutral-300);
  transition: var(--transition);
}

.footer-links a:hover {
  color: white;
  text-decoration: none;
}

.footer-section i {
  margin-right: 0.5rem;
  color: var(--accent);
}

.footer-bottom {
  margin-top: 4rem;
  padding: 1.5rem 0;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  color: var(--neutral-500);
  font-size: 0.875rem;
  margin: 0;
}

/* Go to top button */
.go-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 3.5rem;
  height: 3.5rem;
  background-color: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
  z-index: 100;
}

.go-to-top.show {
  opacity: 1;
  visibility: visible;
}

.go-to-top:hover {
  background-color: var(--accent);
  transform: translateY(-5px);
  text-decoration: none;
  color: white;
  box-shadow: var(--shadow-lg);
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.content-panel {
  animation: fadeIn 0.5s ease-out;
}

/* Media queries */
@media (max-width: 1024px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .two-column {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .header-container {
    padding: 1rem;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    flex-direction: column;
    background-color: var(--primary-dark);
    padding: 1rem 0;
    gap: 0;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
  }
  
  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .nav-menu li {
    width: 100%;
  }
  
  .nav-link {
    display: block;
    padding: 1rem 2rem;
    border-radius: 0;
  }
  
  .section {
    padding: 1.75rem;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
  
  .card-grid {
    grid-template-columns: 1fr;
  }
  
  .practices-container {
    grid-template-columns: 1fr;
  }
  
  .lifecycle-phase {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .phase-content {
    border-left: none;
    border-top: 4px solid var(--primary);
  }
  
  .connector {
    margin-left: 0;
    height: 2rem;
    width: 2px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
    width: 100%;
  }
  
  .section {
    padding: 1.5rem;
  }
  
  .hero h1 {
    font-size: 1.75rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  h1 {
    font-size: 1.75rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .cta h2 {
    font-size: 1.5rem;
  }
  
  .report-card {
    flex-direction: column;
  }
  
  .report-icon {
    width: 100%;
    padding: 1rem 0;
  }
} 