/* 
  CannaShield Design System - Cyber/Cannabis Theme
  Dark Mode + Neon Green Accents
*/
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;700&display=swap');


:root {
  /* Color Palette */
  --bg-dark: #020202;
  /* Deepest Black */
  --bg-card: #0a0f0b;
  /* Slightly lighter for cards */
  --bg-card-hover: #0f1611;
  /* Card Hover */

  --primary: #00FF41;
  /* Cyber Green */
  --primary-dim: #00cc33;
  --primary-glow: rgba(0, 255, 65, 0.25);

  --text-main: #e0e0e0;
  --text-muted: #94a3b8;
  /* Slate-400 for better readability on dark */

  --border-color: rgba(0, 255, 65, 0.2);
  /* Tech Green Border */

  /* Typography */
  --font-main: 'Inter', system-ui, -apple-system, sans-serif;
  --font-heading: 'Space Grotesk', sans-serif;
  /* Tech Heading */
  --font-mono: 'JetBrains Mono', monospace;

  /* Spacing */
  --container-width: 1200px;
  --header-height: 70px;
  /* Tighter Header */
  --section-spacing: 4rem;
  /* Reduced from 6rem */

  /* Effects */
  --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.6);
  --shadow-neon: 0 0 15px var(--primary-glow);
}

/* Reset & Base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-dark);
  background-image:
    radial-gradient(circle at 15% 50%, rgba(0, 255, 65, 0.03) 0%, transparent 25%),
    radial-gradient(circle at 85% 30%, rgba(0, 255, 65, 0.03) 0%, transparent 25%);
  color: var(--text-main);
  line-height: 1.5;
  overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

h1 {
  font-size: 3rem;
  letter-spacing: -0.03em;
}

h2 {
  font-size: 2.25rem;
  color: #fff;
  /* Clean white for headers, green for accents */

  text-shadow: 0 0 15px rgba(0, 255, 65, 0.15);
}

h3 {
  font-size: 1.5rem;
  color: #fff;
}

p {
  color: var(--text-muted);
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  text-decoration: none;
  color: #fff;
  text-shadow: 0 0 8px var(--primary);
}

/* Utilities */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.section-container {
  padding: var(--section-spacing) 1rem;
  max-width: var(--container-width);
  margin: 0 auto;
}

/* Components */
/* Buttons */
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
  padding: 0.8rem 2rem;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  /* fix for anchor tags acting as buttons */
}

.cta-button:hover {
  background: var(--primary);
  color: #000;
  box-shadow: var(--shadow-neon);
  transform: translateY(-2px);
}

.cta-button.main-cta {
  background: var(--primary);
  color: #000;
  font-weight: 700;
  border: none;
}

.cta-button.main-cta:hover {
  background: #fff;
  color: #000;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}

/* Cards */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  /* Sharper corners */
  padding: 1.5rem;
  /* Tighter padding */

  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-neon);
}

.card h3 {
  color: var(--primary);
  font-family: var(--font-mono);
  margin-bottom: 1rem;
}

/* Navbar */
nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(2, 2, 2, 0.85);
  /* Glass dark background */
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  height: var(--header-height);
  display: flex;
  align-items: center;
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.navbar-logo img {
  height: 50px;
  filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.5));
}

.navbar-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.navbar-links a {
  color: var(--text-main);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-family: var(--font-mono);
}

.navbar-links a:hover {
  color: var(--primary);
}

.cta-link {
  background: var(--primary);
  color: #000 !important;
  padding: 0.5rem 1.2rem;
  border-radius: 4px;
  font-weight: 700 !important;
  transition: var(--transition);
}

.cta-link:hover {
  background: #fff;
  box-shadow: 0 0 15px var(--primary-glow);
}

/* Hero Section */
#hero {
  position: relative;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: url('cannashield hero image 4.png') no-repeat center center/cover;
  overflow: hidden;
}

/* Overlay gradient for Hero */
#hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 0%, var(--bg-dark) 95%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 1rem;
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(to right, #fff, #b3b3b3);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-subtitle {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}


/* Intro & Sections */
#intro,
#services,
#securityassessment,
#contact {
  padding: var(--section-spacing) 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

#intro .intro-content,
#securityassessment .assessment-content,
#contact .assessment-content {
  display: flex;
  align-items: center;
  gap: 4rem;
  max-width: var(--container-width);
  margin: 0 auto;
  /* Flex wrap for mobile */
  flex-wrap: wrap;
}

/* Fix for specific ID styling legacy */
#securityassessment .assessment-content,
#contact .assessment-content {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow-card);
  color: var(--text-main);
}

.intro-content .text-content,
.assessment-content .text-content {
  flex: 1;
  min-width: 300px;
}

.graphic-placeholder {
  flex: 1;
  min-width: 300px;
}

.graphic-placeholder img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

/* Service Cards */
.card-container,
.services-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: var(--container-width);
  margin: 0 auto;
}

.service-card,
.card {
  text-align: left;
  /* Modern clean align */
}

/* Footer */
footer {
  background: #020402;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 4rem 1rem 2rem;
  text-align: center;
  color: var(--text-muted);
}

footer a {
  color: var(--text-muted);
  text-decoration: none;
  border-bottom: 1px dotted var(--text-muted);
}

footer a:hover {
  color: var(--primary);
  border-bottom-style: solid;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  .navbar-container {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }

  .navbar-links {
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .intro-content,
  .assessment-content {
    flex-direction: column-reverse;
    /* Text on top for some, check preference */
  }
}

/* Animations */
.fade-in {
  opacity: 0;
  animation: fadeIn 1s ease-out forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Helper Class for Text Gradient */
.text-gradient {
  background: linear-gradient(90deg, #00FF41, #00B32C);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Image Polish for Dark Mode */
img:not(.navbar-logo img) {
  filter: brightness(0.9) contrast(1.1);
  transition: filter 0.3s ease;
}

img:not(.navbar-logo img):hover {
  filter: brightness(1) contrast(1);
}

/* Solutions Page Styles */
.solutions-tabs-bar {
  display: flex;
  justify-content: center;
  margin-bottom: 3rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1rem;
}

.solutions-tabs {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.solutions-tab {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 0.8rem 1.5rem;
  border-radius: 4px;
  cursor: pointer;
  font-family: var(--font-mono);
  transition: all 0.3s ease;
  font-size: 1rem;
}

.solutions-tab:hover,
.solutions-tab.active {
  background: var(--primary);
  color: #000;
  border-color: var(--primary);
  font-weight: 700;
  box-shadow: var(--shadow-neon);
}

.solutions-panel {
  display: none;
  /* Hidden by default */
  flex-direction: row;
  align-items: center;
  gap: 3rem;
  animation: fadeIn 0.5s ease-out;
}

.solutions-panel.active {
  display: flex;
  /* Flex when active */
}

.solutions-panel-graphic {
  flex: 1;
  max-width: 400px;
}

.solutions-panel-graphic img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

.solutions-panel-content {
  flex: 1;
}

.solutions-trust-card {
  margin-top: 5rem;
  background: var(--bg-card);
  border: 1px solid var(--primary);
  border-radius: 12px;
  padding: 3rem;
  text-align: center;
  position: relative;
  box-shadow: 0 0 30px rgba(0, 255, 65, 0.05);
}

.trust-badge {
  display: inline-block;
  background: rgba(0, 255, 65, 0.1);
  color: var(--primary);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--primary);
}

.trust-quote {
  font-size: 1.5rem;
  color: #fff;
  font-style: italic;
  max-width: 800px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .solutions-panel {
    flex-direction: column-reverse;
  }
}

/* Contact Page Styles */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s ease;
}

.contact-card:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
  box-shadow: var(--shadow-neon);
}

.contact-card h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* Forms */
.form-container {
  max-width: 600px;
  margin: 0 auto;
  background: var(--bg-card);
  padding: 2.5rem;
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

.form-group {
  margin-bottom: 1.5rem;
  text-align: left;
}

.form-group label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  color: var(--text-muted);
}

.form-group select,
.form-group input,
.form-group textarea {
  width: 100%;
  background: #000;
  border: 1px solid var(--border-color);
  color: #fff;
  padding: 1rem;
  border-radius: 6px;
  font-family: var(--font-main);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group select:focus,
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 10px rgba(0, 255, 65, 0.2);
}

/* Pricing Page Styles */
.pricing-tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.pricing-tier {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2.5rem;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
  overflow: hidden;
}

.pricing-tier:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
  box-shadow: var(--shadow-neon);
}

.pricing-tier h2 {
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.pricing-tier ul {
  list-style: none;
  padding: 0;
  text-align: left;
  margin-bottom: 1.5rem;
}

.pricing-tier ul li {
  margin-bottom: 0.8rem;
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-muted);
}

.pricing-tier ul li::before {
  content: '>';
  color: var(--primary);
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* Value Cards (Reusing Card styles but specific context) */
.value-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
  text-align: left;
  transition: var(--transition);
}

.value-card:hover {
  border-color: var(--primary);
  background: var(--bg-card-hover);
}

.value-card h3 {
  color: #fff;
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

/* Card Grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

/* Steps Grid (How It Works) */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.step-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  transition: var(--transition);
}

.step-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-neon);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  color: var(--primary);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

/* Automations Hero */
#hero-automations {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(0, 255, 65, 0.08) 0%, transparent 60%),
    var(--bg-dark);
}

/* Workflow Showcase */
.workflow-showcase {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.workflow-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2.5rem;
  transition: var(--transition);
}

.workflow-card:hover {
  border-color: var(--primary);
  box-shadow: 0 0 20px rgba(0, 255, 65, 0.06);
}

.workflow-header {
  margin-bottom: 1rem;
}

.workflow-badge {
  display: inline-block;
  background: rgba(0, 255, 65, 0.1);
  color: var(--primary);
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 1px solid rgba(0, 255, 65, 0.25);
  margin-bottom: 0.75rem;
}

.workflow-header h3 {
  font-size: 1.6rem;
  color: #fff;
}

.workflow-steps-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1.5rem;
  padding-left: 0.5rem;
  border-left: 2px solid rgba(0, 255, 65, 0.15);
}

.workflow-step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding-left: 1rem;
}

.workflow-step p {
  margin-bottom: 0;
  font-size: 1rem;
}

.workflow-step strong {
  color: var(--primary);
  font-family: var(--font-mono);
  font-size: 0.95rem;
  display: block;
  margin-bottom: 0.25rem;
}

.workflow-step-num {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--primary);
  color: var(--primary);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.85rem;
  margin-top: 0.15rem;
}