:root {
  /* New Gradient Color Palette */
  --gradient-color-1: #3EAE2C;  /* Light green */
  --gradient-color-2: #00A65B;  /* Medium green */
  --gradient-color-3: #009B85;  /* Teal green */
  --gradient-color-4: #008EA8;  /* Blue-green */
  --gradient-color-5: #007EBD;  /* Light blue */
  --gradient-color-6: #006CC1;  /* Blue */
  
  /* Legacy green variables mapped to new palette */
  --green: #3EAE2C; 
  --green-dark: #00A65B;
  --green-light: #3EAE2C;
  --accent-blue: #008EA8;
  --accent-purple: #007EBD;
  --accent-pink: #006CC1;
  
  /* Dark Theme Colors (Default) */
  --bg: #0B0C0D; 
  --bg-secondary: #111213;
  --surface: #1A1B1E; 
  --surface-elevated: #212225;
  --border: #2A2B2E;
  --border-light: #3A3B3E;
  --text-primary: #FFFFFF;
  --text-secondary: #A1A1AA;
  --text-muted: #71717A;
}

/* Light Theme Colors */
[data-theme="light"] {
  /* Light Theme Backgrounds */
  --bg: #FAFAFA;                /* Soft warm white background */
  --bg-secondary: #F5F5F5;      /* Slightly darker warm white */
  --surface: #FFFFFF;           /* Pure white for cards */
  --surface-elevated: #F8F9FA;  /* Elevated surface with subtle tint */
  
  /* Light Theme Borders */
  --border: #E5E7EB;            /* Light gray borders */
  --border-light: #F3F4F6;      /* Very light borders */
  
  /* Light Theme Text Colors */
  --text-primary: #111827;      /* Deep dark gray for primary text */
  --text-secondary: #4B5563;    /* Medium gray for secondary text */
  --text-muted: #6B7280;        /* Lighter gray for muted text */
  
  /* Light Theme Specific Colors */
  --card-bg: rgba(255, 255, 255, 0.8);           /* Semi-transparent white */
  --card-bg-hover: rgba(255, 255, 255, 0.95);    /* More opaque on hover */
  --shadow-light: rgba(0, 0, 0, 0.08);           /* Subtle shadows */
  --shadow-medium: rgba(0, 0, 0, 0.12);          /* Medium shadows */
  --shadow-strong: rgba(0, 0, 0, 0.16);          /* Strong shadows */
}

:root {
  /* Legacy variables mapped to new palette */
  --black: var(--bg);
  --white: var(--text-primary);
  --offwhite: var(--text-primary);
  --grid: var(--text-muted);
  --slate: var(--border);
  --tealgray: var(--border-light);
  --ring: rgba(62,174,44,0.35);
  --shadow: rgba(11,12,13,0.6);
  --maxw: 1200px;
  
  /* Gradient definitions */
  --gradient-primary: linear-gradient(135deg, var(--gradient-color-1) 0%, var(--gradient-color-3) 100%);
  --gradient-accent: linear-gradient(135deg, var(--gradient-color-4) 0%, var(--gradient-color-6) 100%);
  --gradient-full: linear-gradient(135deg, 
    var(--gradient-color-1) 0%, 
    var(--gradient-color-2) 20%, 
    var(--gradient-color-3) 40%, 
    var(--gradient-color-4) 60%, 
    var(--gradient-color-5) 80%, 
    var(--gradient-color-6) 100%);
  --gradient-surface: linear-gradient(135deg, var(--surface) 0%, var(--surface-elevated) 100%);
  --gradient-bg: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg) 40%, var(--bg) 100%);
  
  /* Holographic Card Effects */
  --pointer-x: 50%;
  --pointer-y: 50%;
  --pointer-from-center: 0;
  --pointer-from-top: 0.5;
  --pointer-from-left: 0.5;
  --card-opacity: 0;
  --rotate-x: 0deg;
  --rotate-y: 0deg;
  --background-x: 50%;
  --background-y: 50%;
  --grain: none;
  --icon: none;
  --behind-gradient: none;
  --inner-gradient: none;
  --sunpillar-1: hsl(2, 100%, 73%);
  --sunpillar-2: hsl(53, 100%, 69%);
  --sunpillar-3: hsl(93, 100%, 69%);
  --sunpillar-4: hsl(176, 100%, 76%);
  --sunpillar-5: hsl(228, 100%, 74%);
  --sunpillar-6: hsl(283, 100%, 73%);
  --sunpillar-clr-1: var(--sunpillar-1);
  --sunpillar-clr-2: var(--sunpillar-2);
  --sunpillar-clr-3: var(--sunpillar-3);
  --sunpillar-clr-4: var(--sunpillar-4);
  --sunpillar-clr-5: var(--sunpillar-5);
  --sunpillar-clr-6: var(--sunpillar-6);
  --card-radius: 30px;
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: 
    linear-gradient(180deg, 
      var(--bg-secondary) 0%, 
      var(--bg) 30%, 
      var(--bg) 70%, 
      var(--bg-secondary) 100%
    );
  background-attachment: fixed;
  color: var(--text-primary);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Prevent body scroll when mobile menu is open */
body.mobile-menu-open {
  overflow: hidden;
}

/* Light theme body adjustments */
[data-theme="light"] body {
  background: 
    linear-gradient(180deg, 
      var(--bg-secondary) 0%, 
      var(--bg) 30%, 
      var(--bg) 70%, 
      var(--bg-secondary) 100%
    );
}

/* Light Theme Card Styles */
[data-theme="light"] .card,
[data-theme="light"] .tile,
[data-theme="light"] .team-info-card,
[data-theme="light"] .team-card,
[data-theme="light"] .solution-card,
[data-theme="light"] .counting-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  box-shadow: 0 2px 8px var(--shadow-light);
  backdrop-filter: blur(10px);
}

[data-theme="light"] .card:hover,
[data-theme="light"] .tile:hover,
[data-theme="light"] .team-info-card:hover,
[data-theme="light"] .team-card:hover,
[data-theme="light"] .solution-card:hover {
  background: var(--card-bg-hover);
  border-color: var(--gradient-color-1);
  box-shadow: 0 8px 24px var(--shadow-medium);
  transform: translateY(-2px);
}

/* Light Theme Header */
[data-theme="light"] header {
  background: linear-gradient(180deg, 
    rgba(255, 255, 255, 0.95), 
    rgba(248, 249, 250, 0.9)
  );
  border-bottom: 1px solid var(--border);
}

/* Light Theme Form Elements */
[data-theme="light"] .form-group {
  background: var(--surface);
  border: 2px solid var(--border);
}

[data-theme="light"] .form-group:focus-within {
  border-color: var(--gradient-color-1);
  box-shadow: 0 0 0 3px rgba(62, 174, 44, 0.1);
}

/* Theme Toggle Switch */
.theme-toggle-container {
  display: flex;
  align-items: center;
  margin-left: 16px;
}

.theme-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.toggle-track {
  width: 56px;
  height: 28px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  position: relative;
  transition: all 0.3s ease;
}

.toggle-thumb {
  width: 20px;
  height: 20px;
  background: var(--gradient-primary);
  border-radius: 50%;
  position: absolute;
  top: 2px;
  left: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.toggle-thumb svg {
  width: 12px;
  height: 12px;
  stroke: white;
  stroke-width: 2.5;
  transition: all 0.3s ease;
}

.sun-icon {
  opacity: 1;
  transform: rotate(0deg);
}

.moon-icon {
  opacity: 0;
  transform: rotate(180deg);
  position: absolute;
}

/* Light theme toggle styles */
[data-theme="light"] .toggle-track {
  background: rgba(0, 0, 0, 0.1);
  border-color: rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .toggle-thumb {
  transform: translateX(26px);
  background: var(--gradient-primary);
}

[data-theme="light"] .sun-icon {
  opacity: 0;
  transform: rotate(-180deg);
}

[data-theme="light"] .moon-icon {
  opacity: 1;
  transform: rotate(0deg);
}

/* Hover effects */
.theme-toggle:hover .toggle-track {
  border-color: var(--gradient-color-1);
}

.theme-toggle:hover .toggle-thumb {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(62, 174, 44, 0.3);
}

[data-theme="light"] .theme-toggle:hover .toggle-thumb {
  transform: translateX(26px) scale(1.1);
}

/* Additional Light Theme Styles */

[data-theme="light"] .eyebrow {
  color: var(--gradient-color-1);
}

[data-theme="light"] .social-link {
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border);
}

[data-theme="light"] .social-link:hover {
  background: rgba(0, 0, 0, 0.1);
  box-shadow: 0 4px 12px var(--shadow-light);
}

[data-theme="light"] .team-image .avatar {
  border: 2px solid var(--border);
}

[data-theme="light"] .expertise-icon svg {
  stroke: url(#iconGradient);
}

/* Light theme navigation */
[data-theme="light"] .nav-links a {
  color: var(--text-primary);
}

[data-theme="light"] .nav-links a:hover {
  color: var(--gradient-color-1);
  background: rgba(62, 174, 44, 0.08);
  border: 1px solid rgba(62, 174, 44, 0.15);
  box-shadow: 0 4px 12px rgba(62, 174, 44, 0.1);
}

[data-theme="light"] .btn {
  box-shadow: 0 2px 8px var(--shadow-light);
}

[data-theme="light"] .btn:hover {
  box-shadow: 0 4px 16px var(--shadow-medium);
}

/* Light theme for email subscription */
[data-theme="light"] .email-subscription .subscription-text {
  color: var(--text-secondary);
  background: none;
  background-clip: initial;
  -webkit-background-clip: initial;
  -webkit-text-fill-color: initial;
}

/* Light theme transitions */
* {
  transition: background-color 0.3s ease, 
              color 0.3s ease, 
              border-color 0.3s ease, 
              box-shadow 0.3s ease;
}

/* Contact Section Styles */
.contact {
  text-align: center;
  padding: 80px 0;
}

.contact-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  margin-top: 40px;
  align-items: start;
}

.contact-form-container {
  text-align: left;
}

.contact-form {
  background: rgba(20, 21, 24, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 40px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.contact-form:hover {
  border-color: rgba(67, 176, 42, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.03);
  border: 2px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 18px 24px;
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 500;
  font-family: inherit;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  resize: vertical;
  min-height: 56px;
  margin-bottom: 24px;
}

.contact-form textarea {
  min-height: 120px;
  line-height: 1.6;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gradient-color-1);
  box-shadow: 0 0 0 4px rgba(62, 174, 44, 0.08);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--text-secondary);
  opacity: 0.6;
  font-weight: 400;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 24px;
}

.checkbox-group input[type="checkbox"] {
  display: none;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.checkbox-custom {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  background: transparent;
  position: relative;
  transition: all 0.3s ease;
  flex-shrink: 0;
  margin-top: 2px;
}

.checkbox-group input[type="checkbox"]:checked + .checkbox-label .checkbox-custom {
  background: var(--gradient-primary);
  border-color: var(--gradient-color-1);
}

.checkbox-group input[type="checkbox"]:checked + .checkbox-label .checkbox-custom::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 2px;
  width: 4px;
  height: 8px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.contact-submit {
  width: 100%;
  background: var(--gradient-primary);
  border: none;
  border-radius: 12px;
  padding: 18px 24px;
  color: white;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(67, 176, 42, 0.3);
  margin-top: 8px;
}

.contact-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(62, 174, 44, 0.4);
  background: linear-gradient(135deg, var(--gradient-color-1) 0%, var(--gradient-color-2) 100%);
}

.contact-submit svg {
  transition: transform 0.3s ease;
}

.contact-submit:hover svg {
  transform: translateX(2px);
}

/* Contact Info Styles */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-card {
  background: rgba(20, 21, 24, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 32px;
  text-align: left;
  transition: all 0.3s ease;
}

.contact-card:hover {
  border-color: rgba(67, 176, 42, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.contact-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 16px 0;
}

.contact-card p {
  color: var(--text-secondary);
  margin: 0 0 20px 0;
  line-height: 1.6;
}

.contact-email {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
}

.contact-email svg {
  stroke: url(#iconGradient);
  flex-shrink: 0;
}

.contact-email a {
  color: var(--text-primary);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-email a:hover {
  color: var(--gradient-color-1);
}

/* Light Theme Contact Styles */
[data-theme="light"] .contact-form {
  background: var(--card-bg);
  border: 1px solid var(--border);
  box-shadow: 0 2px 8px var(--shadow-light);
}

[data-theme="light"] .contact-form:hover {
  background: var(--card-bg-hover);
  border-color: var(--gradient-color-1);
  box-shadow: 0 8px 24px var(--shadow-medium);
}

[data-theme="light"] .contact-form input,
[data-theme="light"] .contact-form textarea {
  background: var(--surface);
  border: 2px solid var(--border);
  box-shadow: 0 1px 3px var(--shadow-light);
}

[data-theme="light"] .contact-form input:focus,
[data-theme="light"] .contact-form textarea:focus {
  background: var(--surface-elevated);
  border-color: var(--gradient-color-1);
  box-shadow: 0 0 0 4px rgba(62, 174, 44, 0.08), 0 2px 8px var(--shadow-light);
  transform: translateY(-1px);
}

[data-theme="light"] .checkbox-custom {
  border-color: var(--border);
}

[data-theme="light"] .contact-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  box-shadow: 0 2px 8px var(--shadow-light);
}

[data-theme="light"] .contact-card:hover {
  background: var(--card-bg-hover);
  box-shadow: 0 8px 24px var(--shadow-medium);
}

/* Light Theme Counting Numbers */
[data-theme="light"] .counting-number .num {
  color: var(--text-primary);
}

/* Mobile Contact Styles */
@media (max-width: 768px) {
  .contact-content {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 40px;
  }
  
  .contact-form {
    padding: 32px 24px;
  }
  
  .contact-card {
    padding: 24px;
  }
  
  .contact {
    padding: 60px 0;
  }
}
a { color: var(--white); text-decoration: none; }
a:focus { outline: 2px solid var(--green); outline-offset: 2px; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
/* Header */
header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(12px);
  background: linear-gradient(180deg, rgba(11,12,13,0.95), rgba(26,27,30,0.8));
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 0 rgba(255,255,255,0.05);
}

.nav { 
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
  padding: 16px 0; 
  gap: 40px;
  width: 100%;
}

.brand { 
  display: flex; 
  align-items: center; 
  flex-shrink: 0;
}

.brand-logo { 
  height: 40px; 
  width: auto;
  object-fit: contain;
}

/* Logo theme switching */
.brand-logo.logo-light {
  display: none !important;
}

.brand-logo.logo-dark {
  display: block !important;
}

[data-theme="light"] .brand-logo.logo-light {
  display: block !important;
}

[data-theme="light"] .brand-logo.logo-dark {
  display: none !important;
}

.nav-links { 
  display: flex; 
  gap: 40px; 
  align-items: center;
  flex: 1;
  justify-content: center;
}

.nav-links a { 
  color: var(--text-secondary); 
  font-weight: 600; 
  font-size: 15px;
  padding: 12px 20px;
  border-radius: 8px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); 
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.nav-links a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  transition: left 0.6s ease;
}

.nav-links a:hover::before {
  left: 100%;
}

.nav-links a:hover { 
  color: var(--text-primary);
  background: rgba(62, 174, 44, 0.1);
  border: 1px solid rgba(62, 174, 44, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(62, 174, 44, 0.15);
}

.nav-links a:active {
  transform: translateY(0);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

/* Hide mobile menu button on desktop */
.mobile-menu-toggle {
  display: none;
}

.theme-toggle-container {
  display: flex;
  align-items: center;
  margin: 0;
}

.login-btn {
  white-space: nowrap;
}

/* Mobile Header Styles */
@media (max-width: 768px) {
  .nav {
    gap: 16px;
    padding: 12px 0;
    position: relative;
  }
  
  /* Hide navigation links by default on mobile */
  .nav-links {
    position: fixed;
    top: 0;
    left: -110%;
    width: 100%;
    height: 100vh;
    background: var(--bg);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    border-right: none;
  }
  
  .nav-links.mobile-menu-open {
    left: 0;
  }
  
  .nav-links a {
    font-size: 24px;
    padding: 16px 24px;
    color: var(--text-primary);
    font-weight: 600;
    text-align: center;
    width: 200px;
    border-radius: 12px;
    transition: all 0.3s ease;
  }
  
  .nav-links a:hover {
    background: rgba(62, 174, 44, 0.1);
    transform: scale(1.05);
  }
  
  /* Mobile hamburger menu button */
  .mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 24px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
  }
  
  .mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
  }
  
  .mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }
  
  .nav-actions {
    gap: 12px;
    align-items: center;
  }
  
  .brand-logo {
    height: 36px;
  }
  
  /* Mobile logo theme switching */
  .brand-logo.logo-light {
    display: none !important;
  }

  .brand-logo.logo-dark {
    display: block !important;
  }

  [data-theme="light"] .brand-logo.logo-light {
    display: block !important;
  }

  [data-theme="light"] .brand-logo.logo-dark {
    display: none !important;
  }
  
  /* Light theme mobile menu */
  [data-theme="light"] .nav-links {
    background: var(--bg);
    border-right: none;
  }
  
  [data-theme="light"] .mobile-menu-toggle span {
    background: var(--text-primary);
  }
  
  .theme-toggle {
    padding: 2px;
  }
  
  .toggle-track {
    width: 48px;
    height: 24px;
  }
  
  .toggle-thumb {
    width: 16px;
    height: 16px;
    top: 2px;
    left: 2px;
  }
  
  .toggle-thumb svg {
    width: 10px;
    height: 10px;
  }
  
  [data-theme="light"] .toggle-thumb {
    transform: translateX(22px);
  }
  
  [data-theme="light"] .theme-toggle:hover .toggle-thumb {
    transform: translateX(22px) scale(1.1);
  }
}

@media (max-width: 480px) {
  .nav-links {
    gap: 16px;
  }
  
  .nav-links a {
    font-size: 13px;
    padding: 8px 12px;
  }
  
  .nav-actions {
    gap: 8px;
  }
}

.brand-mark {
  width: 28px; height: 28px; border-radius: 6px; position: relative; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.06), 0 0 20px 2px rgba(67,176,42,0.25) inset;
  background: radial-gradient(120% 120% at 20% 20%, rgba(62,174,44,0.7), transparent 60%),
              radial-gradient(120% 120% at 80% 80%, rgba(0,110,193,0.3), transparent 60%),
              #0b0b0b;
}

/* When a real logo is provided, we show the image instead of the generated brand-mark */
.brand-logo { height: 48px; width: auto; display: block; }
nav ul { display: flex; gap: 20px; list-style: none; margin: 0; padding: 0; }
nav button { 
  background-color: var(--surface);
  border: 1px solid var(--slate);
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 200ms ease;
  font-family: inherit;
  font-size: 14px;
  color: var(--offwhite);
  position: relative;
  overflow: hidden;
}

nav button::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: var(--gradient-primary);
  transition: width 300ms ease;
}

nav button:hover { 
  transform: translateY(-1px);
}

nav button:hover::after {
  width: 100%;
}
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 12px;
  background: var(--gradient-surface); color: var(--text-primary); border: 1px solid var(--border);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1); transition: all 200ms ease;
  cursor: pointer; font-weight: 600; font-size: 14px;
}
.btn:hover, .btn:focus { 
  border-color: var(--border-light); 
  box-shadow: 0 4px 12px rgba(0,0,0,0.2), 0 0 0 3px var(--ring); 
  transform: translateY(-1px); 
}
.btn.primary { 
  background: var(--gradient-primary); 
  color: white; 
  border-color: var(--gradient-color-1); 
  box-shadow: 0 4px 12px rgba(62,174,44,0.3);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

/* Attractive hover animation for contact button */
.contact-btn {
  position: relative;
  overflow: hidden;
}

.contact-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.6s ease;
}

.contact-btn:hover::before {
  left: 100%;
}

.contact-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 25px rgba(62,174,44,0.4);
  background: linear-gradient(135deg, var(--gradient-color-1) 0%, var(--gradient-color-2) 100%);
}

/* Login button styling */
.login-btn {
  transition: all 0.3s ease;
  border: 2px solid var(--gradient-color-1);
  color: var(--gradient-color-1);
  background: transparent;
}

.login-btn:hover {
  background: var(--gradient-color-1);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(62,174,44,0.3);
}
/* Hero */
.hero {
  padding: 20px;
  display: grid;
  place-items: center;
  text-align: center;
  min-height: 65vh;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at center top, rgba(62,174,44,0.03) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.hero-container {
  position: relative;
  /* Completely transparent - no background, no borders, no shadows */
  background: transparent;
  max-width: 1200px;
  width: 100%;
  min-height: 600px;
  display: grid;
  place-items: center;
}

/* Remove the gradient border pseudo-element as it's still creating visible edges */
.hero-inner { position: relative; z-index: 3; padding: 80px 0 40px; }
.kicker { 
  color: var(--green-light);
  font-weight: 700; 
  letter-spacing: 0.14em; 
  text-transform: uppercase; 
  font-size: 16px;
  margin-bottom: 24px;
  text-align: center;
}
h1 { 
  font-size: clamp(38px, 7vw, 64px); 
  line-height: 1.05; 
  margin: 0 0 32px 0; 
}
.subhead { 
  font-size: clamp(16px, 2.2vw, 20px); 
  max-width: 880px; 
  margin: 0 auto 28px;
  color: #ffffff;
  background: linear-gradient(
    120deg,
    #ffffff 40%,
    var(--gradient-color-3) 50%,
    #ffffff 60%
  );
  background-size: 200% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  animation: shine 8s linear infinite;
}
.cta-row { 
  display: flex; 
  gap: 16px; 
  justify-content: center; 
  flex-wrap: wrap; 
  margin-top: 40px;
}
/* Parallax layers */
.bg-wrap { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.glow {
  position: absolute; inset: -20%;
  background: radial-gradient(60% 40% at 50% 70%, rgba(62,174,44,0.2), transparent 60%),
              radial-gradient(30% 20% at 85% 90%, rgba(0,110,193,0.12), transparent 60%),
              radial-gradient(100% 100% at 0% 0%, rgba(0,155,133,0.08), transparent 60%);
  filter: blur(20px);
  transform: translateZ(0);
}
canvas#stars { position: absolute; inset: 0; }
canvas#squares { position: absolute; inset: 0; }
.squares-canvas { width: 100%; height: 100%; border: none; display: block; }

/* Subhead Section */
.subhead-section {
  padding: 60px 0 40px;
  background: transparent;
  position: relative;
  text-align: center;
}

p.main-subhead {
  font-size: clamp(28px, 5vw, 40px) !important;
  line-height: 1.2 !important;
  margin: 10px 0 14px !important;
  padding: 0 !important;
  color: var(--text-primary) !important;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif !important;
  font-weight: 600 !important;
  display: block !important;
  text-align: center !important;
}

/* Word reveal animation */
.word-reveal .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(30px) scale(0.8);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  margin-right: 0.2em;
  color: var(--text-primary) !important;
  font-weight: inherit !important;
}

.word-reveal .word.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.word-reveal .word:last-child {
  margin-right: 0;
}

/* Why Us Section */
.why-us-section {
  padding: 20px 0 20px;
  background: transparent;
  position: relative;
  text-align: center;
}

.why-us-section h2 {
  color: var(--green-light);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
  font-size: 16px;
  margin: 0 0 20px 0;
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  -webkit-text-fill-color: initial;
  text-align: center;
}

/* Solutions Section */
.solutions-section {
  padding: 40px 0 20px;
  background: transparent;
  position: relative;
  text-align: center;
}

.solutions-section h2 {
  color: var(--green-light);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
  font-size: 16px;
  margin: 0 0 20px 0;
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  -webkit-text-fill-color: initial;
  text-align: center;
}

/* Counting Numbers Section */
.counting-section {
  padding: 20px 0 80px;
  background: transparent;
  position: relative;
}

.counting-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at center, rgba(0,155,133,0.02) 0%, transparent 80%);
  pointer-events: none;
  z-index: 0;
}

.counting-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
  z-index: 1;
}

.counting-card {
  background: rgba(20, 21, 24, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 32px;
  text-align: left;
  transition: all 300ms ease;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.counting-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(67, 176, 42, 0.05) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 300ms ease;
}

.counting-card:hover::before {
  opacity: 1;
}

.counting-card:hover {
  border-color: rgba(67, 176, 42, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.counting-content {
  display: flex;
  flex-direction: column;
  text-align: left;
  height: 100%;
}

.counting-number {
  margin-bottom: 12px;
}

.counting-number .num {
  font-size: clamp(34px, 6.5vw, 58px);
  font-weight: 800;
  color: white;
  line-height: 1.4;
  display: block;
}

.counting-number .num .suffix {
  font-size: 0.75em;
  font-weight: 600;
  background: var(--gradient-full);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.counting-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 8px 0;
  background: var(--gradient-full);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.3;
}

.counting-card p {
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-secondary);
  margin: 0;
  opacity: 0.9;
}

/* Responsive adjustments for counting section */
@media (max-width: 1000px) {
  .counting-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .why-us-section {
    padding: 15px 0 15px;
  }
  
  .why-us-section h2 {
    margin: 0 0 15px 0;
    font-size: 14px;
  }
  
  .counting-section {
    padding: 15px 0 60px;
  }
}

@media (max-width: 600px) {
.hero-inner {
    padding: 60px 0 30px;
  }
  
  .kicker {
    margin-bottom: 20px;
    font-size: 14px;
  }
  
  h1 {
    margin: 0 0 24px 0;
  }
  
  .cta-row {
    margin-top: 32px;
    gap: 12px;
  }
  
  .subhead-section {
    padding: 40px 0 30px;
  }
  
  p.main-subhead {
    font-size: clamp(28px, 5vw, 40px) !important;
    line-height: 1.2 !important;
    padding: 0 15px !important;
    margin: 10px 0 14px !important;
    font-weight: 600 !important;
    color: var(--text-primary) !important;
  }
  
  .counting-card {
    padding: 28px 24px;
    min-height: 180px;
  }
  
  .counting-card h3 {
    font-size: 16px;
    margin: 0 0 6px 0;
  }
  
  .counting-card p {
    font-size: 14px;
    line-height: 1.4;
  }
}
/* Trust strip */
.trust { padding: 28px 0; border-top: 1px solid rgba(255,255,255,0.06); border-bottom: 1px solid rgba(255,255,255,0.06);
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0)); }
.trust-row { display: grid; grid-template-columns: repeat(6, minmax(120px, 1fr)); gap: 18px; align-items: center; }
.trust .logo {
  height: 44px; border-radius: 10px; display: grid; place-items: center; color: #aab4bd; border: 1px dashed rgba(255,255,255,0.12);
  transition: filter 200ms ease, color 200ms ease;
}
.trust .logo:hover { filter: grayscale(0); color: var(--white); border-style: solid; }
/* Service Images */
.service-images {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}

.image-container {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  background: #0b0b0b;
}

.image-container img {
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: opacity 300ms ease, transform 300ms ease;
  filter: sepia(60%) hue-rotate(80deg) saturate(1.2) brightness(0.95);
}

.image-container:hover img {
  transform: perspective(1000px) rotateX(5deg) rotateY(-5deg) scale(1.02);
}

/* Sections */
section { padding: 80px 0; position: relative; background: transparent; }
section .eyebrow { 
  color: var(--green-light);
  text-transform: uppercase; 
  letter-spacing: 0.14em; 
  font-weight: 700; 
  font-size: 16px;
  text-align: center;
}
h2 { 
  font-size: clamp(28px, 5vw, 40px); 
  margin: 10px 0 14px; 
  color: var(--text-primary);
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
p.lead { color: var(--text-secondary); max-width: 900px; }
/* Solutions Section - Matching the Image Style */
.solutions-section {
  padding: 40px 0 80px;
  background: transparent;
}

.solutions-section .lead {
  text-align: center;
  max-width: 1100px;
  margin: 0 auto 40px;
  color: var(--text-primary);
}

.scroll-reveal {
  margin: 20px 0;
}

.scroll-reveal-text {
  font-size: clamp(38px, 7vw, 64px);
  line-height: 1.05;
  font-weight: 600;
}

.word {
  display: inline-block;
}

.solutions-section h2 {
  color: var(--green-light);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
  font-size: 16px;
  text-align: center;
  margin: 0 0 40px 0;
  background: none;
  -webkit-text-fill-color: initial;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 0;
}

.solution-card {
  background: rgba(20, 21, 24, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 32px;
  transition: all 300ms ease;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.solution-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(67, 176, 42, 0.03) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 300ms ease;
}

.solution-card:hover::before {
  opacity: 1;
}

.solution-card:hover {
  border-color: rgba(67, 176, 42, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.solution-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 24px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 300ms ease;
}

.solution-icon svg {
  width: 100%;
  height: 100%;
  stroke: url(#iconGradient);
  stroke-width: 2;
  transition: all 300ms ease;
}

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

.solution-card:hover .solution-icon svg {
  stroke: url(#iconGradientHover);
}

.solution-card.tile h3 { 
  font-size: 20px; 
  font-weight: 700; 
  margin: 0 0 16px 0; 
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.solution-card p {
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-secondary);
  margin: 0;
  opacity: 0.85;
}

/* Responsive adjustments */
@media (max-width: 1000px) {
  .solutions-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 600px) {
  .solutions-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .solutions-section .lead {
    font-size: clamp(32px, 7vw, 48px);
    margin: 0 auto 32px;
    max-width: 100%;
  }
  
  .solutions-section h2 {
    margin: 0 0 40px 0;
    font-size: 14px;
  }
  
  .solution-card {
    padding: 28px 24px;
    min-height: 200px;
  }
  
  .solution-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 20px auto;
  }
  
  .solution-card h3 {
    font-size: 20px;
    margin: 0 0 12px 0;
  }
  
  .solution-card p {
    font-size: 15px;
    line-height: 1.4;
  }
}
/* Outcomes */
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.metric { 
  background: rgba(20, 21, 24, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 32px;
  transition: all 300ms ease;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.metric::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(67, 176, 42, 0.03) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 300ms ease;
}
.metric:hover::before {
  opacity: 1;
}
.metric:hover {
  border-color: rgba(67, 176, 42, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}
.metric .num { font-size: 32px; font-weight: 700; color: var(--text-primary); margin-bottom: 8px; }
.metric .label { color: var(--text-secondary); font-size: 16px; margin-bottom: 4px; }
.metric .src { color: var(--text-muted); font-size: 14px; margin-top: auto; opacity: 0.7; }
/* How it works */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.step { 
  background: rgba(20, 21, 24, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 32px;
  transition: all 300ms ease;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.step::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(67, 176, 42, 0.03) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 300ms ease;
}
.step:hover::before {
  opacity: 1;
}
.step:hover {
  border-color: rgba(67, 176, 42, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}
.step svg { position: absolute; inset: 0; pointer-events: none; opacity: 0.5; }
/* Selected work */
.work { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 40px; }
.tile { 
  background: rgba(20, 21, 24, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 32px;
  transition: all 300ms ease;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.tile::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(67, 176, 42, 0.03) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 300ms ease;
}
.tile:hover::before {
  opacity: 1;
}
.tile:hover {
  border-color: rgba(67, 176, 42, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}
.tile .content { padding: 0; }
.tile h3 { 
  font-size: 20px; 
  font-weight: 700; 
  margin: 0 0 16px 0; 
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.tile .badge { 
  position: absolute; 
  right: 16px; 
  bottom: 16px; 
  background: var(--gradient-full); 
  color: white; 
  padding: 8px 12px; 
  border-radius: 12px; 
  border: 1px solid var(--green); 
  font-weight: 700; 
  font-size: 12px;
  box-shadow: 0 2px 8px rgba(67,176,42,0.3);
}
.tile:hover .badge { box-shadow: 0 4px 12px rgba(67,176,42,0.4), 0 0 0 3px var(--ring); }
/* About */
.about { display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: start; }
.avatar { width: 220px; height: 220px; border-radius: 16px; background: conic-gradient(from 180deg at 50% 50%, rgba(67,176,42,0.35), rgba(41,121,255,0.15), rgba(67,176,42,0.35));
  display: grid; place-items: center; box-shadow: inset 0 0 50px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.06); }
.avatar span { font-weight: 800; color: #0b0b0b; background: var(--white); padding: 8px 10px; border-radius: 8px; }
/* Contact */
.contact { display: grid; grid-template-columns: 1fr; gap: 14px; }
.contact .email { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, monospace; color: var(--grid); }
/* Footer */
footer { padding: 40px 0 80px; color: var(--tealgray); border-top: 1px solid var(--slate); }
/* Responsive */
@media (max-width: 1000px) { 
  .solutions-grid, .metrics, .steps, .work { grid-template-columns: 1fr 1fr; gap: 24px; }
  .metrics { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .trust-row { grid-template-columns: 1fr 1fr 1fr; }
  .solutions-grid, .metrics, .steps, .work { grid-template-columns: 1fr; gap: 20px; }
  .about { grid-template-columns: 1fr; gap: 24px; }
  .pc-card-wrapper { margin: 0 auto 24px; }
  .brand-logo { height: 36px; }
  
  /* Mobile logo theme switching */
  .brand-logo.logo-light {
    display: none !important;
  }

  .brand-logo.logo-dark {
    display: block !important;
  }

  [data-theme="light"] .brand-logo.logo-light {
    display: block !important;
  }

  [data-theme="light"] .brand-logo.logo-dark {
    display: none !important;
  }
  
  /* Mobile card adjustments */
  .metric, .step, .tile {
    padding: 28px 24px;
    min-height: 200px;
  }
  
  .metric .num { font-size: 28px; }
  .metric .label { font-size: 15px; }
  .metric .src { font-size: 13px; }
}
/* Shine animation */
@keyframes shine {
  0% {
    background-position: 100%;
  }
  100% {
    background-position: -100%;
  }
}

/* Team Card Styles */
.pc-card-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 32px;
}

.team-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  max-width: 280px;
  transition: all 0.3s ease;
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
  border-color: rgba(67, 176, 42, 0.3);
}

.team-image {
  margin-bottom: 16px;
}

.team-image .avatar {
  width: 120px;
  height: 120px;
  border-radius: 12px;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.1);
  filter: grayscale(100%);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.team-card:hover .avatar {
  filter: grayscale(0%) brightness(1.0) contrast(1.1) saturate(1.1);
  transform: scale(1.05);
  border-color: rgba(67, 176, 42, 0.4);
  box-shadow: 
    0 8px 24px rgba(67, 176, 42, 0.2),
    0 0 0 3px rgba(67, 176, 42, 0.1);
}

.team-content h3 {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 4px 0;
  color: var(--text-primary);
}

.team-content p {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0;
  opacity: 0.8;
}

/* About Team Section */
.about-team-section {
  padding: 120px 0 80px;
  background: transparent;
  position: relative;
}

.about-team-content {
  text-align: center;
  display: block;
  max-width: 1200px;
  margin: 0 auto;
}

.about-team-content .eyebrow {
  color: var(--green-light);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
  font-size: 16px;
  text-align: center;
  margin-bottom: 32px;
}

/* Team Info Card - matches other card styles */
.team-info-card {
  background: rgba(20, 21, 24, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 40px;
  margin-bottom: 40px;
  transition: all 0.3s ease;
}

.team-info-card:hover {
  transform: translateY(-2px);
  border-color: rgba(67, 176, 42, 0.3);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.team-info-card .card-content h3 {
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 700;
  margin: 0 0 16px 0;
  color: var(--text-primary);
  text-align: center;
}

.team-info-card .card-content p {
  font-size: 20px;
  line-height: 1.4;
  color: var(--text-primary);
  margin: 0 0 32px 0;
  opacity: 0.9;
  text-align: left;
  font-weight: 600;
}

.expertise-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.expertise-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  transition: none;
}

.expertise-item:hover {
  transform: none;
  border-color: transparent;
  box-shadow: none;
}

.expertise-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.expertise-icon svg {
  width: 20px;
  height: 20px;
  stroke: url(#iconGradient);
  stroke-width: 2;
  transition: all 0.3s ease;
}

.expertise-item span {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.5;
}

/* Founder Section within About Team */
.founder-section {
  margin-top: 80px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 40px;
  align-items: start;
  text-align: left;
}

.founder-card-wrapper {
  display: flex;
  justify-content: center;
}

.founder-text {
  max-width: none;
}

.founder-text p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  margin-bottom: 24px;
}

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

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-link svg {
  width: 24px;
  height: 24px;
  stroke: var(--text-secondary);
  transition: all 0.3s ease;
}

.social-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.social-link.youtube:hover {
  background: rgba(255, 0, 0, 0.1);
  border-color: rgba(255, 0, 0, 0.3);
}

.social-link.youtube:hover svg {
  stroke: #ff0000;
}

.social-link.linkedin:hover {
  background: rgba(0, 119, 181, 0.1);
  border-color: rgba(0, 119, 181, 0.3);
}

.social-link.linkedin:hover svg {
  stroke: #0077b5;
}

/* Email Subscription - Stylish Design */
.email-subscription {
  margin: 60px 0;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.subscription-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  background: linear-gradient(135deg, rgba(20, 21, 24, 0.95) 0%, rgba(30, 31, 34, 0.9) 100%);
  border: 2px solid transparent;
  border-radius: 60px;
  padding: 6px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 
    0 4px 20px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.form-group::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 2px;
  background: linear-gradient(135deg, 
    var(--gradient-color-1) 0%, 
    var(--gradient-color-2) 25%,
    var(--gradient-color-3) 50%,
    var(--gradient-color-2) 75%,
    var(--gradient-color-1) 100%);
  border-radius: inherit;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: xor;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.form-group:focus-within::before {
  opacity: 1;
}

.form-group:focus-within {
  transform: translateY(-2px);
  box-shadow: 
    0 8px 32px rgba(67, 176, 42, 0.2),
    0 4px 20px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

#email-input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 20px 24px;
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 500;
  outline: none;
  border-radius: 60px;
  z-index: 2;
  position: relative;
}

#email-input::placeholder {
  color: var(--text-secondary);
  opacity: 0.6;
  font-weight: 400;
}

.submit-btn {
  background: linear-gradient(135deg, 
    var(--gradient-color-1) 0%, 
    var(--gradient-color-2) 50%,
    var(--gradient-color-3) 100%);
  border: none;
  border-radius: 12px;
  padding: 16px 32px;
  color: white;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
  box-shadow: 
    0 4px 20px rgba(67, 176, 42, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.submit-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255, 255, 255, 0.3), 
    transparent);
  transition: left 0.6s ease;
}

.submit-btn:hover::before {
  left: 100%;
}

.submit-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 
    0 8px 30px rgba(67, 176, 42, 0.5),
    0 4px 15px rgba(67, 176, 42, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  background: linear-gradient(135deg, 
    #4CAF50 0%, 
    var(--gradient-color-1) 30%,
    var(--gradient-color-2) 70%,
    #00BCD4 100%);
}

.submit-btn:active {
  transform: translateY(-1px) scale(0.98);
}

.submit-btn svg {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.3));
}

.submit-btn:hover svg {
  transform: translateX(4px) rotate(5deg);
}

.subscription-text {
  font-size: 14px;
  color: var(--text-secondary);
  opacity: 0.7;
  text-align: center;
  margin: 8px 0 0 0;
  line-height: 1.5;
  font-weight: 400;
  background: linear-gradient(135deg, 
    var(--text-secondary) 0%, 
    rgba(255, 255, 255, 0.6) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@media (max-width: 768px) {
  .about-team-section {
    padding: 80px 0 60px;
    margin-top: 20px;
  }
  
  .about-team-content {
    max-width: 100%;
  }
  
  .expertise-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .expertise-list {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .team-info-card {
    padding: 24px;
  }
  
  .team-info-card .card-content p {
    font-size: 16px;
    margin-bottom: 24px;
  }
  
  .founder-section {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 60px;
    text-align: center;
  }
  
  .founder-text {
    text-align: center;
  }
  
  .social-links {
    justify-content: center;
  }
  
  .email-subscription {
    margin: 40px 0;
    max-width: 100%;
    padding: 0 20px;
  }
  
  .form-group {
    flex-direction: column;
    border-radius: 24px;
    padding: 8px;
    gap: 8px;
  }
  
  #email-input {
    border-radius: 20px;
    padding: 18px 20px;
    margin-bottom: 0;
    text-align: center;
  }
  
  .submit-btn {
    border-radius: 12px;
    justify-content: center;
    padding: 18px 28px;
    font-size: 15px;
  }
  
  .submit-btn:hover {
    transform: translateY(-2px) scale(1.01);
  }
}


.pc-card-wrapper::before {
  content: '';
  position: absolute;
  inset: -10px;
  background: inherit;
  background-position: inherit;
  border-radius: inherit;
  transition: all 0.5s ease;
  filter: contrast(2) saturate(2) blur(36px);
  transform: scale(0.8) translate3d(0, 0, 0.1px);
  background-size: 100% 100%;
  background-image: var(--behind-gradient);
}

.pc-card-wrapper:hover,
.pc-card-wrapper.active {
  --card-opacity: 1;
}

.pc-card-wrapper:hover::before,
.pc-card-wrapper.active::before {
  filter: contrast(1) saturate(2) blur(40px) opacity(1);
  transform: scale(0.9) translate3d(0, 0, 0.1px);
}

.pc-card {
  height: 80svh;
  max-height: 540px;
  display: grid;
  aspect-ratio: 0.718;
  border-radius: var(--card-radius);
  position: relative;
  background-blend-mode: color-dodge, normal, normal, normal;
  animation: glow-bg 12s linear infinite;
  box-shadow: rgba(0, 0, 0, 0.8) calc((var(--pointer-from-left) * 10px) - 3px)
    calc((var(--pointer-from-top) * 20px) - 6px) 20px -5px;
  transition: transform 1s ease;
  transform: translate3d(0, 0, 0.1px) rotateX(0deg) rotateY(0deg);
  background-size: 100% 100%;
  background-position:
    0 0,
    0 0,
    50% 50%,
    0 0;
  background-image:
    radial-gradient(
      farthest-side circle at var(--pointer-x) var(--pointer-y),
      hsla(266, 100%, 90%, var(--card-opacity)) 4%,
      hsla(266, 50%, 80%, calc(var(--card-opacity) * 0.75)) 10%,
      hsla(266, 25%, 70%, calc(var(--card-opacity) * 0.5)) 50%,
      hsla(266, 0%, 60%, 0) 100%
    ),
    radial-gradient(35% 52% at 55% 20%, #00ffaac4 0%, #073aff00 100%),
    radial-gradient(100% 100% at 50% 50%, #00c1ffff 1%, #073aff00 76%),
    conic-gradient(from 124deg at 50% 50%, #c137ffff 0%, #07c6ffff 40%, #07c6ffff 60%, #c137ffff 100%);
  overflow: hidden;
}

.pc-card:hover,
.pc-card.active {
  transition: none;
  transform: translate3d(0, 0, 0.1px) rotateX(var(--rotate-y)) rotateY(var(--rotate-x));
}

.pc-card * {
  display: grid;
  grid-area: 1/-1;
  border-radius: var(--card-radius);
  transform: translate3d(0, 0, 0.1px);
  pointer-events: none;
}

.pc-inside {
  inset: 1px;
  position: absolute;
  background-image: var(--inner-gradient);
  background-color: rgba(0, 0, 0, 0.9);
  transform: translate3d(0, 0, 0.01px);
}

.pc-shine {
  mask-image: var(--icon);
  mask-mode: luminance;
  mask-repeat: repeat;
  mask-size: 150%;
  mask-position: top calc(200% - (var(--background-y) * 5)) left calc(100% - var(--background-x));
  transition: filter 0.6s ease;
  filter: brightness(0.66) contrast(1.33) saturate(0.33) opacity(0.5);
  animation: holo-bg 18s linear infinite;
  mix-blend-mode: color-dodge;
}

.pc-shine,
.pc-shine::after {
  --space: 5%;
  --angle: -45deg;
  transform: translate3d(0, 0, 1px);
  overflow: hidden;
  z-index: 3;
  background: transparent;
  background-size: cover;
  background-position: center;
  background-image:
    repeating-linear-gradient(
      0deg,
      var(--sunpillar-clr-1) calc(var(--space) * 1),
      var(--sunpillar-clr-2) calc(var(--space) * 2),
      var(--sunpillar-clr-3) calc(var(--space) * 3),
      var(--sunpillar-clr-4) calc(var(--space) * 4),
      var(--sunpillar-clr-5) calc(var(--space) * 5),
      var(--sunpillar-clr-6) calc(var(--space) * 6),
      var(--sunpillar-clr-1) calc(var(--space) * 7)
    ),
    repeating-linear-gradient(
      var(--angle),
      #0e152e 0%,
      hsl(180, 10%, 60%) 3.8%,
      hsl(180, 29%, 66%) 4.5%,
      hsl(180, 10%, 60%) 5.2%,
      #0e152e 10%,
      #0e152e 12%
    ),
    radial-gradient(
      farthest-corner circle at var(--pointer-x) var(--pointer-y),
      hsla(0, 0%, 0%, 0.1) 12%,
      hsla(0, 0%, 0%, 0.15) 20%,
      hsla(0, 0%, 0%, 0.25) 120%
    );
  background-position:
    0 var(--background-y),
    var(--background-x) var(--background-y),
    center;
  background-blend-mode: color, hard-light;
  background-size:
    500% 500%,
    300% 300%,
    200% 200%;
  background-repeat: repeat;
}

.pc-shine::before,
.pc-shine::after {
  content: '';
  background-position: center;
  background-size: cover;
  grid-area: 1/1;
  opacity: 0;
}

.pc-card:hover .pc-shine,
.pc-card.active .pc-shine {
  filter: brightness(0.85) contrast(1.5) saturate(0.5);
  animation: none;
}

.pc-card:hover .pc-shine::before,
.pc-card.active .pc-shine::before,
.pc-card:hover .pc-shine::after,
.pc-card.active .pc-shine::after {
  opacity: 1;
}

.pc-shine::before {
  background-image:
    linear-gradient(
      45deg,
      var(--sunpillar-4),
      var(--sunpillar-5),
      var(--sunpillar-6),
      var(--sunpillar-1),
      var(--sunpillar-2),
      var(--sunpillar-3)
    ),
    radial-gradient(circle at var(--pointer-x) var(--pointer-y), hsl(0, 0%, 30%) 0%, hsla(0, 0%, 15%, 0.1) 90%),
    var(--grain);
  background-size:
    250% 250%,
    100% 100%,
    220px 220px;
  background-position:
    var(--pointer-x) var(--pointer-y),
    center,
    calc(var(--pointer-x) * 0.01) calc(var(--pointer-y) * 0.01);
  background-blend-mode: color-dodge;
  filter: brightness(calc(1.2 - var(--pointer-from-center) * 0.3)) contrast(calc(var(--pointer-from-center) * 0.5 + 1))
    saturate(calc(0.3 + var(--pointer-from-center) * 0.2));
  mix-blend-mode: soft-light;
}

.pc-shine::after {
  background-position:
    0 var(--background-y),
    calc(var(--background-x) * 0.4) calc(var(--background-y) * 0.5),
    center;
  background-size:
    200% 300%,
    700% 700%,
    100% 100%;
  mix-blend-mode: soft-light;
  filter: brightness(0.6) contrast(1.1);
}

.pc-glare {
  transform: translate3d(0, 0, 1.1px);
  overflow: hidden;
  background-image: none;
  mix-blend-mode: multiply;
  filter: brightness(0.4) contrast(0.8);
  z-index: 4;
}

.pc-avatar-content {
  overflow: hidden;
  z-index: 2;
}

.pc-avatar-content .avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  opacity: 1;
}

/* .pc-avatar-content::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  backdrop-filter: blur(30px);
  mask: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0) 60%,
    rgba(0, 0, 0, 1) 90%,
    rgba(0, 0, 0, 1) 100%
  );
  pointer-events: none;
} */

.pc-user-info {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 12px 14px;
  pointer-events: auto;
}

.pc-user-details {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pc-mini-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.pc-mini-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.pc-user-text {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 6px;
}

.pc-handle {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1;
}

.pc-status {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1;
}

.pc-contact-btn {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  transition: all 0.2s ease;
  backdrop-filter: blur(10px);
}

.pc-contact-btn:hover {
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-1px);
  transition: all 0.2s ease;
}

.pc-content {
  max-height: 100%;
  overflow: hidden;
  text-align: center;
  position: relative;
  transform: translate3d(
    calc(var(--pointer-from-left) * -6px + 3px),
    calc(var(--pointer-from-top) * -6px + 3px),
    0.1px
  ) !important;
  z-index: 5;
  mix-blend-mode: luminosity;
}

.pc-details {
  width: 100%;
  position: absolute;
  top: 3em;
  display: flex;
  flex-direction: column;
}

.pc-details h3 {
  font-weight: 600;
  margin: 0;
  font-size: min(5svh, 3em);
  margin: 0;
  background-image: linear-gradient(to bottom, #fff, #6f6fbe);
  background-size: 1em 1.5em;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
}

.pc-details p {
  font-weight: 600;
  position: relative;
  top: -12px;
  white-space: nowrap;
  font-size: 16px;
  margin: 0 auto;
  width: min-content;
  background-image: linear-gradient(to bottom, #fff, #4a4ac0);
  background-size: 1em 1.5em;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
}

@keyframes glow-bg {
  0% { --bgrotate: 0deg; }
  100% { --bgrotate: 360deg; }
}

@keyframes holo-bg {
  0% {
    background-position: 0 var(--background-y), 0 0, center;
  }
  100% {
    background-position: 0 var(--background-y), 90% 90%, center;
  }
}

/* About section text content alignment */
.about > div:last-child {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 20px;
}

.about > div:last-child .eyebrow {
  margin-bottom: 8px;
}

.about > div:last-child h2 {
  margin-top: 0;
  margin-bottom: 16px;
}

.about > div:last-child p {
  margin-bottom: 24px;
  line-height: 1.6;
}

.about > div:last-child p:last-of-type {
  margin-bottom: 0;
}

/* Reveal Animations */
.reveal-element {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Header immediate reveal */
header .nav.reveal-element {
  animation: headerReveal 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes headerReveal {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal-element.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered reveal for groups */
.reveal-stagger {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-stagger.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Delay classes for staggered animations */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* Slide in from left */
.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

/* Slide in from right */
.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

/* Scale reveal */
.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-scale.revealed {
  opacity: 1;
  transform: scale(1);
}

/* Motion preferences */
@media (prefers-reduced-motion: reduce) {
  .btn, .card, .tile { transition: none; }
  .subhead { animation: none; -webkit-text-fill-color: #ffffff; }
  .pc-card { animation: none; }
  .pc-shine { animation: none; }
  
  /* Disable reveal animations for users who prefer reduced motion */
  .reveal-element,
  .reveal-stagger,
  .reveal-left,
  .reveal-right,
  .reveal-scale {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
