@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  --color-black: #111111;
  --color-dark-gray: #222222;
  --color-text: #333333;
  --color-gray: #666666;
  --color-light-gray: #F4F5F7;
  --color-white: #FFFFFF;
  --color-border: #EAEAEA;
  --color-blue: #0A58CA;
  --transition: all 0.2s ease-in-out;
}

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

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

a {
  text-decoration: none;
  color: inherit;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 4%;
  background-color: var(--color-white);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--color-border);
}

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

.snowflake-icon {
  width: 24px;
  height: 24px;
  color: var(--color-black);
}

.logo-text {
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 1px;
  color: var(--color-black);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2.5rem;
}

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

nav a:hover {
  color: var(--color-black);
}

nav a.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-black);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  border-radius: 50px;
  transition: var(--transition);
  cursor: pointer;
}

.btn-black {
  background-color: var(--color-black);
  color: var(--color-white);
  padding: 0.6rem 1.5rem;
  font-size: 0.9rem;
}

.btn-black-large {
  background-color: var(--color-black);
  color: var(--color-white);
  padding: 0.8rem 1.8rem;
  font-size: 1rem;
}

.btn-black:hover, .btn-black-large:hover {
  background-color: var(--color-dark-gray);
  transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #FDFDFD 0%, #F5F5F5 100%);
  padding: 0;
  min-height: 80vh;
}

.hero-content {
  flex: 1;
  padding: 4rem 6%;
}

.hero-overline {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-blue);
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.hero-content h1 {
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--color-black);
  margin-bottom: 1.5rem;
}

.hero-content p {
  font-size: 1.1rem;
  color: var(--color-gray);
  margin-bottom: 2.5rem;
  max-width: 450px;
}

.hero-slider-dots {
  display: flex;
  gap: 8px;
  margin-top: 3rem;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #D1D5DB;
  transition: var(--transition);
}

.dot.active {
  background-color: var(--color-black);
  width: 24px;
  border-radius: 4px;
}

.hero-image {
  flex: 1;
  height: 80vh;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Solutions Section */
.solutions-section {
  padding: 5rem 4%;
  background-color: var(--color-light-gray);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--color-black);
  letter-spacing: -0.02em;
}

.view-all {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-gray);
  transition: var(--transition);
}

.view-all:hover {
  color: var(--color-black);
}

/* Grid & Cards */
.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.product-card {
  background-color: var(--color-white);
  border-radius: 12px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  border: 1px solid var(--color-border);
  box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0,0,0,0.05);
}

.card-img-wrapper {
  width: 100%;
  height: 180px;
  margin-bottom: 1.25rem;
  border-radius: 8px;
  overflow: hidden;
  background-color: var(--color-light-gray);
}

.card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-meta {
  display: flex;
  flex-direction: column;
  margin-bottom: 0.5rem;
}

.card-number {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-blue);
  margin-bottom: 0.25rem;
}

.card-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-black);
  line-height: 1.2;
}

.card-desc {
  font-size: 0.85rem;
  color: var(--color-gray);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.card-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: auto;
}

.card-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--color-gray);
  background-color: var(--color-white);
  transition: var(--transition);
}

.product-card:hover .card-arrow {
  background-color: var(--color-black);
  color: var(--color-white);
  border-color: var(--color-black);
}

/* Features Section */
.features-section {
  padding: 0 4%;
  background-color: var(--color-light-gray);
}

.features-grid {
  background-color: var(--color-white);
  border-radius: 16px;
  padding: 2.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
  margin-top: -2rem; /* Pull up slightly into solutions section */
  position: relative;
  z-index: 2;
  margin-bottom: 3rem;
}

.feature-item {
  display: flex;
  gap: 1rem;
}

.feature-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background-color: rgba(10, 88, 202, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-blue);
}

.feature-icon svg {
  width: 20px;
  height: 20px;
}

.feature-text h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-black);
  margin-bottom: 0.25rem;
}

.feature-text p {
  font-size: 0.8rem;
  color: var(--color-gray);
  line-height: 1.4;
}

/* Stats Section */
.stats-section {
  background-color: #1A1C20;
  color: var(--color-white);
  padding: 3rem 4%;
  margin: 0 4% 4rem;
  border-radius: 16px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.stat-icon {
  color: rgba(255,255,255,0.7);
  width: 32px;
  height: 32px;
}

.stat-info h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
  line-height: 1;
}

.stat-info p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}

/* Industries Section */
.industries-section {
  padding: 0 4% 4rem;
}

.industries-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text);
  box-shadow: 0 2px 4px rgba(0,0,0,0.02);
  transition: var(--transition);
  cursor: pointer;
}

.pill svg {
  width: 16px;
  height: 16px;
  color: var(--color-blue);
}

.pill:hover {
  border-color: var(--color-blue);
  color: var(--color-blue);
  box-shadow: 0 4px 8px rgba(10, 88, 202, 0.1);
}

/* CTA Section */
.cta-section {
  margin: 0 4% 4rem;
  padding: 4rem;
  background: linear-gradient(135deg, #F8F9FA 0%, #E9ECEF 100%);
  border-radius: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cta-content h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-black);
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.cta-content p {
  font-size: 1rem;
  color: var(--color-gray);
}

/* Responsive */
@media (max-width: 1200px) {
  .hero-content h1 {
    font-size: 3.5rem;
  }
  .grid, .features-grid, .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  .hero-section {
    flex-direction: column;
    text-align: center;
  }
  .hero-content {
    padding: 4rem 5%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-content p {
    margin: 0 auto 2rem;
  }
  .hero-image {
    width: 100%;
    height: 50vh;
  }
  .grid, .features-grid, .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cta-section {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
    padding: 3rem 2rem;
  }
  nav ul {
    gap: 1.5rem;
  }
  .features-grid {
    margin-top: 0;
  }
}

@media (max-width: 768px) {
  header {
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.5rem 5%;
  }
  nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.25rem;
  }
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .grid, .features-grid, .stats-grid {
    grid-template-columns: 1fr;
  }
  .hero-content h1 {
    font-size: 2.8rem;
  }
  .stat-item {
    justify-content: center;
  }
  .industries-pills {
    justify-content: center;
  }
  .footer-main {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  .social-links {
    justify-content: center;
  }
  .contact-item {
    justify-content: center;
    text-align: left;
  }
  .newsletter-form {
    flex-direction: column;
  }
  .newsletter-form button {
    padding: 0.75rem 0;
  }
  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }
  .footer-legal {
    justify-content: center;
    flex-wrap: wrap;
  }
}

/* Footer */
.footer-complex {
  background-color: #F8F9FA;
  border-top: 1px solid var(--color-border);
  padding: 0;
}

.footer-main {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1fr 1fr 1.5fr;
  padding: 4rem 4%;
}

.footer-col {
  padding: 0 2rem;
  border-right: 1px solid var(--color-border);
}

.footer-col:first-child {
  padding-left: 0;
}

.footer-col:last-child {
  padding-right: 0;
  border-right: none;
}

/* Brand Column */
.brand-col .logo {
  margin-bottom: 1rem;
}

.logo-subline {
  display: block;
  font-size: 0.6rem;
  color: var(--color-gray);
  letter-spacing: 1px;
}

.brand-col p {
  color: var(--color-gray);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  max-width: 90%;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--color-black);
  color: var(--color-black);
  transition: var(--transition);
}

.social-links a:hover {
  background-color: var(--color-black);
  color: var(--color-white);
}

.social-links svg {
  width: 16px;
  height: 16px;
}

/* Common Footer Headings */
.footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-black);
  margin-bottom: 1.5rem;
}

/* Contact Column */
.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
  color: var(--color-gray);
  font-size: 0.9rem;
  align-items: flex-start;
}

.contact-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Links Columns */
.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.85rem;
  font-size: 0.9rem;
  color: var(--color-gray);
}

.footer-col ul li a:hover {
  color: var(--color-blue);
}

/* Newsletter Column */
.newsletter-col p {
  font-size: 0.9rem;
  color: var(--color-gray);
  margin-bottom: 1.25rem;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
}

.newsletter-form input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  font-size: 0.9rem;
  outline: none;
}

.newsletter-form input:focus {
  border-color: var(--color-black);
}

.newsletter-form button {
  background-color: var(--color-black);
  color: var(--color-white);
  border: none;
  border-radius: 4px;
  padding: 0 1rem;
  cursor: pointer;
  font-size: 1.2rem;
  transition: var(--transition);
}

.newsletter-form button:hover {
  background-color: var(--color-blue);
}

/* Footer Bottom Dark */
.footer-bottom-dark {
  background-color: #0A1118;
  color: #A0AAB2;
  padding: 1.5rem 4%;
  font-size: 0.85rem;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-legal {
  display: flex;
  gap: 1rem;
}

.footer-legal a:hover {
  color: var(--color-white);
}

.sep {
  color: #4A5562;
}

@media (max-width: 1200px) {
  .footer-main {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
  .footer-col {
    padding: 0;
    border-right: none;
  }
}
