/* ==========================================================================
   VTN GROUP - MAIN CSS DESIGN SYSTEM
   ========================================================================== */

/* Typography & Global Resets */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--vtn-text);
  background-color: var(--vtn-light);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: var(--vtn-light);
}

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--vtn-primary);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

h1 { font-size: clamp(2.3rem, 4.2vw, 3.8rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.85rem, 3.2vw, 2.7rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.8rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }

p {
  margin-bottom: 1.25rem;
  color: var(--vtn-muted);
  font-size: 1.05rem;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.container-narrow {
  max-width: 960px;
}

.section {
  padding: 5.5rem 0;
  position: relative;
}

.section-lg {
  padding: 7.5rem 0;
}

.bg-light { background-color: var(--vtn-sand); }
.bg-dark { background-color: var(--vtn-dark); color: #ffffff; }
.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4 { color: #ffffff; font-family: var(--font-heading); }
.bg-dark p { color: #d6ccbe; }

/* Section Header Component */
.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 3.8rem auto;
}

.section-subtitle {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #1d4ed8;
  margin-bottom: 0.85rem;
  background: rgba(37, 99, 235, 0.1);
  padding: 6px 18px;
  border-radius: 50px;
  border: 1px solid rgba(37, 99, 235, 0.25);
}

.section-title {
  margin-bottom: 1rem;
  font-family: var(--font-heading);
}

.section-desc {
  font-size: 1.15rem;
  color: var(--vtn-muted);
}

/* Buttons System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
}

.btn-primary {
  background-color: var(--vtn-primary);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: var(--vtn-primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: var(--vtn-secondary);
  color: #ffffff;
}

.btn-secondary:hover {
  background-color: var(--vtn-secondary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

.btn-outline:hover {
  background-color: var(--vtn-primary);
  color: #ffffff;
}

.btn-outline-white {
  border-color: rgba(255, 255, 255, 0.4);
  color: #ffffff;
  background: transparent;
}

.btn-outline-white:hover {
  border-color: #ffffff;
  background: #ffffff;
  color: var(--vtn-dark);
}

.btn-lg {
  padding: 1.1rem 2.5rem;
  font-size: 1.1rem;
  border-radius: 10px;
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
}

/* Grid Layouts */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
