:root {
  --primary-color: #00c2a8;
  --primary-darker: #00a890;
  --secondary-color: #4a4a4a;
  --accent-color: #f7f9fa;
  --text-color: #212529;
  --text-light: #6c757d;
  --border-color: #e9ecef;
  --shadow-color: rgba(0, 0, 0, 0.05);

  --font-family-sans-serif: 'Mulish', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-family-heading: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

body {
  font-family: var(--font-family-sans-serif), sans-serif;
  color: var(--text-color);
  background-color: #fff;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family-heading), sans-serif;
  font-weight: 700;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 50rem;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--primary-darker);
    border-color: var(--primary-darker);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 194, 168, 0.3);
}

.app-badge {
    transition: transform 0.3s ease;
}

.app-badge:hover {
    transform: scale(1.05);
}

/* Hero Section */
.hero-section {
  padding: 7rem 0 3rem;
  background: linear-gradient(135deg, #ffffff 0%, #f0f8f8 100%);
  overflow: hidden;
  position: relative;
}

.hero-section::before, .hero-section::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: rgba(0, 194, 168, 0.05);
  z-index: 0;
}

.hero-section::before {
  width: 300px;
  height: 300px;
  top: -100px;
  right: -100px;
}

.hero-section::after {
  width: 200px;
  height: 200px;
  bottom: -70px;
  left: -70px;
}

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

.hero-tagline {
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary-color);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.hero-tagline::after {
  content: '';
  height: 2px;
  width: 50px;
  background: var(--primary-color);
  margin-left: 15px;
  display: inline-block;
}

.hero-headline {
  font-weight: 800;
  font-size: 2.6rem;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.highlighted-text {
  position: relative;
  display: inline-block;
}

.highlighted-text::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 10px;
  bottom: 5px;
  left: 0;
  background-color: rgba(0, 194, 168, 0.2);
  z-index: -1;
}

.hero-subheadline {
  font-size: 1.3rem;
  margin-bottom: 2.5rem;
  color: #495057;
  max-width: 600px;
  line-height: 1.7;
}

.skill-text {
  color: var(--primary-color);
  font-weight: 700;
  font-size: 2.5rem;
  display: inline-block;
  position: relative;
  min-width: 200px;
  min-height: 60px;
}

.masthead-device-mockup {
  margin-top: 2rem;
  position: relative;
  z-index: 1;
}

.skill-text > .wrap {
  border-right: 0.08em solid var(--primary-color);
  padding-right: 5px;
  animation: blink-caret 0.75s step-end infinite;
}

@keyframes blink-caret {
  from, to { border-color: transparent }
  50% { border-color: var(--primary-color) }
}

/* Reveal Animations */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; will-change: opacity, transform; }
.reveal-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none; }
}

/* Stats */
.stats-bar {
  display: flex;
  gap: 3rem;
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-color);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-light);
}


/* Features Section */
.features-section {
    padding: 6rem 0;
}

.features-section .section-heading {
    color: var(--primary-color);
}

.feature-card {
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 2.5rem;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px var(--shadow-color);
}

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

.feature-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(0, 194, 168, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.features-device-mockup {
    position: relative;
}

/* Results Section */
.results-section {
    padding: 6rem 0;
    background-color: var(--accent-color);
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.benefit-icon {
    flex-shrink: 0;
    color: var(--primary-color);
}

.benefit-title {
    font-size: 1.1rem;
    font-weight: 700;
}

.benefit-text {
    color: var(--text-light);
}

.cta {
    padding: 8rem 0;
    background-size: cover;
    background-position: center;
    position: relative;
}

.cta .cta-content {
    position: relative;
    z-index: 1;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 49, 69, 0.7);
}

.footer {
    background-color: var(--text-color);
}

/* Device screen layout for hero */
.device-screen-hero {
  position: relative;
  left: -45.5%;
  width: 96%;
  height: 100%;
}

.device-screen-hero img {
  max-width: 200%;
  max-height: 100%;
  object-fit: contain;
}

/* Gradient colors for SVG stops */
.gradient-start-color { stop-color: var(--primary-color); }
.gradient-end-color { stop-color: #3a9dc3; }

/* Accessibility focus outlines */
:where(a, button, .btn, [role='button']):focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px rgba(0, 194, 168, 0.3);
}

@media (max-width: 991.98px) {
  .hero-headline {
    font-size: 2rem;
  }

  .hero-section {
    padding: 5rem 0 2rem;
  }
}
