:root {
 /* Opaline Color Palette - Modern, sophisticated, clean and airy */
 --color-primary: #FF634A;         /* Cinnabar orange accent - energy and excitement */
 --color-primary-hover: #e55439;   /* Slightly darker orange for hover states */
 --color-secondary: #E7E7E7;       /* Light grey from Opaline palette */
 --color-dark: #2c2c2c;            /* Dark grey for text - maintains readability */
 --color-orange: #FF634A;          /* Cinnabar accent color */
 --color-green: #2BCFCE;           /* Teal accent (keeping for specific uses) */
 --color-pale-green: #bbc5d6;           /* Teal accent (keeping for specific uses) */
 --color-slate: #D2D2D4;           /* Medium grey from Opaline palette */
 --color-light: #F4F4F6;           /* Very light grey background from Opaline */
 --color-light-grey: #E7E7E7;      /* Light grey for sections */
 --color-mid-grey: #D2D2D4;        /* Medium grey from Opaline palette */
 --color-white: #ffffff;
 --color-black: #000000;
 --font-sans: 'IBM Plex Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
 --font-serif: 'IBM Plex Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
 --font-headings: 'IBM Plex Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
 --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.08);
 --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
 --border-width: 1px;
 --max-width: 1200px;
 --bg-gradient-primary: linear-gradient(90deg, #FF634A 0%, #ff7a65 50%, #ff9180 100%);
 --bg-gradient-secondary: linear-gradient(to right, var(--color-light), var(--color-secondary))
}

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

body {
  font-family: var(--font-sans);
  background: var(--color-dark);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.business-card {
  background: var(--color-white);
  border-radius: 0;
  box-shadow: var(--shadow-lg);
  max-width: 420px;
  width: 100%;
  overflow: hidden;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.business-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
}

.card-header {
  background: var(--color-light-grey);
  color: var(--color-dark);
  padding: 40px 30px 30px;
  text-align: center;
  position: relative;
}

.card-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--bg-gradient-primary);
}

.profile-section {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.profile-image {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 3px solid var(--color-white);
  object-fit: cover;
  margin-bottom: 20px;
  box-shadow: var(--shadow-md);
}

.name {
  font-size: 32px;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--color-dark);
  letter-spacing: -0.5px;
}

.title {
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 5px;
}

.credentials {
  font-size: 16px;
  font-weight: 300;
}

.card-body {
  padding: 0;
}

.company-section {
  background: var(--color-light-grey);
  padding: 30px;
  text-align: center;
}

.company-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

.company-tagline {
  font-size: 16px;
  color: var(--color-dark);
  font-weight: 400;
}

.company-tagline .highlight {
  background: var(--bg-gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  font-weight: 600;
}

.contact-section {
  background: var(--color-white);
  padding: 30px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.contact-item {
  display: flex;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  transition: all 0.2s ease;
}

.contact-item:hover {
  background-color: rgba(28, 148, 255, 0.05);
  margin: 0 -15px;
  padding: 15px 15px;
  border-radius: 8px;
  border-bottom: 1px solid transparent;
}

.contact-item:last-child {
  border-bottom: none;
}

.contact-icon {
  width: 20px;
  height: 20px;
  margin-right: 15px;
  fill: var(--color-secondary);
  flex-shrink: 0;
}

.contact-text {
  flex: 1;
}

.contact-link {
  color: var(--color-dark);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.contact-link:hover {
  color: var(--color-secondary);
}

.contact-label {
  font-size: 12px;
  color: var(--color-slate);
  display: block;
  margin-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.contact-value {
  font-size: 16px;
  color: var(--color-dark);
  font-weight: 500;
}

.action-section {
  background: var(--color-green);
  padding: 30px;
}

.action-title {
  color: var(--color-white);
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 20px;
}

.action-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.btn {
  display: inline-block;
  font-weight: 400;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.8rem;
  padding: 0.6rem 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 2rem;
  text-decoration: none;
}

.btn:hover {
  box-shadow: 0 4px 12px rgba(255, 99, 74, 0.25);
  transition: transform 0.2s, box-shadow 0.2s;
  transform: translateY(-2px);
}

/* Primary button - Opaline cinnabar orange */
.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-white);
  border: var(--border-width) solid var(--color-primary);
}

.bg-primary .btn-primary {
  border: var(--border-width) solid var(--color-white);

}

.btn-primary:hover {
  background-color: var(--color-primary-hover);
  color: var(--color-white);
  border-color: var(--color-primary-hover);
}

/* Secondary button - clean light grey */
.btn-secondary {
  background-color: var(--color-secondary);
  color: var(--color-dark);
  border: var(--border-width) solid var(--color-secondary);
}
.bg-dark .btn-secondary {
  border: var(--border-width) solid var(--color-dark);
}
.btn-secondary:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

.btn-icon {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.qr-section {
  background: var(--color-light);
  padding: 30px;
  text-align: center;
}

.qr-title {
  color: var(--color-dark);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
}

.qr-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.qr-canvas {
  border: 2px solid var(--color-white);
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: var(--shadow-sm);
}

.qr-instructions {
  font-size: 14px;
  color: var(--color-slate);
  margin: 0;
}

.linkedin-section {
  background: #0077b5;
  padding: 20px 30px;
}

.linkedin-btn {
  width: 100%;
  background: transparent;
  color: white;
  border-color: white;
  grid-column: span 2;
}

.linkedin-btn:hover {
  background: white;
  color: #0077b5;
}

/* Touch device optimizations */
.touch-device .btn {
  min-height: 44px; /* iOS recommended touch target */
  -webkit-tap-highlight-color: rgba(0,0,0,0.1);
}

.touch-device .contact-item {
  min-height: 48px; /* Android recommended touch target */
}

/* Improved mobile experience */
@media (max-width: 480px) {
  .business-card {
      margin: 10px;
      max-width: 100%;
  }
  
  .card-header {
      padding: 30px 20px 25px;
  }
  
  .company-section,
  .contact-section,
  .action-section,
  .qr-section {
      padding: 25px 20px;
  }
  
  .profile-image {
      width: 100px;
      height: 100px;
  }
  
  .name {
      font-size: 28px;
  }
  
  .action-buttons {
      grid-template-columns: 1fr;
  }
  
  .linkedin-btn {
      grid-column: span 1;
  }
  
  .qr-canvas {
      width: 160px;
      height: 160px;
  }
}

/* Animation for card entrance */
.business-card {
  animation: cardSlideIn 0.6s ease-out;
}

@keyframes cardSlideIn {
  from {
      opacity: 0;
      transform: translateY(30px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

/* Newtron logo styles */
#newtron-logo {
  position: relative;

margin-bottom: 1.6rem;  /* left: 20px; */
  width: 180px;
  height: auto;
}
/* 
.logo-symbol {
  width: 30px;
  height: 30px;
} */

.logo-arrow {
  fill: url(#logoGradient);
}

.logo-text {
  fill: var(--color-white);
}

.st0 {
  fill: none;
}

.st3 {
  clip-path: url(#clippath);
}