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

/* CSS Variables & Design System */
:root {
  --color-primary-navy: #0f1c3f;      /* Trustworthy Corporate Navy */
  --color-primary-navy-dark: #0a122c; /* Deep Background Navy */
  --color-accent-teal: #00a998;       /* ACC Signature Teal */
  --color-accent-orange: #e26600;     /* Accent Call-To-Action Orange */
  
  --color-bg-light: #f8fafc;          /* Off-white background */
  --color-bg-white: #ffffff;
  --color-bg-card: rgba(255, 255, 255, 0.9);
  
  --color-text-dark: #1e293b;         /* Slate 800 */
  --color-text-medium: #475569;       /* Slate 600 */
  --color-text-light: #f8fafc;        /* Slate 50 */
  --color-text-muted: #94a3b8;        /* Slate 400 */
  
  --font-headings: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 0 20px rgba(0, 169, 152, 0.15);
  --shadow-orange-glow: 0 8px 20px rgba(226, 102, 0, 0.35);
  
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 24px;
}

/* Reset & Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--color-text-dark);
  background-color: var(--color-bg-light);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headings);
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-primary-navy);
}

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

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
  position: relative;
}

.section-dark {
  background-color: var(--color-primary-navy-dark);
  color: var(--color-text-light);
}

.section-dark h2, .section-dark h3 {
  color: var(--color-text-light);
}

.text-center {
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 16px;
  position: relative;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--color-text-medium);
  max-width: 600px;
  margin: 0 auto 60px auto;
}

.section-dark .section-subtitle {
  color: var(--color-text-muted);
}

/* Button Component */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
  gap: 8px;
}

.btn-primary {
  background-color: var(--color-accent-orange);
  color: var(--color-text-light);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background-color: #f77d1a;
  transform: translateY(-2px);
  box-shadow: var(--shadow-orange-glow);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-primary-navy);
  border: 2px solid var(--color-primary-navy);
}

.btn-secondary:hover {
  background-color: var(--color-primary-navy);
  color: var(--color-text-light);
  transform: translateY(-2px);
}

.btn-dark-secondary {
  background-color: transparent;
  color: var(--color-text-light);
  border: 2px solid var(--color-accent-teal);
}

.btn-dark-secondary:hover {
  background-color: var(--color-accent-teal);
  color: var(--color-primary-navy-dark);
  transform: translateY(-2px);
}

.btn-block {
  display: flex;
  width: 100%;
}

/* Header & Glassmorphic Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-smooth);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-scrolled {
  background-color: rgba(15, 28, 63, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px 0;
}

.header:not(.header-scrolled) {
  padding: 24px 0;
  background-color: rgba(15, 28, 63, 0.4);
}

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

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

.logo-text {
  font-family: var(--font-headings);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--color-text-light);
  letter-spacing: -0.5px;
}

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

.logo-img {
  height: 40px;
  width: auto;
}

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

.nav-link {
  font-family: var(--font-headings);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--color-text-light);
  opacity: 0.85;
}

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

.header-btn {
  padding: 10px 20px;
  font-size: 0.85rem;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  width: 100%;
  height: 2px;
  background-color: var(--color-text-light);
  transition: var(--transition-smooth);
}

/* Hero Section */
.hero {
  position: relative;
  background: radial-gradient(circle at top right, rgba(0, 169, 152, 0.1), transparent 45%),
              linear-gradient(135deg, var(--color-primary-navy-dark) 0%, #080d1e 100%);
  padding: 180px 0 120px 0;
  color: var(--color-text-light);
  overflow: hidden;
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-content h1 {
  font-size: 3.5rem;
  color: var(--color-text-light);
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

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

.hero-content p {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  margin-bottom: 40px;
  line-height: 1.6;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-graphic {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-graphic::before {
  content: '';
  position: absolute;
  width: 140%;
  height: 140%;
  background: radial-gradient(circle, rgba(0, 169, 152, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.hero-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  width: 100%;
  max-width: 440px;
  position: relative;
  z-index: 2;
  transform: rotate(2deg);
  animation: floatCard 6s ease-in-out infinite;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0) rotate(2deg); }
  50% { transform: translateY(-10px) rotate(1deg); }
}

.hero-card-stat {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 24px;
  margin-bottom: 24px;
}

.hero-card-stat:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.stat-val {
  font-family: var(--font-headings);
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-accent-teal);
  line-height: 1;
}

.stat-lbl {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 6px;
}

/* Trust Logos */
.trust-bar {
  background-color: var(--color-primary-navy);
  padding: 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  z-index: 10;
  position: relative;
}

.trust-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.trust-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-text-muted);
  font-weight: 600;
}

.trust-logos {
  display: flex;
  align-items: center;
  gap: 48px;
  opacity: 0.55;
}

.trust-logo {
  height: 24px;
  filter: brightness(0) invert(1);
}

/* Boutique Differentiator Section */
.diff-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.diff-content h2 {
  font-size: 2.25rem;
  margin-bottom: 24px;
}

.diff-content p {
  color: var(--color-text-medium);
  font-size: 1.05rem;
  margin-bottom: 24px;
}

.diff-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.diff-card {
  background: var(--color-bg-white);
  padding: 32px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.03);
  transition: var(--transition-smooth);
}

.diff-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 169, 152, 0.2);
}

.diff-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background-color: rgba(0, 169, 152, 0.1);
  color: var(--color-accent-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.diff-card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.diff-card p {
  font-size: 0.875rem;
  color: var(--color-text-medium);
}

/* Categories Grid */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.cat-card {
  background-color: var(--color-bg-white);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.03);
  transition: var(--transition-bounce);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.cat-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--color-accent-teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition-smooth);
}

.cat-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  border-color: rgba(0, 169, 152, 0.15);
}

.cat-card:hover::after {
  transform: scaleX(1);
}

.cat-icon {
  font-size: 2rem;
  margin-bottom: 24px;
  display: inline-block;
  transition: var(--transition-smooth);
}

.cat-card:hover .cat-icon {
  transform: scale(1.1);
}

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

.cat-card p {
  font-size: 0.9rem;
  color: var(--color-text-medium);
  flex-grow: 1;
  margin-bottom: 20px;
}

.cat-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-accent-teal);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
}

.cat-link i {
  transition: var(--transition-smooth);
}

.cat-card:hover .cat-link i {
  transform: translateX(4px);
}

/* AI & Data Analytics Section */
.ai-section {
  background: radial-gradient(circle at bottom left, rgba(0, 169, 152, 0.08), transparent 45%),
              var(--color-primary-navy-dark);
}

.ai-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.ai-graphic {
  position: relative;
}

.ai-graphic-frame {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 12px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(12px);
  overflow: hidden;
}

.ai-image {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  display: block;
}

.ai-content h4 {
  color: var(--color-accent-teal);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
  font-weight: 600;
}

.ai-content h2 {
  font-size: 2.25rem;
  margin-bottom: 24px;
  color: var(--color-text-light);
}

.ai-content p {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  margin-bottom: 32px;
}

.ai-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 40px;
}

.ai-stat-item h5 {
  font-size: 1.75rem;
  color: var(--color-accent-teal);
  margin-bottom: 4px;
}

.ai-stat-item p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 0;
}

/* Client Wins / Case Studies */
.wins-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}

.win-card {
  background-color: var(--color-bg-white);
  border-radius: var(--radius-md);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  position: relative;
}

.win-category {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-accent-teal);
  font-weight: 600;
  margin-bottom: 16px;
}

.win-card h3 {
  font-size: 1.35rem;
  margin-bottom: 16px;
  line-height: 1.3;
}

.win-metric {
  font-family: var(--font-headings);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-primary-navy);
  margin: 16px 0;
  display: flex;
  align-items: baseline;
}

.win-metric span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text-medium);
  margin-left: 8px;
}

.win-card p {
  font-size: 0.9rem;
  color: var(--color-text-medium);
  flex-grow: 1;
}

/* Contact & Final CTA */
.cta-section {
  background: linear-gradient(135deg, var(--color-primary-navy) 0%, var(--color-primary-navy-dark) 100%);
  color: var(--color-text-light);
  text-align: center;
  padding: 120px 0;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(0, 169, 152, 0.1) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.cta-content h2 {
  font-size: 3rem;
  color: var(--color-text-light);
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.cta-content p {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  margin-bottom: 40px;
}

/* Footer */
.footer {
  background-color: #060b18;
  color: var(--color-text-muted);
  padding: 80px 0 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-logo {
  margin-bottom: 24px;
}

.footer-col h4 {
  color: var(--color-text-light);
  font-size: 1rem;
  margin-bottom: 24px;
  font-family: var(--font-headings);
}

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

.footer-link-item {
  margin-bottom: 12px;
}

.footer-link {
  font-size: 0.9rem;
}

.footer-link:hover {
  color: var(--color-accent-teal);
}

.footer-text {
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-info {
  font-size: 0.875rem;
  margin-top: 16px;
}

.footer-info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.footer-info-item i {
  color: var(--color-accent-teal);
  width: 16px;
  text-align: center;
}

.footer-bottom {
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.85rem;
}

.social-links {
  display: flex;
  gap: 16px;
}

.social-link {
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.03);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-light);
}

.social-link:hover {
  background-color: var(--color-accent-teal);
  color: var(--color-primary-navy-dark);
  transform: translateY(-2px);
}

/* Mobile Responsive Adjustments */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 60px;
    text-align: center;
  }
  .hero-content h1 {
    font-size: 3rem;
  }
  .hero-ctas {
    justify-content: center;
  }
  .hero-card {
    margin: 0 auto;
    transform: rotate(0);
    animation: floatCardMobile 6s ease-in-out infinite;
  }
  @keyframes floatCardMobile {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
  }
  .diff-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .ai-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .wins-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 70px 0;
  }
  .section-title {
    font-size: 2rem;
  }
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: var(--color-primary-navy-dark);
    flex-direction: column;
    padding: 100px 40px;
    align-items: flex-start;
    transition: var(--transition-smooth);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.25);
  }
  .nav-menu.active {
    right: 0;
  }
  .hamburger {
    display: flex;
  }
  .hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  .wins-grid {
    grid-template-columns: 1fr;
  }
  .diff-features {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2.25rem;
  }
  .hero-ctas .btn {
    width: 100%;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
