@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;0,700;1,400&display=swap');

:root {
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-card: #ffffff;
  --border-color: #e2e8f0;
  --accent-primary: #2563eb;
  --accent-secondary: #1d4ed8;
  --accent-gradient: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --shadow-main: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
  --transition-smooth: all 0.3s ease;
}

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

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

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

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header & Navigation */
body > header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.logo span {
  color: var(--accent-primary);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
  align-items: center;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
}

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

.btn-cta {
  background: var(--accent-primary);
  color: #ffffff;
  padding: 10px 24px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
}

.btn-cta:hover {
  background: var(--accent-secondary);
  transform: translateY(-1px);
}

/* Corporate Hero */
.hero {
  padding: 100px 0 60px;
  text-align: center;
  background: radial-gradient(circle at top right, rgba(37, 99, 235, 0.05), transparent 60%);
  border-bottom: 1px solid var(--border-color);
}

.hero-tag {
  display: inline-block;
  background: rgba(37, 99, 235, 0.08);
  color: var(--accent-primary);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 3.2rem;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

.hero h1 span {
  color: var(--accent-primary);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.65;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin: 60px 0;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 40px 30px;
  transition: var(--transition-smooth);
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(37, 99, 235, 0.3);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.04);
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.service-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(37, 99, 235, 0.08);
  color: var(--accent-primary);
  border-radius: 8px;
  margin-bottom: 24px;
}

.service-icon svg {
  width: 24px;
  height: 24px;
}

/* Benchmarks Table */
.benchmark-section {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 48px;
  margin: 80px 0;
}

.benchmark-section h2 {
  font-size: 1.85rem;
  margin-bottom: 8px;
}

.benchmark-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 30px;
  text-align: left;
}

.benchmark-table th {
  background: rgba(0, 0, 0, 0.02);
  padding: 18px;
  font-weight: 700;
  color: var(--text-primary);
  border-bottom: 2px solid var(--border-color);
}

.benchmark-table td {
  padding: 18px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-secondary);
}

.benchmark-table tr:hover td {
  background: rgba(0, 0, 0, 0.01);
}

.benchmark-table tr:last-child td {
  border-bottom: none;
}

/* Cards & Articles */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
}

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-4px);
  border-color: rgba(37, 99, 235, 0.3);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.04);
}

.blog-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.blog-card-content {
  padding: 30px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-content h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  line-height: 1.4;
}

.blog-card-content p {
  color: var(--text-secondary);
  margin-bottom: 24px;
  font-size: 0.95rem;
  flex-grow: 1;
}

.blog-meta {
  display: flex;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Article Detail Content */
.article-content {
  max-width: 800px;
  margin: 60px auto;
  font-size: 1.15rem;
  line-height: 1.85;
  color: var(--text-secondary);
}

.article-content h2 {
  font-size: 1.8rem;
  margin-top: 48px;
  margin-bottom: 18px;
  color: var(--text-primary);
}

.article-content p {
  margin-bottom: 28px;
}

/* Footer Section */
footer {
  background: var(--text-primary);
  color: #94a3b8;
  padding: 80px 0 40px;
  margin-top: 120px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
}

.footer-title {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 14px;
}

.footer-links a {
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 30px;
  font-size: 0.9rem;
  color: #64748b;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .hero h1 {
    font-size: 2.5rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}

/* Legal, About, and FAQ Page Layouts */
.legal-container {
  padding: 60px 0;
  max-width: 800px;
  margin: 0 auto;
}
.legal-container h2 {
  font-size: 1.65rem;
  margin-top: 40px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 10px;
  color: var(--text-primary);
}
.legal-container h3 {
  font-size: 1.25rem;
  margin-top: 30px;
  margin-bottom: 12px;
  color: var(--text-primary);
}
.legal-container p {
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.8;
}

/* FAQ Accordion Style */
.faq-item {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 28px;
  margin-bottom: 20px;
  transition: var(--transition-smooth);
}
.faq-item:hover {
  border-color: rgba(37, 99, 235, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.02);
}
.faq-item h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--text-primary);
}
.faq-item p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Contact Page Inputs */
.contact-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 40px;
  max-width: 600px;
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: var(--shadow-main);
}
.form-group {
  margin-bottom: 24px;
}
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: var(--text-primary);
}
.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  background: #ffffff;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}
.form-input:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}