:root {
  --vitral-red: #c9001d;
  --sg-blue: #0056b3;
  --sg-dark: #0f172a;
  --bg-light: #f8fafc;
  --text-primary: #1e293b;
  --text-secondary: #64748b;
  --white: #ffffff;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

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

body {
  font-family: var(--font-family);
  color: var(--text-primary);
  line-height: 1.6;
  background-color: var(--white);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Header */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  height: 80px;
  display: flex;
  align-items: center;
}

.nav-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.logo-vitral {
  height: 32px;
  object-fit: contain;
}

.divider {
  height: 24px;
  width: 1px;
  background-color: #e2e8f0;
}

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

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

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-secondary);
  position: relative;
}

.nav-links a:hover {
  color: var(--sg-blue);
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--sg-blue);
  transition: width 0.3s;
}

.nav-links a:hover::after {
  width: 100%;
}

/* Hero Section */
.hero {
  padding: 160px 2rem 120px;
  background: radial-gradient(circle at top right, rgba(0, 86, 179, 0.03), transparent 40%),
    radial-gradient(circle at bottom left, rgba(201, 0, 29, 0.03), transparent 40%);
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.hero-text {
  max-width: 580px;
}

.tagline {
  display: inline-block;
  background: #eff6ff;
  color: var(--sg-blue);
  padding: 0.5rem 1rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 2rem;
  border: 1px solid #dbeafe;
}

.hero h1 {
  font-size: 3.25rem;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  font-weight: 800;
  letter-spacing: -1.5px;
  color: var(--sg-dark);
}

.hero h1 span {
  background: linear-gradient(135deg, var(--sg-blue), var(--vitral-red));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-img {
  width: 100%;
  max-width: 600px;
  border-radius: 20px;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: var(--white);
}

/* Features Features */
.features {
  padding: 120px 2rem;
  background: var(--white);
}

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

.section-header h2 {
  font-size: 2.5rem;
  color: var(--sg-dark);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 1rem;
}

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

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 8rem;
  /* Space between items (one below another) */
  max-width: 1000px;
  margin: 0 auto;
}

/* Individual Feature Card */
.feature-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 2rem;
  border-radius: 30px;
  transition: transform 0.3s ease;
}

/* Vertical Stacking: Alternating Layout */
.feature-card:nth-child(even) {
  direction: rtl;
  /* Hack to swap columns visually */
}

.feature-card:nth-child(even) .feature-content {
  direction: ltr;
  /* Reset text direction */
}

.feature-content {
  padding: 1rem;
}

.feature-number {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--vitral-red);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
  display: block;
}

.feature-title {
  font-size: 2rem;
  color: var(--sg-dark);
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.2;
}

.feature-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.feature-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.5rem;
  background: var(--white);
  color: var(--sg-blue);
  font-weight: 600;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}

.feature-btn:hover {
  background: #eff6ff;
  border-color: #dbeafe;
  color: #004494;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.feature-image-wrapper {
  background: var(--bg-light);
  padding: 2rem;
  border-radius: 20px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.03);
  display: flex;
  justify-content: center;
  align-items: center;
}

.feature-image-wrapper img {
  width: 100%;
  max-width: 450px;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  transition: transform 0.3s ease;
}

.feature-card:hover .feature-image-wrapper img {
  transform: scale(1.02);
}


/* Footer */
footer {
  background: var(--sg-dark);
  color: var(--white);
  padding: 5rem 2rem 3rem;
  margin-top: 4rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.footer-brands {
  display: inline-flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brands img {
  height: 36px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.footer-brands .divider {
  background-color: rgba(255, 255, 255, 0.2);
  height: 20px;
}

.footer-brands .logo-sg-text {
  color: var(--white);
}

.footer-brands .logo-sg-text span {
  color: #94a3b8;
}

.contact-info p {
  color: #94a3b8;
  margin-bottom: 0.5rem;
}

.copyright {
  margin-top: 3rem;
  font-size: 0.85rem;
  color: #64748b;
}

/* Responsive */
@media (max-width: 968px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

  .hero-text {
    margin: 0 auto;
  }

  .feature-card,
  .feature-card:nth-child(even) {
    grid-template-columns: 1fr;
    text-align: center;
    direction: ltr;
    gap: 2rem;
    padding: 0;
  }

  .feature-content {
    order: 2;
  }

  .feature-image-wrapper {
    order: 1;
    padding: 1rem;
  }

  .nav-links {
    display: none;
    /* Consider hamburger menu for refinement, but keeping simple for now */
  }

  .hero {
    padding-top: 120px;
  }
}