:root {
  --primary: #007aff;
  --dark: #1d1d1f;
  --light: #f5f5f7;
  --text: #424245;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
  line-height: 1.6;
  color: var(--text);
  margin: 0;
  padding: 0;
}

header {
  background: #fff;
  border-bottom: 1px solid #d2d2d7;
  padding: 1rem 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

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

.logo {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--dark);
  text-decoration: none;
}

.hero {
  background: var(--light);
  padding: 4rem 0;
  text-align: center;
}

.hero h1 {
  font-size: 2.5rem;
  color: var(--dark);
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto;
}

.section {
  padding: 3rem 0;
  border-bottom: 1px solid #e5e5e5;
}

h2 {
  color: var(--dark);
  margin-bottom: 1.5rem;
}

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

.card {
  background: #fff;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

footer {
  background: var(--dark);
  color: #86868b;
  padding: 2rem 0;
  font-size: 0.8rem;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
  .legal-details {
    text-align: right;
  }
}

.legal-info p {
  margin: 0.25rem 0;
}

.app-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--text);
  text-decoration: none;
  max-width: 280px;
}

.app-card:hover {
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.app-card h3 {
  margin: 0;
}

.app-card p {
  margin: 0;
}

.app-icon {
  width: 64px;
  height: 64px;
  border-radius: 14px;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ─── Easy Cals page styles ─────────────────────────────────────────────────── */

:root {
  --ec-brand-dark: #2a1f2d;
  --ec-brand-green: #56e39f;
}

.ec-header-download img {
  height: 32px;
  display: block;
}

/* Hero */
.ec-hero {
  background: var(--light);
  padding: 5rem 0 4rem;
  overflow: hidden;
}

.ec-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.ec-hero-content {
  text-align: left;
}

.ec-hero-icon {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  margin-bottom: 1.25rem;
  display: block;
}

.ec-hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 1rem 0;
  letter-spacing: -0.02em;
}

.ec-hero-tagline {
  font-size: 1.2rem;
  line-height: 1.55;
  color: var(--text);
  margin: 0 0 2rem 0;
  max-width: 420px;
}

.ec-cta-button {
  display: inline-block;
  background: #fff;
  border-radius: 14px;
  padding: 4px;
}

.ec-cta-button img {
  height: 60px;
  display: block;
}

/* Hero screenshot */
.ec-hero-phone {
  display: flex;
  justify-content: center;
}

.ec-hero-screenshot {
  width: 280px;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  display: block;
}

/* Sections */
.ec-section {
  padding: 5rem 0;
  border-top: 1px solid #e5e5e5;
}

.ec-section-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 0.5rem 0;
  text-align: center;
  letter-spacing: -0.01em;
}

.ec-section-subtitle {
  font-size: 1.1rem;
  color: var(--text);
  text-align: center;
  margin: 0 0 3rem 0;
}

/* Feature sections */
.ec-feature-section {
  padding: 5rem 0;
  background: #fff;
}

.ec-feature-section--alt {
  background: var(--light);
}

.ec-feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.ec-feature-row--reverse .ec-feature-row-visual {
  order: -1;
}

.ec-feature-row-title {
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 1rem 0;
  letter-spacing: -0.01em;
}

.ec-feature-row-desc {
  font-size: 1.1rem;
  color: var(--text);
  line-height: 1.65;
  margin: 0;
}

.ec-feature-row-visual {
  display: flex;
  justify-content: center;
}


/* Feature cards grid */
.ec-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.ec-feature-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
}

.ec-feature-icon-wrap {
  height: 360px;
  overflow: hidden;
  background: var(--ec-brand-dark);
}

.ec-feature-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.ec-feature-card h3 {
  margin: 1rem 1.25rem 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
}

.ec-feature-card p {
  margin: 0 1.25rem 1.25rem;
  font-size: 0.875rem;
  color: var(--text);
  line-height: 1.5;
}

/* Tracking image */
.ec-tracking-img {
  width: 100%;
  max-width: 400px;
  border-radius: 24px;
  display: block;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}

/* Tracking section */
.ec-tracking-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
  align-items: center;
}

.ec-tracking-content .ec-section-title,
.ec-tracking-content .ec-section-subtitle {
  text-align: left;
}

.ec-tracking-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ec-tracking-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid #e5e5e5;
  font-size: 1rem;
  line-height: 1.5;
}

.ec-tracking-list li:last-child {
  border-bottom: none;
}

.ec-tracking-visual {
  display: flex;
  justify-content: center;
}

/* Value prop section */
.ec-why {
  background: var(--ec-brand-dark);
  border-top: none;
}

.ec-why .ec-section-title {
  color: #fff;
}

.ec-why .ec-section-subtitle {
  color: rgba(255, 255, 255, 0.65);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.ec-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
  margin-top: 1rem;
}

.ec-why-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(86, 227, 159, 0.12);
  margin: 0 auto 1rem;
}

.ec-why-stat {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--ec-brand-green);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.ec-why-item p {
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
}

/* Download CTA */
.ec-download {
  text-align: center;
  border-top: none;
}

.ec-download-icon {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  margin-bottom: 1.5rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.ec-contact {
  margin-top: 1.5rem;
  font-size: 0.95rem;
  color: var(--text);
}

.ec-legal-links {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-muted, #888);
}

.ec-legal-links a {
  color: inherit;
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 900px) {
  .ec-feature-row {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }

  .ec-feature-row--reverse .ec-feature-row-visual {
    order: 0;
  }
}

@media (max-width: 900px) {
  .ec-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .ec-hero {
    padding: 3rem 0;
  }

  .ec-hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .ec-hero-content {
    text-align: center;
    order: 1;
  }

  .ec-hero-icon {
    margin-left: auto;
    margin-right: auto;
  }

  .ec-hero h1 {
    font-size: 2.5rem;
  }

  .ec-hero-tagline {
    margin-left: auto;
    margin-right: auto;
  }

  .ec-hero-phone {
    order: 2;
  }

  .ec-tracking-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .ec-tracking-content .ec-section-title,
  .ec-tracking-content .ec-section-subtitle {
    text-align: center;
  }

  .ec-tracking-img {
    margin: 0 auto;
  }

  .ec-why-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 500px) {
  .ec-features-grid {
    grid-template-columns: 1fr;
  }

  .ec-hero-screenshot {
    width: 220px;
  }
}