:root {
  --bg-color: #fcfcfc;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --accent-color: #0f172a;
  --accent-hover: #334155;
  --surface-color: #ffffff;
  --border-color: #e2e8f0;
  --font-main: 'Plus Jakarta Sans', sans-serif;
}

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

body {
  font-family: var(--font-main);
  color: var(--text-main);
  background-color: var(--bg-color);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

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

a:hover {
  color: var(--text-muted);
}

h1, h2, h3, h4 {
  line-height: 1.2;
  font-weight: 700;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

/* Header & Nav */
.ascend-nav-wrap {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 5%;
  border-bottom: 1px solid var(--border-color);
}

.ascend-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.25rem;
}

.logo-mark {
  background: var(--accent-color);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.ascend-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.ascend-links a {
  font-weight: 600;
  font-size: 0.95rem;
}

.ascend-btn-nav {
  background: var(--accent-color);
  color: #fff !important;
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
}

.ascend-btn-nav:hover {
  background: var(--accent-hover);
  color: #fff !important;
}

/* Buttons */
.ascend-btn-primary, .ascend-btn-secondary {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  font-size: 1rem;
}

.ascend-btn-primary {
  background: var(--accent-color);
  color: #fff !important;
}

.ascend-btn-primary:hover {
  background: var(--accent-hover);
}

.ascend-btn-secondary {
  background: transparent;
  color: var(--accent-color);
  border: 1px solid var(--accent-color);
}

.ascend-btn-secondary:hover {
  background: var(--accent-color);
  color: #fff !important;
}

/* Hero Section */
.metric-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  padding: 6rem 8%;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  background: #f1f5f9;
  color: var(--text-muted);
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
}

.hero-headline {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

.hero-subhead {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 90%;
}

.hero-actions {
  display: flex;
  gap: 1rem;
}

.hero-image-offset {
  position: relative;
  transform: translateY(30px);
}

.hero-image-offset img {
  border-radius: 8px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.floating-stat {
  position: absolute;
  bottom: -20px;
  left: -30px;
  background: var(--surface-color);
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  border-left: 4px solid var(--accent-color);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-color);
  line-height: 1;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 0.5rem;
}

/* About Section */
.about-saas-block {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 5rem;
  padding: 5rem 8%;
  background: var(--surface-color);
  align-items: center;
  margin-top: 4rem;
}

.about-image-wrap img {
  border-radius: 8px;
  filter: grayscale(20%);
}

.about-text-wrap p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  color: var(--text-muted);
}

.about-text-wrap a {
  text-decoration: underline;
}

.service-regions {
  margin-top: 2rem;
  padding: 1rem;
  background: #f8fafc;
  border-radius: 4px;
  font-size: 0.95rem;
}

/* Services Section */
.deep-services-area {
  padding: 7rem 8%;
  background: var(--bg-color);
}

.services-header {
  max-width: 600px;
  margin-bottom: 4rem;
}

.services-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.services-asymmetric-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2rem;
}

.saas-service-card {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.saas-service-card:hover {
  transform: translateY(-5px);
}

.saas-service-card img {
  height: 250px;
}

.card-content {
  padding: 2rem;
}

.card-content h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.card-content p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.service-benefits {
  list-style: none;
}

.service-benefits li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.service-benefits li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent-color);
}

.card-large {
  grid-column: span 12;
  display: flex;
}

.card-large img {
  width: 50%;
  height: auto;
}

.card-large .card-content {
  width: 50%;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card-medium {
  grid-column: span 7;
}

.card-small {
  grid-column: span 5;
}

/* Testimonials */
.feedback-masonry {
  padding: 6rem 8%;
  background: var(--surface-color);
}

.feedback-header {
  text-align: center;
  margin-bottom: 4rem;
}

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

.testimonial-card {
  background: var(--bg-color);
  padding: 2.5rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-card:nth-child(even) {
  transform: translateY(20px);
}

.quote {
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 2rem;
  color: var(--text-main);
}

.client-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.client-info img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
}

.client-info div {
  display: flex;
  flex-direction: column;
}

.client-info span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Contact Form */
.contact-form-wrapper {
  padding: 7rem 8%;
  background: var(--accent-color);
  color: #fff;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-text p {
  color: #cbd5e1;
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.micro-details {
  background: rgba(255,255,255,0.05);
  padding: 1.5rem;
  border-radius: 4px;
  border-left: 3px solid #fff;
}

.ascend-form .form-group {
  margin-bottom: 1.5rem;
}

.ascend-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.ascend-form input, .ascend-form textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.05);
  border-radius: 4px;
  color: #fff;
  font-family: inherit;
}

.ascend-form input:focus, .ascend-form textarea:focus {
  outline: none;
  border-color: #fff;
}

.form-submit {
  background: #fff;
  color: var(--accent-color) !important;
  width: 100%;
}

.form-submit:hover {
  background: #f1f5f9;
}

/* Footer */
.ascend-footer {
  background: var(--surface-color);
  padding: 4rem 8% 2rem;
  border-top: 1px solid var(--border-color);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  margin-top: 1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.footer-links h4 {
  margin-bottom: 1rem;
  font-size: 1rem;
}

.footer-links a {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.tiny-disclaimer {
  font-size: 0.75rem;
  color: #94a3b8;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .card-large {
    flex-direction: column;
  }
  .card-large img, .card-large .card-content {
    width: 100%;
  }
  .metric-hero-grid {
    gap: 2rem;
  }
  .hero-headline {
    font-size: 2.8rem;
  }
}

@media (max-width: 768px) {
  .ascend-links {
    display: none;
  }
  .metric-hero-grid, .about-saas-block, .contact-inner {
    grid-template-columns: 1fr;
  }
  .hero-image-offset {
    transform: none;
    margin-top: 2rem;
  }
  .floating-stat {
    left: 10px;
    bottom: 10px;
  }
  .card-medium, .card-small {
    grid-column: span 12;
  }
  .testimonial-card:nth-child(even) {
    transform: none;
  }
  .about-saas-block {
    padding: 4rem 5%;
  }
  .deep-services-area, .feedback-masonry, .contact-form-wrapper {
    padding: 4rem 5%;
  }
}