/* site/style.css - Modern AI-native styles for Founder's Authority Engine */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  /* Primary Palette - Core Brand Identity */
  --deep-navy: #0A1A2F;
  --tech-blue: #3B82F6;
  --slate-gray: #64748B;
  
  /* Secondary Palette - Support & Contrast */
  --warm-taupe: #E6E1DC; /* Use sparingly for subtle contrast */
  --polished-white: #FAFAFA;
  --background-white: #FFFFFF; /* Pure white for main content areas */
  --border-light: #E5E7EB; /* Light border color */
  
  /* Signal Accents - Limited Use */
  --signal-green: #22C55E;
  --electric-cobalt: #2563EB; /* Slightly darker blue for hover */
  
  /* AI-specific Accents */
  --ai-gradient-start: rgba(11, 27, 47, 0.1); /* Subtle navy gradient */
  --ai-gradient-end: rgba(59, 130, 246, 0.05); /* Subtle blue gradient */
  --ai-glow: rgba(59, 130, 246, 0.15); /* Subtle blue glow for highlights */
  
  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  --font-display: 'Space Grotesk', var(--font-sans); /* More distinctive headings */
  
  /* Effects */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --ai-card-shadow: 0 8px 24px rgba(11, 27, 47, 0.08); /* Distinctive card shadow */
  --radius-md: 6px;
  --radius-lg: 8px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  font-family: var(--font-sans);
  margin: 0;
  padding: 0;
  background-color: var(--polished-white); /* Slightly off-white background */
  color: var(--slate-gray);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  width: 100%;
  max-width: 1200px; /* Wider container */
  margin: 0 auto;
  padding: 0 24px; /* Consistent padding */
}

h1, h2, h3, h4, h5, h6 {
  color: var(--deep-navy);
  margin-top: 1.8em;
  margin-bottom: 0.6em;
  line-height: 1.3;
  font-weight: 600; /* Slightly bolder default */
  font-family: var(--font-display); /* AI-focused display font */
}

h1 { 
  font-size: 2.8rem; 
  font-weight: 700; 
  letter-spacing: -0.02em; 
  background: linear-gradient(135deg, var(--deep-navy) 0%, var(--tech-blue) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
} /* Gradient text for hero headlines */

h2 { 
  font-size: 2.2rem; 
  font-weight: 700; 
  letter-spacing: -0.01em; 
}

h3 { 
  font-size: 1.6rem; 
  font-weight: 600; 
}

h4 { 
  font-size: 1.25rem; 
  font-weight: 600; 
}

p {
  margin-bottom: 1.2em;
}

a {
  color: var(--tech-blue);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--electric-cobalt);
  text-decoration: none; /* Remove underline on hover for cleaner look */
}

.btn {
  display: inline-block;
  padding: 14px 28px; /* Slightly larger padding */
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent; /* Base border */
  position: relative;
  overflow: hidden;
  z-index: 1;
  font-family: var(--font-display); /* Use display font for buttons */
  letter-spacing: 0.01em;
}

/* Gradient light effect for buttons */
.btn::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    to bottom right,
    rgba(255,255,255,0.2) 0%,
    rgba(255,255,255,0) 40%,
    rgba(255,255,255,0) 100%
  );
  transform: rotate(30deg);
  transition: transform 0.6s ease;
  z-index: -1;
}

.btn-primary {
  background-color: var(--tech-blue);
  color: var(--background-white);
  border-color: var(--tech-blue);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background-color: var(--electric-cobalt);
  border-color: var(--electric-cobalt);
  transform: translateY(-2px); /* More noticeable lift */
  box-shadow: 0 6px 15px rgba(37, 99, 235, 0.25); /* Glowing effect */
}

.btn-primary:hover::after {
  transform: rotate(30deg) translate(50%, 50%);
}

.btn-secondary {
  background-color: var(--background-white);
  color: var(--deep-navy);
  border: 1px solid var(--border-light); /* Lighter border */
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: var(--tech-blue);
  color: var(--deep-navy);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(11, 27, 47, 0.08);
}

.btn-secondary:hover::after {
  transform: rotate(30deg) translate(50%, 50%);
}

/* Header & Footer */
header {
  background-color: rgba(255, 255, 255, 0.95); /* Slightly transparent header */
  padding: 18px 0;
  border-bottom: 1px solid rgba(229, 231, 235, 0.5); /* Lighter border */
  position: sticky; /* Sticky header */
  top: 0;
  z-index: 10;
  box-shadow: 0 4px 20px rgba(11, 27, 47, 0.05); /* Softer shadow */
  backdrop-filter: blur(10px); /* Modern blur effect */
  -webkit-backdrop-filter: blur(10px);
}

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

header .logo {
  font-size: 1.4rem;
  font-weight: 700;
  font-family: var(--font-display); /* Display font for logo */
  background: linear-gradient(90deg, var(--deep-navy), var(--tech-blue));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
}

/* Dot accent for logo */
header .logo::after {
  content: '';
  position: absolute;
  bottom: 5px;
  right: -5px;
  width: 6px;
  height: 6px;
  background-color: var(--tech-blue);
  border-radius: 50%;
}

header nav a {
  color: var(--slate-gray); /* Gray nav links */
  margin-left: 25px; /* More spacing between links */
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 0; /* Increase hit area */
  position: relative;
  transition: color 0.3s ease;
}

/* Animated underline for nav links */
header nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background: linear-gradient(90deg, var(--tech-blue), var(--electric-cobalt));
  transition: width 0.3s ease;
}

header nav a:hover::after, header nav a.active::after {
  width: 100%;
}

header nav a:hover, header nav a.active { /* Add active class possibility */
  color: var(--deep-navy);
}

footer {
  background-color: var(--deep-navy);
  color: #A0AEC0; /* Lighter gray for footer text */
  padding: 60px 0 40px;
  margin-top: 80px;
  font-size: 0.9rem;
  position: relative;
  overflow: hidden;
}

/* AI-grid pattern for footer */
footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 20px 20px;
  z-index: 0;
}

/* Glowing accent for footer */
footer::after {
  content: '';
  position: absolute;
  bottom: -50px;
  left: 30%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
  filter: blur(40px);
  z-index: 0;
}

footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap; /* Allow wrapping */
  position: relative;
  z-index: 1;
}

footer nav {
  margin-bottom: 15px;
}

footer nav a {
  color: #CBD5E0; /* Even lighter for links */
  margin: 0 12px;
  transition: color 0.3s ease;
  position: relative;
}

footer nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 1px;
  bottom: -2px;
  left: 0;
  background-color: var(--tech-blue);
  transition: width 0.3s ease;
}

footer nav a:hover::after {
  width: 100%;
}

footer nav a:hover {
  color: var(--tech-blue);
}

footer p {
  width: 100%;
  text-align: center;
  margin-top: 30px;
  margin-bottom: 0;
  position: relative;
}


/* Sections & Layout */
.hero {
  background-color: var(--polished-white);
  padding: 100px 0 80px; /* More top padding */
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* AI-inspired background pattern */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 10% 10%, var(--ai-gradient-start) 0%, transparent 50%),
    radial-gradient(circle at 90% 90%, var(--ai-gradient-end) 0%, transparent 50%);
  opacity: 0.6;
  z-index: 0;
}

/* Subtle grid pattern overlay */
.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: linear-gradient(var(--border-light) 1px, transparent 1px),
                    linear-gradient(90deg, var(--border-light) 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: 0.2;
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero h1 {
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

/* Subtle highlight accent under headline */
.hero h1::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, var(--tech-blue), var(--electric-cobalt));
  border-radius: 4px;
}

.hero p {
  font-size: 1.2rem; /* Slightly larger hero text */
  color: var(--slate-gray);
  max-width: 700px;
  margin: 0 auto 35px auto;
  line-height: 1.7;
}

.hero-actions {
  margin-bottom: 30px;
}

.hero-actions .btn {
  margin: 0 8px; /* Space between buttons */
  position: relative;
  z-index: 1;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.ai-tech-badge {
  display: inline-block;
  background: rgba(10, 26, 47, 0.04);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--deep-navy);
  margin-top: 20px;
  border: 1px solid rgba(59, 130, 246, 0.1);
  box-shadow: 0 2px 10px rgba(59, 130, 246, 0.05);
}

.ai-tech-badge span {
  display: flex;
  align-items: center;
  justify-content: center;
}

.section {
  padding: 80px 0; /* More vertical spacing */
  position: relative;
  overflow: hidden;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

.section-title h2 {
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

/* Line accent for section titles */
.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--tech-blue), var(--electric-cobalt));
  border-radius: 2px;
}

.section-title p {
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.1rem;
  color: var(--slate-gray);
  line-height: 1.7;
}

/* AI-inspired background for taupe sections */
.section-bg-taupe {
  background-color: var(--warm-taupe);
  position: relative;
}

.section-bg-taupe::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 5% 95%, var(--ai-gradient-start) 0%, transparent 30%),
    radial-gradient(circle at 95% 5%, var(--ai-gradient-end) 0%, transparent 30%);
  opacity: 0.4;
  z-index: 0;
}

.section-bg-taupe .container {
  position: relative;
  z-index: 1;
}

/* Advanced navy section with mesh grid */
.section-bg-navy {
  background-color: var(--deep-navy);
  color: #E2E8F0; /* Lighter text on navy */
  position: relative;
}

/* AI-inspired grid background */
.section-bg-navy::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 30px 30px;
  z-index: 0;
}

/* Glowing accent */
.section-bg-navy::after {
  content: '';
  position: absolute;
  top: 10%;
  right: 5%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
  filter: blur(50px);
  z-index: 0;
}

.section-bg-navy .container {
  position: relative;
  z-index: 1;
}

.section-bg-navy h2, .section-bg-navy h3, .section-bg-navy h4 {
  color: var(--polished-white);
}

.section-bg-navy p, .section-bg-navy li {
  color: #CBD5E0; /* Slightly lighter than default on navy */
}

.section-bg-navy a:not(.btn) { /* Ensure links are visible */
  color: var(--tech-blue);
}

.section-bg-navy a:not(.btn):hover {
  color: #60A5FA; /* Lighter blue hover */
}

.section-bg-navy .btn-secondary { /* Adjust secondary button on navy */
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--polished-white);
  border-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
}

.section-bg-navy .btn-secondary:hover {
  background-color: var(--polished-white);
  color: var(--deep-navy);
  border-color: var(--polished-white);
  box-shadow: 0 6px 15px rgba(59, 130, 246, 0.2);
}


.two-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Responsive columns */
  gap: 60px; /* More gap */
  align-items: start; /* Align items to the start */
}

.three-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

/* Cards & Elements */
.step-card, .deliverable-item, .case-study article, .contact-form-container { /* General card style */
  background-color: var(--background-white);
  padding: 30px;
  border-radius: var(--radius-lg);
  box-shadow: var(--ai-card-shadow);
  border: 1px solid var(--border-light);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); /* More premium animation */
  position: relative;
  overflow: hidden;
}

/* AI Accent Line */
.step-card::before, .deliverable-item::before, .case-study article::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--tech-blue), var(--electric-cobalt));
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.step-card:hover, .deliverable-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg), 0 0 20px var(--ai-glow);
  border-color: var(--tech-blue);
}

.step-card:hover::before, .deliverable-item:hover::before {
  opacity: 1;
}

.step-card h3 {
  margin-top: 0;
  margin-bottom: 15px;
  color: var(--deep-navy);
  display: flex;
  align-items: center;
}

/* Add subtle tech pattern to cards */
.step-card, .deliverable-item {
  background-image: 
    radial-gradient(circle at 100% 100%, var(--ai-gradient-end) 0%, transparent 20%),
    radial-gradient(circle at 0% 0%, var(--ai-gradient-start) 0%, transparent 20%);
  background-size: 100% 100%;
  background-position: center;
}

.deliverables-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.deliverable-item {
  padding: 25px;
  border-left: none; /* Removed, using the top gradient instead */
}

.deliverable-item h4 {
  margin-top: 0;
  margin-bottom: 10px;
}

/* Testimonial Styling */
.testimonial {
    font-style: italic;
    margin-bottom: 25px;
    padding: 25px;
    border-radius: var(--radius-md);
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    border-left: 4px solid var(--tech-blue);
    box-shadow: var(--ai-card-shadow);
    overflow: hidden;
}

/* AI-inspired subtle pattern for testimonials */
.testimonial::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 90% 10%, rgba(59, 130, 246, 0.05) 0%, transparent 50%);
    opacity: 0.5;
    z-index: 0;
}

/* Quote mark */
.testimonial::after {
    content: '"';
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 5rem;
    font-family: var(--font-display);
    color: rgba(59, 130, 246, 0.05);
    line-height: 1;
    z-index: 0;
}

.testimonial > * {
    position: relative;
    z-index: 1;
}

.section-bg-navy .testimonial {
    background-color: rgba(255, 255, 255, 0.03);
    border-left-color: var(--tech-blue);
    color: var(--polished-white);
}

.testimonial-author {
    font-style: normal;
    font-weight: 600;
    display: block;
    margin-top: 15px;
    text-align: right;
    color: var(--deep-navy);
    font-family: var(--font-display);
}

.section-bg-navy .testimonial-author {
    color: var(--tech-blue);
}

/* Checklist Styling */
.checklist {
    list-style: none;
    padding-left: 0;
}

.checklist-item {
    position: relative;
    padding-left: 30px; /* Space for the checkmark */
    margin-bottom: 15px; /* Spacing between items */
}

.checklist-item::before {
    position: absolute;
    left: 0;
    top: 0px; /* Adjust vertical alignment if needed */
    color: var(--signal-green); /* Use green for the checkmark */
    font-weight: bold;
    font-size: 1.2em; /* Make checkmark slightly larger */
    line-height: 1; /* Ensure consistent line height */
}

/* Adjustments for checklist items that are also deliverable cards */
.deliverables-grid.checklist .checklist-item {
    padding-left: 45px; /* More padding inside the card */
    margin-bottom: 0; /* Remove margin as grid handles spacing */
}

.deliverables-grid.checklist .checklist-item::before {
    left: 15px; /* Position checkmark inside the card padding */
    top: 25px; /* Adjust vertical position within card */
}

/* Ensure h4 inside checklist item has no top margin */
.checklist-item h4 {
    margin-top: 0;
}


.testimonial-author {
    font-style: normal;
    font-weight: 600;
    display: block;
    margin-top: 10px;
    text-align: right;
    color: var(--deep-navy); /* Author color */
}
.section-bg-navy .testimonial-author {
    color: var(--polished-white);
}

.case-study h3 {
    margin-top: 0;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 15px;
    margin-bottom: 25px;
}
.case-study h4 {
    margin-top: 0;
    margin-bottom: 10px;
    color: var(--tech-blue); /* Highlight sub-titles */
}
.case-study ul {
    list-style: none;
    padding-left: 0;
}
.case-study li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 8px;
}
.case-study li::before {
    position: absolute;
    left: 0;
    color: var(--signal-green); /* Use green for success */
    font-weight: bold;
}


hr {
  border: 0;
  border-top: 1px solid var(--border-light); /* Lighter hr */
  margin: 50px 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.8rem; }
  .hero { padding: 60px 0; }
  .section { padding: 50px 0; }

  header .container {
    flex-direction: column;
    align-items: flex-start;
  }
  header nav {
    margin-top: 15px;
    width: 100%;
    display: flex;
    justify-content: space-around; /* Better mobile nav spacing */
  }
   header nav a {
       margin-left: 0;
   }

  footer .container {
      flex-direction: column;
      text-align: center;
  }
   footer nav {
       margin-bottom: 15px;
   }
}

@media (max-width: 480px) {
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    .hero h1 { font-size: 1.8rem; }
    .hero p { font-size: 1rem; }
}

.ai-process-badge {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.ai-process-badge span {
  display: inline-block;
  background: rgba(10, 26, 47, 0.04);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 12px 24px;
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--deep-navy);
  border: 1px solid rgba(59, 130, 246, 0.1);
  box-shadow: 0 2px 10px rgba(59, 130, 246, 0.05);
}

/* AI Tech Detail for step cards */
.ai-tech-detail {
  margin-top: 15px;
  padding: 8px 12px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(10, 26, 47, 0.05) 100%);
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  color: var(--slate-gray);
  font-style: italic;
  position: relative;
}

/* Step icon styling */
.step-icon {
  display: inline-block;
  margin-right: 10px;
  font-size: 1.2rem;
}