:root {
  /* Software Blue Palette (More Professional) */
  --soft-blue:        #3b82f6;   /* Main brand color (A calm, professional blue) */
  --deep-slate:       #1e293b;   /* Headings & deep text */
  --button-hover:     #2563eb;   /* Button hover state (slightly darker blue) */
  --page-bg:          #eff6ff;   /* Page background (light blue tint) */
  --section-bg:       #dbeafe;   /* Section background (stronger blue tint) */
  --dark-bg:          #0f172a;   /* Footer background, very dark slate */
  --mid-slate:        #475569;   /* Secondary text */
  --white:            #ffffff;   /* Pure white */
  --white-hover:      #93c5fd;   /* White text hover state */
  --card-shadow:      rgba(59, 130, 246, 0.15); /* Shadow color based on new blue */
  /* Added for Final CTA */
  --cta-bg:           #1e3a8a;   /* Deep Navy for contrast */
  --cta-btn-bg:       #059669;   /* Standout Green for CTA button */
  --cta-btn-hover:    #047857;   /* Darker green for hover */
  --cta-btn-shadow:   rgba(5, 150, 105, 0.4); /* Green shadow for CTA button */
}

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

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.7;
  color: var(--deep-slate);
  background: var(--page-bg);
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* Header */
header {
  background: var(--white);
  box-shadow: 0 4px 25px var(--card-shadow);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.clicknotary-text {
    font-family: "Montserrat", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-weight: 600;
    font-size: 36px;
    letter-spacing: -0.5px;
    text-transform: lowercase;
    white-space: nowrap;
    /* The desktop style uses a negative margin, this is fixed for mobile below */
    margin-left: -150px;
    position: relative;
    left: 0;
}

.clicknotary-text .click {
    color: var(--soft-blue);
}

.clicknotary-text .notary {
    color: var(--deep-slate);
}

nav { display: flex; justify-content: space-between; align-items: center; padding: 1.2rem 0; }
.logo-img { height: 48px; }
.nav-links a {
  color: var(--deep-slate);
  font-weight: 500;
  margin-left: 2rem;
  text-decoration: none;
  transition: color 0.3s;
}

.nav-links a {
  position: relative;
  color: var(--deep-slate);
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--soft-blue);
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--soft-blue);
  transition: width 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links a:hover::after {
  width: 100%;
}

/* Buttons: Shrink on hover, professional blue */
.cta-button {
  background: var(--soft-blue);
  color: white;
  padding: 0.75rem 1.8rem;
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease-out, transform 0.2s ease-out;
}
.cta-button:hover {
  background: var(--button-hover);
  transform: scale(0.98); /* Shrinks slightly */
  box-shadow: 0 4px 15px var(--card-shadow);
}

.menu-toggle {
    /* Hidden on desktop view by default */
    display: none; 
}


/* Hero */
.hero {
  padding: 10rem 0 7rem;
  text-align: center;
  background: linear-gradient(to bottom, var(--section-bg), var(--page-bg));
}
.hero h1 { font-family: 'Playfair Display', serif; font-size: 3.8rem; color: var(--deep-slate); margin-bottom: 1rem; }
.hero p { font-size: 1.3rem; color: var(--mid-slate); max-width: 720px; margin: 0 auto 2.5rem; }
.hero-logo { height: 110px; margin-bottom: 1.5rem; }

/* Added this container class for hero buttons */
.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem; /* Adds space between buttons on desktop */
}

/* Buttons primary/secondary (shrink on hover) */
.btn-primary {
  background: var(--soft-blue);
  color: white;
  padding: 1.1rem 2.4rem;
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease-out, transform 0.2s ease-out;
}
.btn-primary:hover {
  background: var(--button-hover);
  transform: scale(0.98); /* Shrinks slightly */
  box-shadow: 0 6px 20px var(--card-shadow);
}
.btn-secondary {
  background: transparent;
  color: var(--soft-blue);
  border: 2px solid var(--soft-blue);
  transition: all 0.3s ease-out, transform 0.2s ease-out;
}
.btn-secondary:hover {
  background: var(--button-hover);
  color: white;
  border-color: var(--button-hover);
  transform: scale(0.98); /* Shrinks slightly */
}
.large { font-size: 1.3rem; padding: 1.4rem 3.5rem !important; }

/* Sections */
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  text-align: center;
  margin-bottom: 3.5rem;
  color: var(--deep-slate);
}
.features, .how-it-works, .pricing, .compliance { padding: 7rem 0; }
.features { background: var(--white); }
.how-it-works { background: var(--section-bg); }
.pricing { background: var(--page-bg); }
.compliance { background: var(--white); }

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

.subtitle {
    text-align: center;
    width: 100%;
    max-width: 900px;
    margin: 2rem auto;
    padding: 0 1rem;
    font-size: 1.35rem;
    line-height: 1.65;
    font-weight: 500;
    color: var(--mid-slate);
}

.card, .step, .price-card {
  background: var(--white);
  padding: 2.5rem 2rem;
  border-radius: 1rem;
  box-shadow: 0 10px 30px var(--card-shadow);
  text-align: center;
  border: 3px solid transparent;
  transition: all 0.3s ease-out;
}
/* Cards grow slightly on hover */
.card:hover, .step:hover, .price-card:hover {
  transform: scale(1.03); /* Grows slightly on hover */
  box-shadow: 0 20px 40px var(--card-shadow);
  border: 3px solid var(--soft-blue);
}
.price-amount { font-size: 2.8rem; font-weight: 700; color: var(--soft-blue); }

/* === HOW IT WORKS – Numbered Circles === */
.steps {
  counter-reset: step;
  position: relative;
}

.step {
  position: relative;
  counter-increment: step;
}

/* The numbered circle – always visible */
.step::before {
  content: counter(step);
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--soft-blue);
  color: white;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: bold;
  z-index: 10;
  transition: all 0.3s ease;
}

/* On hover → use the button hover color */
.step:hover::before {
  background: var(--button-hover);
  box-shadow: none;
}

/* Final CTA: Darker background, standout green button */

.final-cta {
  background: var(--cta-bg); /* Deep Navy background */
  color: white;
  text-align: center;
  padding: 8rem 0;
}

.final-cta h2 {
  font-family: 'Playfair Display', serif;
  font-size: 3.2rem;
  margin: 0 0 1rem 0;
}

.final-cta p {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  opacity: 0.95;
}

/* Specific styling for the CTA button inside the Final CTA section */
.final-cta .btn-primary.large {
  background: var(--cta-btn-bg); /* Standout Green */
  padding: 1rem 2.5rem;
  font-size: 1.3rem;
  /* *** EDITED: Removed 'transform: none;' to allow shrinking *** */
  box-shadow: none;
}

.final-cta .btn-primary.large:hover {
    background: var(--cta-btn-hover); /* Darker Green hover */
    transform: scale(0.98); /* Keep button shrink effect */
    box-shadow: 0 6px 20px var(--cta-btn-shadow); /* Green shadow */
}


/* Footer */
footer {
  background: var(--dark-bg);
  color: #cbd5e1;
  padding: 4rem 0 2rem;
  text-align: center;
}

.footer-links a {color: var(--white);}

.footer-links a:hover { color: var(--white-hover); }



/* --- Mobile Responsiveness Adjustments (max-width: 768px) --- */
@media (max-width: 768px) {
  /* Adjustments to remove problematic desktop assumptions */
  .hero h1 { font-size: 2.5rem; }
  .hero-logo { height: 75px; }

  /* Fix the logo positioning on mobile */
  .clicknotary-text {
    margin-left: 0;
  }

   /* Show hamburger icon ONLY on mobile */
  .menu-toggle {
    display: block;
    cursor: pointer;
    font-size: 2rem; /* Size of the hamburger icon */
    background: none;
    border: none;
    color: var(--deep-slate);
    z-index: 1001; /* Ensure it's above the menu when open */
    padding: 0;
  }

  nav {
    flex-wrap: nowrap; /* Prevent normal wrapping */
  }

  /* Nav menu positioning and styling for mobile */
  .nav-links {
    position: fixed;
    right: 0;
    top: 0;
    height: 100vh;
    width: 300px;
    background: var(--white);
    box-shadow: -5px 0 15px var(--card-shadow);
    flex-direction: column; /* Stack vertically */
    padding-top: 5rem; 
    transform: translateX(100%); /* Hide it off-screen initially */
    transition: transform 0.4s ease-in-out;
    align-items: flex-start;
  }

  /* Class added by JavaScript when menu is active */
  .nav-links.is-open {
    transform: translateX(0);
  }
  
  /* Ensure links stack vertically with consistent margin */
  .nav-links a {
    display: block; 
    margin: 1rem 1.5rem; 
    width: auto; 
  }


  /* Fix the hero buttons overlap on mobile by stacking them */
  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
  }

  .hero-buttons .btn-primary,
  .hero-buttons .btn-secondary {
    display: block;
    width: 100%;
  }

    .final-cta .btn-primary.large {
    /* Reduce the padding to make the button less wide/tall */
    padding: 0.75rem 1.5rem !important; 
}
/* Added the necessary closing brace for the media query */
