﻿:root {
  --primary-orange: #FF6600;
  --primary-orange-hover: #E65C00;
  --dark-blue: #28394B;
  --darker-blue: #0b1221;
  --text-dark: #1a1a1a;
  --text-gray: #5a6b82;
  --text-light: #ffffff;
  --bg-light: #ffffff;
  --bg-gray: #f8f9fc;
  --border-color: #e2e8f0;
  --border-radius: 8px;
  --border-radius-lg: 16px;
  --transition-speed: 0.3s;
  
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-family);
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-speed);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark-blue);
}

h1 {
  font-size: clamp(2rem, 3.5vw, 3rem); /* Strict golden ratio scale relative to base/header */
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.text-orange {
  color: var(--primary-orange) !important;
}

.text-blue {
  color: var(--dark-blue) !important;
}

.text-gray {
  color: var(--text-gray);
}

p {
  margin-bottom: 1.5rem;
  color: var(--text-gray);
  font-size: 1.125rem;
}

/* Layout Containers */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 6rem 0;
}

.text-center {
  text-align: center;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.875rem 1.75rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
  border: 2px solid transparent;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--primary-orange);
  color: var(--text-light);
  border-color: var(--primary-orange);
}

.btn-primary:hover {
  background-color: var(--primary-orange-hover);
  border-color: var(--primary-orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 102, 0, 0.25);
  color: var(--text-light);
}

.btn-outline {
  background-color: transparent;
  color: var(--dark-blue);
  border-color: var(--dark-blue);
}

.btn-outline:hover {
  background-color: var(--dark-blue);
  color: var(--text-light);
  transform: translateY(-2px);
}

.btn-outline-gray {
  background-color: transparent;
  color: var(--text-dark);
  border-color: var(--border-color);
  font-weight: 500;
}

.btn-outline-gray:hover {
  border-color: var(--text-gray);
  background-color: var(--bg-gray);
}

.btn-link {
  color: var(--primary-orange);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0;
  border: none;
  background: none;
}

.btn-link::after {
  content: "ÃƒÂ¢Ã¢â‚¬Â Ã¢â‚¬â„¢";
  transition: transform var(--transition-speed);
}

.btn-link:hover::after {
  transform: translateX(4px);
}

/* Header */
.header {
  background-color: var(--dark-blue);
  color: var(--text-light);
  padding: 1.5rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-links a {
  color: var(--text-light);
  font-weight: 500;
  position: relative;
}

.nav-links a.active {
  color: var(--primary-orange);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary-orange);
}

.nav-links a:hover {
  color: var(--primary-orange);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #f8f9fc 0%, #eef2f6 100%);
  position: relative;
  overflow: hidden;
  padding-top: 4rem;
  padding-bottom: 6rem;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../images/hero-bg-buildings.png') no-repeat bottom center;
  background-size: cover;
  opacity: 0.3;
  pointer-events: none;
  z-index: 1;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  color: var(--dark-blue);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-gray);
  margin-bottom: 2rem;
  max-width: 90%;
}

.hero-slogan {
  font-weight: 700;
  color: var(--dark-blue);
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

.hero-graphic {
  position: relative;
  z-index: 2;
}

.ai-network {
  position: relative;
  width: 100%;
  padding-bottom: 100%;
}

.ai-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-gray);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  border: 4px solid var(--bg-gray);
  z-index: 10;
}

.ai-node {
  position: absolute;
  width: 64px;
  height: 64px;
  background: white;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  border: 2px solid var(--border-color);
  font-size: 1.5rem;
  color: var(--text-gray);
  z-index: 5;
}

.node-1 { top: 15%; left: 50%; transform: translateX(-50%); }
.node-2 { top: 35%; right: 10%; }
.node-3 { bottom: 20%; right: 25%; }
.node-4 { bottom: 35%; left: 10%; }

.ai-lines svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* Features Overview */
.features {
  background-color: var(--bg-light);
  border-bottom: 1px solid var(--border-color);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.feature-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.feature-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-orange);
}

.feature-icon svg {
  width: 100%;
  height: 100%;
}

.feature-content h3 {
  margin-bottom: 0.5rem;
  color: var(--dark-blue);
}

.feature-content p {
  font-size: 1rem;
  margin-bottom: 0;
}

/* Products Section */
.products {
  background-color: var(--bg-gray);
}

.section-header {
  margin-bottom: 3rem;
}

.section-subtitle {
  color: var(--primary-orange);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.section-title-underline {
  width: 40px;
  height: 3px;
  background-color: var(--primary-orange);
  margin: 1rem auto 0;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.product-card {
  background: var(--bg-light);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem;
  box-shadow: 0 10px 40px rgba(0,0,0,0.04);
  transition: transform var(--transition-speed), box-shadow var(--transition-speed);
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

.product-image {
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  background: #f1f5f9;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image svg {
  width: 100%;
  height: auto;
  max-width: 300px;
}

.product-info {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.product-header .feature-icon {
  width: 32px;
  height: 32px;
}

.product-info h3 {
  margin-bottom: 0;
  font-size: 1.5rem;
}

.product-info p {
  flex-grow: 1;
  font-size: 1rem;
}

.view-all-wrapper {
  text-align: center;
}

/* Footer */
.footer {
  background-color: var(--dark-blue);
  color: var(--text-light);
  padding: 3rem 0 2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-cta h2 {
  color: var(--text-light);
}

.footer-cta p {
  color: #a0aec0;
  margin-bottom: 1.5rem;
}

.footer-contact ul {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #e2e8f0;
}

.footer-contact i, .footer-contact svg {
  color: var(--primary-orange);
  width: 20px;
  height: 20px;
}

.footer-brand .logo {
  margin-bottom: 1rem;
}

.footer-brand p {
  color: #a0aec0;
  font-size: 0.9rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #a0aec0;
  font-size: 0.875rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a:hover {
  color: var(--primary-orange);
}

/* Responsive */
@media (max-width: 992px) {
  .section {
    padding: 4rem 0;
  }
  
  .hero {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
  
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
  
  .hero-subtitle {
    margin: 0 auto 1.5rem;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 3rem 0;
  }

  .nav-links {
    display: none; /* simple mobile menu hidden for now */
  }
  
  .features-grid, .products-grid, .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .product-card {
    padding: 1.5rem;
  }
}

/* Extra utility classes for split sections and responsive forms */
.split-section > .container,
.container.split-section {
    display: grid !important;
    gap: 4rem;
}

@media (max-width: 992px) {
    .split-section > .container,
    .container.split-section {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
}
