/* Ensure contact page form button hover matches global .primary-btn hover */
.contact-form .primary-btn:hover, form .primary-btn:hover {
	background: #1e40af !important;
	color: #fff !important;
	transform: translateY(-1px) !important;
}
/* Ensure contact page form button matches global .primary-btn style */
.contact-form .primary-btn, form .primary-btn {
	background: #2563eb !important;
	color: #fff !important;
	border: none !important;
	font-family: 'Inter', sans-serif !important;
	font-size: 1rem !important;
	font-weight: 600 !important;
	padding: 14px 28px !important;
	border-radius: 8px !important;
	text-decoration: none !important;
	margin-right: 0 !important;
	display: inline-block !important;
	box-shadow: none !important;
}
/* PRICING PAGE FEATURE LISTING */
.pricing-features-list {
	background: #f9fafb;
	border-radius: 10px;
	padding: 32px 24px;
	max-width: 480px;
	margin: 40px auto 0 auto;
	font-size: 1.08rem;
	color: #222;
	box-sizing: border-box;
	list-style: disc inside;
	box-shadow: none;
}
.pricing-features-list li {
	margin-bottom: 14px;
	line-height: 1.7;
	color: #374151;
}
/* Remove border from pricing card only on pricing page */
.pricing-center .pricing-single-card {
			background: transparent !important;
		}
		.pricing-center .pricing-single-card:hover {
			box-shadow: none !important;
			background: transparent !important;
			transform: none !important;
		}
		background: none !important;
		box-shadow: none !important;
	border: none !important;
}
/* Remove card effects and center content for pricing page only */
/* Center single pricing card on pricing page */
.pricing-single-card {
	margin-left: auto;
	margin-right: auto;
	max-width: 400px;
}
/* PARTNER CARD (Spire Integration Partner section) */
.partner-card {
	display: inline-block;
	padding: 32px 28px 28px 28px;
	border: 1px solid #d1d5db;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 4px 24px rgba(31,41,55,0.07), 0 1.5px 4px rgba(31,41,55,0.04);
	text-align: center;
	max-width: 420px;
	margin: 0 auto;
}
body{
	font-family: 'Inter', sans-serif;
	margin:0;
	color:#1f2937;
	background:white;
}

h1,h2,h3{
	margin:0;
}

p{
	color:#6b7280;
	line-height:1.6;
}

/* NAVBAR */

.navbar{
position:sticky;
top:0;
background:white;
border-bottom:1px solid #eee;
z-index:1000;
}

.nav-container{
display:flex;
justify-content:space-between;
align-items:center;
max-width:1200px;
margin:auto;
padding:20px;
}

.logo{
font-weight:700;
font-size:20px;
/* Remove any fixed height or padding that could constrain the logo */
height: auto;
padding: 0;
margin: 0;
display: flex;
align-items: center;
}

nav a{
	margin-left:25px;
	text-decoration:none;
	color:#374151;
	font-weight:500;
	transition: color 0.2s ease;
}

nav a:hover,
nav a.active {
color: #2563eb;
}

.nav-cta{

background:#2563eb;
color:white;
padding:10px 18px;
border-radius:8px;
font-weight:600;
transition: transform 0.2s ease;
}

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


/* HERO */

.hero{
background:linear-gradient(180deg,#f9fafb,#ffffff);
padding:120px 20px;
text-align:center;
}

.hero-content{
max-width:800px;
margin:auto;
}

.hero h1{
font-size:48px;
font-weight:700;
letter-spacing:-1px;
}

.hero p{
margin-top:20px;
font-size:18px;
}

.hero-buttons{
margin-top:30px;
}

.primary-btn{
	background:#2563eb;
	color:white;
	padding:14px 28px;
	border-radius:8px;
	text-decoration:none;
	margin-right:10px;
	display:inline-block;
}

.secondary-btn{
	border:1px solid #d1d5db;
	padding:14px 28px;
	border-radius:8px;
	text-decoration:none;
	color:#374151;
}


/* FEATURES */

.features{
padding:100px 20px;
max-width:1200px;
margin:auto;
text-align:center;
}

.features h2{
font-size:32px;
margin-bottom:45px;
color:#111827;
}

.feature-grid{
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 24px;
	margin-top: 60px;
}

@media (min-width: 900px) {
	.feature-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.feature-card{
	padding: 30px;
	border: 1px solid #d1d5db;
	border-radius: 10px;
	background: white;
	box-shadow: 0 4px 24px rgba(31,41,55,0.07), 0 1.5px 4px rgba(31,41,55,0.04);
	transition: all .2s ease;
	text-align: center;
}

.feature-card ul {
	display: inline-block;
	text-align: left;
	margin-left: auto;
	margin-right: auto;
}

 .feature-card:hover{
	transform: translateY(-5px);
	box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.feature-card.coming-soon {
position:relative;
opacity:0.85;
}

.feature-card.coming-soon::after {
content:"Coming Soon";
position:absolute;
left:-6px;
top:14px;
transform:rotate(-45deg);
background:#f97316;
color:white;
padding:4px 12px;
font-size:12px;
font-weight:700;
box-shadow:0 2px 12px rgba(0,0,0,0.2);
}

.feature-card.coming-soon h3,
.feature-card.coming-soon p,
.feature-card.coming-soon ul {
text-decoration: line-through;
}

.feature-card ul {
text-align: left;
}

.feature-card li {
margin-bottom: 10px;
line-height: 1.5;
}


/* WORKFLOW */

.workflow{
padding:100px 20px;
text-align:center;
background:#f9fafb;
}

.workflow-text{
margin-top:10px;
margin-bottom:40px;
}

.workflow-steps{
display:flex;
justify-content:center;
gap:20px;
flex-wrap:wrap;
}

.workflow-steps span{
background:white;
padding:12px 20px;
border-radius:30px;
border:1px solid #e5e7eb;
}


/* CTA */

.cta-section{
padding:100px 20px;
text-align:center;
background:#111827;
color:white;
}

.cta-section p{
color:#9ca3af;
margin:15px 0 30px;
}


/* FOOTER */

footer{
padding:40px;
text-align:center;
background:#0f172a;
border-top:1px solid #111827;
font-size:14px;
color:#d1d5db;
}

.footer-logo{
margin-top:12px;
max-height:40px;
display:block;
margin-left:auto;
margin-right:auto;
filter: brightness(0) invert(1);
}

.footer-copyright {
color:#d1d5db;
margin-top:12px;
}

.footer-logo {
margin-top:12px;
max-height:40px;
display:block;
margin-left:auto;
margin-right:auto;
filter: brightness(0) invert(1);
transition: transform 0.2s ease;
}

.footer-logo:hover {
transform: translateY(-2px) scale(1.03);
}

.site-logo{
max-height:54px;
width:auto;
display:block;
transition: transform 0.2s ease;
}

.site-logo:hover {
transform: translateY(-2px) scale(1.03);
}

.footer-copyright {
color:#d1d5db;
margin-top:12px;
}

/* PAGE TRANSITIONS */

body {
opacity: 0;
transition: opacity 0.35s ease, transform 0.35s ease;
}

body.fade-in {
opacity: 1;
transform: translateY(0);
}


body {
transform: translateY(10px);
}

body.fade-out {
opacity: 0;
}

/* SCROLL ANIMATIONS */

.reveal {
opacity: 0;
transform: translateY(30px);
transition: all 0.6s ease;
}

.reveal.active {
opacity: 1;
transform: translateY(0);
}

/* WORKFLOW STEP ANIMATION */

.step {
opacity: 0;
transform: translateY(20px);
transition: all 0.5s ease;
}

.step.active {
opacity: 1;
transform: translateY(0);
}

/* Staggered delays */
.step:nth-child(1) { transition-delay: 0.1s; }
.step:nth-child(2) { transition-delay: 0.2s; }
.step:nth-child(3) { transition-delay: 0.3s; }
.step:nth-child(4) { transition-delay: 0.4s; }
.step:nth-child(5) { transition-delay: 0.5s; }

/* STEP ANIMATION */

.step {
opacity: 1;
transform: translateY(0);
}

.workflow.reveal .step {
opacity: 0;
transform: translateY(30px);
transition: all 0.5s ease;
}

.workflow.reveal.active .step {
opacity: 1;
transform: translateY(0);
}

/* Stagger */
.workflow.reveal.active .step:nth-child(1) { transition-delay: 0.1s; }
.workflow.reveal.active .step:nth-child(2) { transition-delay: 0.2s; }
.workflow.reveal.active .step:nth-child(3) { transition-delay: 0.3s; }
.workflow.reveal.active .step:nth-child(4) { transition-delay: 0.4s; }
.workflow.reveal.active .step:nth-child(5) { transition-delay: 0.5s; }

/* WORKFLOW STEP STYLE UPGRADE */

.workflow-steps span {
background: white;
padding: 12px 20px;
border-radius: 30px;
border: 1px solid #e5e7eb;
transition: all 0.2s ease;
display: inline-block;
}

.workflow-steps span:hover {
transform: translateY(-3px);
box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

.workflow-steps {
display: flex;
justify-content: center;
gap: 16px;
flex-wrap: wrap;
margin-top: 30px;
}

/* NAVBAR STRUCTURE */

.navbar {
position: sticky;
top: 0;
width: 100%;
background: white;
z-index: 1000;
border-bottom: 1px solid #eee;
}

.nav-container {
max-width: 1100px;
margin: 0 auto;
padding: 16px 20px;

display: flex;
align-items: center;
justify-content: space-between;
}

/* LOGO */


/* NAV LINKS */
.nav-links {
display: flex;
gap: 28px; /* 👈 FIXES JUMPING */
}

.nav-links a {
text-decoration: none;
color: #111;
font-weight: 500;
transition: color 0.2s ease;
}

.nav-links a:hover {
color: #2563eb;
}

/* CTA BUTTON */
.nav-cta {
background: #2563eb;
color: white;
padding: 10px 18px;
border-radius: 6px;
text-decoration: none;
font-weight: 500;
white-space: nowrap; /* 👈 prevents resizing */
transition: all 0.2s ease;
}

.nav-cta:hover {
background: #1d4ed8;
}

.nav-links a.active {
color: #2563eb;
font-weight: 600;
}

/* ============================================
   RESPONSIVE — TABLET / MOBILE  (≤ 768px)
   ============================================ */

@media (max-width: 768px) {

  /* NAV — logo + CTA on row 1, links wrap to row 2 */
  .nav-container {
    flex-wrap: wrap;
    gap: 10px;
    padding: 14px 20px;
  }

  .logo {
    flex: 1 0 auto;
  }

  .nav-cta {
    order: 2;
    flex-shrink: 0;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    border-top: 1px solid #f3f4f6;
    padding-top: 10px;
  }

  /* HERO */
  .hero {
    padding: 72px 20px 64px;
  }

  .hero h1 {
    font-size: 30px;
    letter-spacing: -0.5px;
    line-height: 1.25;
  }

  .hero p {
    font-size: 16px;
  }

  .hero-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 28px;
  }

  .hero-buttons .primary-btn,
  .hero-buttons .secondary-btn {
    margin-right: 0;
    width: 100%;
    max-width: 300px;
    text-align: center;
    box-sizing: border-box;
  }

  /* SECTIONS PADDING */
  .features {
    padding: 60px 20px;
  }

  .workflow {
    padding: 60px 20px;
  }

  .cta-section {
    padding: 60px 20px;
  }

  /* FEATURE GRID — single column */
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 32px;
  }

  .features h2 {
    font-size: 26px;
    margin-bottom: 20px;
  }

  /* CTA SECTION */
  .cta-section h2 {
    font-size: 26px;
  }

  /* PARTNER CARD */
  .partner-card {
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    padding: 24px 20px;
    display: block;
  }

  .partner {
    margin: 24px 16px !important;
  }

  /* PRICING PRICE */
  .pricing-price {
    font-size: 32px !important;
  }

  .pricing-features-list {
    padding: 24px 16px;
    margin: 24px 0 0 0;
    max-width: 100%;
  }

  /* CONTACT FORM */
  .contact-email-input {
    width: 100% !important;
    box-sizing: border-box !important;
    max-width: 100% !important;
  }

  .hero form {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .hero form .primary-btn {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
  }

  /* FOOTER */
  footer {
    padding: 32px 20px;
  }
}

/* ============================================
   RESPONSIVE — SMALL MOBILE  (≤ 480px)
   ============================================ */

@media (max-width: 480px) {

  .hero h1 {
    font-size: 24px;
  }

  .hero p {
    font-size: 15px;
  }

  .feature-card {
    padding: 22px 18px;
  }

  .workflow-steps {
    gap: 8px;
  }

  .workflow-steps span {
    padding: 10px 14px;
    font-size: 14px;
  }

  .cta-section h2 {
    font-size: 22px;
  }

  .cta-section p {
    font-size: 15px;
  }

  .features h2 {
    font-size: 22px;
  }
}